WordPress.org

Ready to get started?Download WordPress

Forums

Automatic Post Tagger
What about remove specific tags? (7 posts)

  1. 3x7
    Member
    Posted 1 year ago #

    Is there any way to remove specific tags from posts?

    I have certain tags that I remove manually all the time, and it's really time consuming... I also have to remove all numerical tags...

    so having this option would be very helpful for many of us... let's say if user puts "-tagName" means to remove that tag... or an option "remove tags from this list" with option "remove all numerical"

    cheers!

    http://wordpress.org/extend/plugins/automatic-post-tagger/

  2. Devtard
    Member
    Plugin Author

    Posted 1 year ago #

    I am not sure if I understand what exactly do you mean. Do you want to remove existing tags? Why not just use the option "Replace old tags with newly generated tags"?

  3. 3x7
    Member
    Posted 1 year ago #

    Well I need most of the tags that are created before... Some sources create good tags, but I still need to remove generated from other sources...

    I can try to achieve this on my own if you are willing to help me out?

    but still.. it would be a good option...

    Cheers!

  4. Devtard
    Member
    Plugin Author

    Posted 1 year ago #

    I don't want to implement any extra functions that are not directly related to Automatic Post Tagger, sorry. Although this would be a nice feature for my other (still imaginary) plugin which will work with taxonomies in general.

    Why don't you "physically" delete the unwanted tags? You don't have to remove them manually from each post, you can delete them from this page: /wp-admin/edit-tags.php. These tags won't appear in any of your posts anymore if you do this.

  5. 3x7
    Member
    Posted 1 year ago #

    I import posts, and I get "unwanted" tag over and over again... specially numerical ones(prices)...

    I'll see if I can dig it out somewhere... so far no luck...

    Thanks.

  6. Devtard
    Member
    Plugin Author

    Posted 1 year ago #

    Well, if the tag has a specific format I guess that it could removed after importing a post by using a regular expression. There might be a WP hook that would trigger the tag-removing function or a cron could be used if posts are not being imported via the WP import tool.

    If you are not afraid of PHP and you also want to learn something about plugin creation, I encourage you to visit these pages:

    http://codex.wordpress.org/Writing_a_Plugin
    http://codex.wordpress.org/Plugin_API/Action_Reference/save_post (or http://codex.wordpress.org/Category:WP-Cron_Functions)
    http://www.php.net/manual/en/function.preg-match.php

  7. 3x7
    Member
    Posted 1 year ago #

    Thanks again and again... right now I'm in the middle of hacking your plugin to do categories :))

    Will check the links you provided definitely!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic