Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter felthos

    (@felthos)

    Well I couldn’t leave well enough alone, and decided to go digging through the code to see if I could find an easy answer, and I got lucky and hit what at least works on my first try.

    Look for the line in the getAllReminders() function:
    $reminders = get_posts(array( 'numberposts' => 0, 'post_type' => $this->postType, 'orderby' => 'menu_order', 'order' => 'ASC'));

    and change it to:
    $reminders = get_posts(array( 'numberposts' => 20, 'post_type' => $this->postType, 'orderby' => 'menu_order', 'order' => 'ASC'));

    So all you’re doing is changing the 0 to 20. I don’t understand why it’s 0 and not 10, but hey 20 is my new limit and that seems to work just fine.

    YMMV. Good luck!

    Forum: Plugins
    In reply to: A2A_LINKURL link problems

    Update:

    My rewrite rule for the general case works, but only when the “A2A_LINKURL” shows up 1 level deep. For example:
    /foo/A2A_LINKURL

    However, it doesn’t work if it’s more than 1 level deep. Ex:
    /foo/bar/A2A_LINKURL or /foo/bar/blah/A2A_LINKURL, etc.

    So far this rewrite rule seem to fix that:
    rewrite ^/(.*)/A2A_LINKURL /$1 permanent;

    Cheers!

    Forum: Plugins
    In reply to: A2A_LINKURL link problems

    I couldn’t find any solutions to the root problem myself and just resorted to sticking a couple of redirects into my web config.

    for nginx:

    rewrite ^/A2A_LINKURL / permanent;
    rewrite ^/([^/]+)/A2A_LINKURL /$1 permanent;

    for Apache (don’t quote me on these!):

    RewriteRule ^/A2A_LINKURL / [R=301,L];
    RewriteRule ^/([^/]+)/A2A_LINKURL /$1 [R=301,L];

    You may or may not need the “L” last rule.

    BTW, has anyone tried re-adding the plugin to see if that might clear things up?

    HTH!

    I had the same problem. It wasn’t a conflict with the Bad Behavior plugin b/c I don’t have (and never had) that installed.

    It was because the ‘robotsmeta’ column was missing from the wp_posts table in the WordPress database.

    Fix:

    1. Go into PHPMyAdmin where your WordPress database is set up
    2. Click on the wp_posts table, then Structure (at the top)
    3. Right after where it lists all the fields, you’ll see a “Add [1] fields” line. Click Go at the end of that.
    4. Enter “robotsmeta” for the field, I guessed and picked a data type of “VARCHAR” and length of “100”. I set my Collation to “latin1_general_ci” but yours may be different.
    5. Save
    6. Test by doing a ‘tail -f’ on your Web server’s error log and then updating one of your WordPress posts (or creating a new one).
    7. Also a good idea to try changing the Robots Meta value in your post and then browsing the database (wp_posts table) to check that the new value is in there.

    Good luck!

    PS> I tried deactivating and re-activating the plugin first per Joost’s advice (https://yoast.com/wordpress-noindex-specific-posts-and-pages/) but that didn’t work. Joost – perhaps you may want to see why the plugin does not create that additional column on activation.
    Cheers!

    Hi Steve – by chance, I spotted your post when I logged into the forums.

    After spending a fair amount of time with FWP, I decided to give up on it. It is certainly powerful, but with power comes complexity and a higher chance of issues. And I had way too many issues. I also found it had too many ‘buttons’ and I couldn’t remember how to use it as I only used it rarely.

    I ended up switching to WP-o-Matic. I used Yahoo Pipes to modify my feeds before pulling them in with WPoM.

    It seems that for what you want to do, there are probably other plugins that may be better suited. Lorelle had a nice round-up of RSS/feed plugins.

    HTH.

    Thread Starter felthos

    (@felthos)

    Ok, never mind. It was a plugin that was screwing it up. Disabled the plugin – the problem went away. Not worries for most folks – it was a premium plugin. Oh, the irony.

    Thanks for the quick response @apljdi.

    Thread Starter felthos

    (@felthos)

    Here are some additional data points:

    I started over and re-ran the upgrade, this time up to 2.8. Same thing occurs, but this time the randomness is pretty apparent, as it’s a different set of posts that have this img tag repeated.

    Weird, right?!

Viewing 7 replies - 1 through 7 (of 7 total)