Gregs Plugins: Because One Size Does Not Fit All

Plugins for WordPress

Greg Mulhauser

Comments on “Two WordPress Plugins Updated for 2.9″, Page 2

You are currently browsing page 2 of comments on the article Two WordPress Plugins Updated for 2.9.

You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Updates for Comment Numbering Plugin and SEO Plugin for WordPress 2.9”.

32 Responses (11 Discussion Threads) to “Two WordPress Plugins Updated for 2.9”

  1. 11

    Hi Greg,

    Tnx for the quick reply! I am probably not seeing the obvious :-) When I look at “main titles” configuration screen I can’t find it. What field should i be looking at?

    My blog title is fixed at “Nature and Travel Images | NiO Photography” and the plugin is configured to only add for instance %post_title% in front of it. It however comes out as “Posttitle – Nature and Travel Images | NiO Photography”

    Thanks,
    Johan

    • 11.1

      @Johan,

      If you have a peek at the instructions page on main titles, it explains how to implement the template tag for delivering the main title functionality; from what you’ve described, it sounds like this part hasn’t been done yet, and so no matter what you set in the plugin’s configuration pages, you won’t see any difference on your blog. Alternatively, as a quick test, you could enable ‘Sledgehammer Mode’, which will brute force the plugin’s title choices into your title tags, but this isn’t nearly as good as going the template tag route.

      All the best,
      Greg

  2. 12

    Hi Greg,

    … should have read the manual first :-)

    It all works now. Thanks. Great plugin!

    Cheers,
    Johan

  3. avatar image
    Cher
    13

    Okay so I just switched to WordPress last weekend and I think your plugin sounds great, especially since I host a lot of giveaways and need to see comment numbers to easily pick a winner!

    I am clueless with code, please help me! I already have something in the wp_list_comments line so I am not sure where to put your code. Here is part of my code. I would really appreciate your help, I have probably spent at least 8 hours googling and trying different code.

    • 13.1

      @Cher — I’m afraid I’m not in a position to offer free personal consulting on how best to modify specific individual themes. However, I have included basic instructions and a link to the full WordPress documentation on wp_list_comments within the plugin itself.

      All the best,
      Greg

  4. 14

    I love this plugin and I have used it on a previous theme. I can add it to my current theme and it works but it really messes up my comments css. I’ve tried the advanced usage that you suggested, but I’m afraid that is too advanced for me.

    If someone can “dumb down” the advanced usage part to work with an Artisteer created theme, I’d be very grateful!

    • 14.1

      Hi Janine,

      I’m glad to hear the plugin works well for you, but that’s a shame about the theme not supporting easy modification of the callback function. In most cases, adding the comment number (I assume you’re talking about the comment numbering plugin!) is a matter of just dropping a single line of code into the right place. It’s virtually impossible to describe succinctly all the myriad ways you might go about finding that ‘right place’, but for a PHP programmer or WordPress code hacker — or even someone moderately experienced with modifying WordPress themes — it shouldn’t be too tough a nut to crack (especially with the info included in the plugin’s instructions). If you can get hold of someone who is able to take a look at your theme files, you should be good to go.

      It’s a shame that WordPress’s relatively new comment features (those introduced with 2.7) were designed to be so impenetrable for the casual user and so difficult to modify even for programmers! In earlier versions, inserting comment numbers could be done by theme creators with just a couple of lines of code. Now it takes a whole plugin and some fairly sophisticated logic chugging away in the background just to keep it all straight.

      I’ve done my best to make it accessible again, by wrapping up all the programming logic inside the plugin itself, but unfortunately they’ve still made it impossible to get numbering into the theme itself without some manual intervention.

      All the best,
      Greg

    • 14.2

      Thanks for your reply. So basically you are saying that I just have to figure out where to put this?

      [code bits got mangled]

      Is it that simple?

    • 14.3

      Yes, if you already have a callback function (which I’m guessing you do, since 2.7 and above requires one in order to use all the new comment functionality), it’s just a matter of dropping the template tag into place within the callback function:

      gtcn_comment_numbering($comment->comment_ID, $args)

      Preferably, as mentioned in the instructions, that would be wrapped in a conditional to test whether the function exists before employing the template tag.

      All the best,
      Greg

  5. 15

    Ohhh it finally clicked! I understand now and was able to get it to work! Thanks so much for helping me out, and for the great plugin! =)

    • 15.1

      Excellent, glad to hear it — and you’re very welcome!

  6. 16

    I have one more question (sorry!) Is there anyway to NOT number pingbacks and trackbacks? I just want them to show, but only want the actual comments numbered. Thanks again! :)

    • 16.1

      The WP comment loop became very complex when all the new functionality was introduced in 2.7, and because of that underlying complexity, it is very difficult to commingle comments and pingbacks/trackbacks while still maintaining correct numbering for only the comments. So the ‘yes’ answer must be qualified: it requires separating the display of pingbacks/trackbacks from the display of comments. Then you include a comment number when displaying the comment list, but no number when displaying the pingback/trackback list.

      Details (including an example comment loop that shows only the comments) are available here:

      http://codex.wordpress.org/Template_Tags/wp_list_comments

      All the best,
      Greg

  7. 17

    Thanks, I’ll look more into that. I appreciate all the help!

  8. avatar image
    Mark
    18

    Hello Greg,

    I’m using WordPress 2.9.2. and the comment limiter isn’t counting down like yours here. Is it not compatible with WordPress 2.9.2. ? Did I do something wrong? THX!

    • 18.1

      Hi Mark,

      If you take a look at the plugin’s options tab entitled “Instructions”, you’ll see that you have not yet completed either of the first two steps in the numbered list.

      All the best,
      Greg

  9. avatar image
    boef
    19

    Ohai Greg
    love your plugin ,
    Got a request : Could you add a NOARCHIVE to the metahead ?
    as most pages of mine will disappear over time this could help some seo performance

    cu

    • 19.1

      Hi boef,

      No plans to add it, but if it’s something you’re after throughout, it’s easy to add it directly to your theme… (I’m not convinced it would have an impact at all on performance, but to each their own!)

      All the best,
      Greg

Page 2 of 2«12

The comment form is currently closed.