Wordpress Help Wanted...

by mezloh
7 replies
  • WEB DESIGN
  • |
I have been searching for the correct way to limit the amount of tags that shows up at the end of each blog post meta.

If someone could take a look at this code and tell me where to add the code to limit the amount of tags that show up.

Code:
<?php if(function_exists('the_tags')) {$my_tags = get_the_tags();if ( $my_tags != "" ){ the_tags('Tags: ', ', ', '<br />'); } else {echo "Tags: None";} }?>
Exp: 10 for each post



I added Mark Dulisse's plugin SEOPower and it adds a sh*tload of tags to your posts. I left my blog for a month while working on other projects and now my blog is a mess full of tags.

He really should add a limitation in the plugin setting but he is only after dollar signs and not customer service. He ignored all of my emails about this problem.
#wanted #wordpress
  • Profile picture of the author Istvan Horvath
    Usually, if I am unhappy with a plugin... I just delete it.
    Signature

    {{ DiscussionBoard.errors[3688348].message }}
    • Profile picture of the author mezloh
      Originally Posted by Istvan Horvath View Post

      Usually, if I am unhappy with a plugin... I just delete it.
      Istvan,

      If you have anything helpful to add be my guest instead of leaving a smart*ss remark. You personally added nothing to this thread.

      It does not matter if the plugin is deleted, the tags are still in the database and they still show on the blog. The plugin does not delete that stored tags from the databse if you deactivate it or delete it.

      Chew on that for a minute and see if you can come up with something helpful. If not, don't comment.
      {{ DiscussionBoard.errors[3688374].message }}
      • Profile picture of the author Julie McElroy
        Originally Posted by mezloh View Post

        Istvan,

        If you have anything helpful to add be my guest instead of leaving a smart*ss remark. You personally added nothing to this thread.

        It does not matter if the plugin is deleted, the tags are still in the database and they still show on the blog. The plugin does not delete that stored tags from the databse if you deactivate it or delete it.

        Chew on that for a minute and see if you can come up with something helpful. If not, don't comment.
        Wow! i am not sure that comment is necessary, but I would agree with him. Maybe he was not aware that would happen after you delete the plugin.

        Can you delete the tags from the posts manually? I don't think the tags will hurt your posts. Since I am not familiar with this plugin, I don't know exactly what you are referring to.

        Sorry this may or may not be helpful, but I would not stress too much over the tags and move forward.
        Signature
        Tired of paying for low-quality writing? If you care about your reputation, get Professional Writing Services for your business needs.

        If you can not afford to pay for unique content, why not get limited PLR articles for your website?
        {{ DiscussionBoard.errors[3688415].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by mezloh View Post

        If you have anything helpful to add be my guest instead of leaving a smart*ss remark. You personally added nothing to this thread.
        I add that kind of remarks only for people that are not able to ask a proper question; i.e. not giving all the details until they get a "smart*ss remark".
        It always works :p

        Originally Posted by mezloh View Post

        It does not matter if the plugin is deleted, the tags are still in the database and they still show on the blog. The plugin does not delete that stored tags from the databse if you deactivate it or delete it.
        Another reason not use that plugin: if a plugin creates its own entries in the database and during the uninstall it doesn't remove them - it is a crappy plugin. If you paid for it... even worse!

        In that case the only possible solution is to NOT use the code you posted above.

        What happens if you use the "normal" template tag for displaying the tags?
        Function Reference/the tags « WordPress Codex
        Does it still display the crazy tags created by the plugin?

        Originally Posted by mezloh View Post

        If not, don't comment.
        You can't really tell people when they are allowed to comment...

        Finally, if the above described solution to use the original, simple WP code still won't work... you can try replacing your code with one of the solutions given in this WP Forum post:
        WordPress › Support » How to limit tags returned by the_tags

        BTW: that's were you should have asked your question. It is a WP-specific issue and it doesn't belong to the Web Design forum.
        It is a clear cut WP technical issue - ask it in the specialized forum.
        Signature

        {{ DiscussionBoard.errors[3688486].message }}
        • Profile picture of the author mezloh
          I only want the proper code to add to the code in my original post.

          The link you added to your response doesn't help me. i have already been through the wordpress forums.

          I need to know the code to limit the number of tags that show up in the post meta ONLY.

          I am not concerned with the tags only how to limit them in the post meta.

          I am pretty sure my original post pretty much said what I just repeated here.

          It had nothing to do with the plugin at all other than it automatically adds tags plain and simple.

          Now if someone can show me the right parameters to add the the php code I pasted above we will be getting back on the original topic.
          {{ DiscussionBoard.errors[3688760].message }}
          • Profile picture of the author Jill Carpenter
            Well, I don't think Istvan was snarky, and had your simple solution.

            You will wind up wasting a ton more time trying to fix the broken thing IMO.

            I would have deleted as well.

            You need to talk/email/contact the actual plugin creator for this or find a better plugin.

            JMO.
            Signature

            "May I have ten thousand marbles, please?"

            {{ DiscussionBoard.errors[3692589].message }}
  • Profile picture of the author mezloh
    Thank you for taking this thread in the opposite direction that was intended. No where was I looking for any opinion about a plugin. Not once did I ask "what should I do with this plugin?"

    I could give 2 sh*ts about the plugin, it doesn't concern me. That is not what this thread is about.

    But I am obviously not going to get any constructive help from anyone with wordpress knowledge so I guess we can consider this thread closed.
    {{ DiscussionBoard.errors[3693507].message }}

Trending Topics