ben-lilley
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP Super Cache] 404 errors for homepage and published articlesHi donncha,
This is still happening sporadically. Really strange and I can’t pin-point what is going on. This is a high traffic (150,000+ visits) site so it’s making it tricky to test as we can’t roll back to default themes etc. The only information I have is that no combination of plugins I’ve tried has stopped it happening, and it only happened when I updated to 2.8.4.
Plugins:
Advanced Category Excluder
Akismet
Auto Thickbox
cforms
FD Feedburner Plugin
Get Author Profile
Get Post Image
Level2Categories 2
Twitter for WordPress
Viper’s Video Quicktags
WP-PageNavi
WP Super Cache (obviously).The theme we use is completely custom and it hasn’t changed since the update. Would really appreciate any ideas you might have.
Thanks,
BenForum: Plugins
In reply to: [Plugin: WP Super Cache] 404 errors for homepage and published articlesHey donncha,
I’m having this issue with the plugin as well, and I’m not using Ask Apache Google 404 plugin.
After the plugin has been activated for around 5- 10 minutes I start getting a 404 issue on the homepage of the site, and firefox users start getting a gzip folder start automatically downloading.
Any ideas?
Cheers,
BenForum: Fixing WordPress
In reply to: A Bloggers Page (Pull Author Posts)<?php $lastposts = get_posts('numberposts=3&author=2'); foreach($lastposts as $post) : setup_postdata($post); ?> <li><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a></li> <?php endforeach; ?>
Turns out I can do it just like that! I think I was over complicating things. Cheers mate.
Forum: Fixing WordPress
In reply to: A Bloggers Page (Pull Author Posts)Yep, I understood the ID bit, both id’s 1 and 2 exist and have posts written by them but it’s still not returning any results. Should that code work right off the bat or do I need to do something else?
Again, thanks for all the help.
Forum: Fixing WordPress
In reply to: A Bloggers Page (Pull Author Posts)Thanks for all your help mmuro, I really appreciate it. Unfortunately I’m struggling to get this working, even with your provided code (which was great thanks, explain a few things for me).
This is the page I’m trying to build – https://code.pitch.net.nz/adm/005/blogs.html – this is being pulled by using category-3.php – There’s 8 people on this blog and for each of them I want to pull their 3 latest posts, the rest of the information is static.
However if I put your code in, it doesn’t return any results (author id 1 has two posts assigned to it). I’m digging through codex but can’t really find what I want.
Thanks again for your help.
Forum: Fixing WordPress
In reply to: A Bloggers Page (Pull Author Posts)Cool thanks, that looks like it will do the trick. Could I use this multiple times on one page? For example I want to use it 8 times on a page for 8 different authors.