felthos
Forum Replies Created
-
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 problemsUpdate:
My rewrite rule for the general case works, but only when the “A2A_LINKURL” shows up 1 level deep. For example:
/foo/A2A_LINKURLHowever, 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 problemsI 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!
Forum: Plugins
In reply to: [Plugin: Robots Meta] robotsmeta adds weird errors in apacheI 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:
- Go into PHPMyAdmin where your WordPress database is set up
- Click on the wp_posts table, then Structure (at the top)
- Right after where it lists all the fields, you’ll see a “Add [1] fields” line. Click Go at the end of that.
- 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.
- Save
- 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).
- 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!Forum: Fixing WordPress
In reply to: 2 questions about FeedWordPressHi 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.
Forum: Installing WordPress
In reply to: <img> tag gets repeated in posts after upgrade to 2.8.4Ok, 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.
Forum: Installing WordPress
In reply to: <img> tag gets repeated in posts after upgrade to 2.8.4Here 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?!