How to delete tags in Craft CMS 3
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I want to delete some of the tags that are entered in the system.
Since there is no way to do that in Control Panel, and there is not a valid plugin that can do this (know that from my previous question).
The only way to delete tags is in the database. So I found this comment. I think this is for CraftCMS 2, but is it still the same and for CraftCMS 3?
craft3 plugins tags
add a comment |Â
up vote
3
down vote
favorite
I want to delete some of the tags that are entered in the system.
Since there is no way to do that in Control Panel, and there is not a valid plugin that can do this (know that from my previous question).
The only way to delete tags is in the database. So I found this comment. I think this is for CraftCMS 2, but is it still the same and for CraftCMS 3?
craft3 plugins tags
Just as a comment, I find that using categories instead of tags gives you much more control, especially if this is a site you are opening up to an end client.
â Jamie Wade
Aug 29 at 7:57
I use categories in one project before. But since there is not need for grouping filters in this one, I decide to use tags. I was not aware that there is`t tag management system build in CraftCMS since I need it.
â Ivaylo Petrov
Aug 29 at 9:13
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I want to delete some of the tags that are entered in the system.
Since there is no way to do that in Control Panel, and there is not a valid plugin that can do this (know that from my previous question).
The only way to delete tags is in the database. So I found this comment. I think this is for CraftCMS 2, but is it still the same and for CraftCMS 3?
craft3 plugins tags
I want to delete some of the tags that are entered in the system.
Since there is no way to do that in Control Panel, and there is not a valid plugin that can do this (know that from my previous question).
The only way to delete tags is in the database. So I found this comment. I think this is for CraftCMS 2, but is it still the same and for CraftCMS 3?
craft3 plugins tags
edited Aug 29 at 9:05
Jay
409120
409120
asked Aug 29 at 7:08
Ivaylo Petrov
446
446
Just as a comment, I find that using categories instead of tags gives you much more control, especially if this is a site you are opening up to an end client.
â Jamie Wade
Aug 29 at 7:57
I use categories in one project before. But since there is not need for grouping filters in this one, I decide to use tags. I was not aware that there is`t tag management system build in CraftCMS since I need it.
â Ivaylo Petrov
Aug 29 at 9:13
add a comment |Â
Just as a comment, I find that using categories instead of tags gives you much more control, especially if this is a site you are opening up to an end client.
â Jamie Wade
Aug 29 at 7:57
I use categories in one project before. But since there is not need for grouping filters in this one, I decide to use tags. I was not aware that there is`t tag management system build in CraftCMS since I need it.
â Ivaylo Petrov
Aug 29 at 9:13
Just as a comment, I find that using categories instead of tags gives you much more control, especially if this is a site you are opening up to an end client.
â Jamie Wade
Aug 29 at 7:57
Just as a comment, I find that using categories instead of tags gives you much more control, especially if this is a site you are opening up to an end client.
â Jamie Wade
Aug 29 at 7:57
I use categories in one project before. But since there is not need for grouping filters in this one, I decide to use tags. I was not aware that there is`t tag management system build in CraftCMS since I need it.
â Ivaylo Petrov
Aug 29 at 9:13
I use categories in one project before. But since there is not need for grouping filters in this one, I decide to use tags. I was not aware that there is`t tag management system build in CraftCMS since I need it.
â Ivaylo Petrov
Aug 29 at 9:13
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
I do believe this plugin can help?
https://github.com/ethercreative/tags
add a comment |Â
up vote
1
down vote
Yes the same still applies. You can either delete it via DB directly in your %elements
column or you can just run
PHP
Craft::$app->getElements()->deleteElementById(x)
Twig
% do craft.app.getElements().deleteElementById(x) %
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
I do believe this plugin can help?
https://github.com/ethercreative/tags
add a comment |Â
up vote
4
down vote
accepted
I do believe this plugin can help?
https://github.com/ethercreative/tags
add a comment |Â
up vote
4
down vote
accepted
up vote
4
down vote
accepted
I do believe this plugin can help?
https://github.com/ethercreative/tags
I do believe this plugin can help?
https://github.com/ethercreative/tags
answered Aug 29 at 8:30
Jay
409120
409120
add a comment |Â
add a comment |Â
up vote
1
down vote
Yes the same still applies. You can either delete it via DB directly in your %elements
column or you can just run
PHP
Craft::$app->getElements()->deleteElementById(x)
Twig
% do craft.app.getElements().deleteElementById(x) %
add a comment |Â
up vote
1
down vote
Yes the same still applies. You can either delete it via DB directly in your %elements
column or you can just run
PHP
Craft::$app->getElements()->deleteElementById(x)
Twig
% do craft.app.getElements().deleteElementById(x) %
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Yes the same still applies. You can either delete it via DB directly in your %elements
column or you can just run
PHP
Craft::$app->getElements()->deleteElementById(x)
Twig
% do craft.app.getElements().deleteElementById(x) %
Yes the same still applies. You can either delete it via DB directly in your %elements
column or you can just run
PHP
Craft::$app->getElements()->deleteElementById(x)
Twig
% do craft.app.getElements().deleteElementById(x) %
answered Aug 29 at 7:24
Robin Schambach
13.3k1427
13.3k1427
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcraftcms.stackexchange.com%2fquestions%2f27518%2fhow-to-delete-tags-in-craft-cms-3%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Just as a comment, I find that using categories instead of tags gives you much more control, especially if this is a site you are opening up to an end client.
â Jamie Wade
Aug 29 at 7:57
I use categories in one project before. But since there is not need for grouping filters in this one, I decide to use tags. I was not aware that there is`t tag management system build in CraftCMS since I need it.
â Ivaylo Petrov
Aug 29 at 9:13