Andrew Ledwith
Forum Replies Created
-
Forum: Plugins
In reply to: [Login No Captcha reCAPTCHA] Fatal error in v 1.6.1The sites in question run on PHP 5.4.45.
Forum: Plugins
In reply to: [Login No Captcha reCAPTCHA] Fatal error in v 1.6.1Yeah, I guess it would help if I looked at the code after pasting it. ???♂?
The code you provided works great. Thanks!
Forum: Plugins
In reply to: [Login No Captcha reCAPTCHA] Fatal error in v 1.6.1Thanks for your response. When I make the edit you suggest I now receive this error:
Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of get_option(). in /public_html/wp-content/plugins/login-recaptcha/login-nocaptcha.php on line 354
- This reply was modified 5 years, 7 months ago by Andrew Ledwith.
Forum: Plugins
In reply to: [Remote Media Libraries] Remote library won't displayNo, I gave up and moved on.
Forum: Plugins
In reply to: [Firelight Lightbox] Integrating with New RoyalSliderYes, here: https://philgleasonart.com/
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesOkay, out of sheer frustration I decided to go about the problem an entirely different way. I scrapped everything I’d changed in home.php and used the default loop. Then, in my functionality plugin, I added the following:
function my_get_posts( $query ) { if ( is_home() && $query->is_main_query() ) $query->set( 'post_type', array( 'post', 'flnavs_podcast', 'flnavs_video', 'flnavs_resources' ) ); return $query; } add_filter( 'pre_get_posts', 'my_get_posts' );
It achieves the desired results. Thanks to all who helped me try to figure this mess out.
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesThanks for replying, racer x.
Unfortunately that did not fix the issue I’m having, but it is responding differently than before. No matter what I set posts_per_page to I’m able to load the first three pages of posts before returning a 404.
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesUnfortunately, after trying both your suggestions I’m still seeing the same problem.
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesThe names are correct. I used the $post_type parameter I defined for each custom post type. I’ve had no problem getting each post type to appear on the first page of the blog, so I know I’ve gotten the names correct all this time.
I just stumbled across something really strange. Like I said, I altered the number of posts per page from 10 to 5. I tried going to the second page of the blog using those settings and it loaded successfully. But then I tried to go to the third page and I received a 404. Just to test things further I switched the posts per page from 5 to 3. I can load the first, second, and third pages of the blog, then I receive a 404 when I try to load the fourth. So, I can load no more than 10 posts, and it’ll load fewer than that if the display setting doesn’t divide evenly into ten.
I’m completely baffled now.
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesWell, there are only 9 posts in the default post type, but after adjusting the settings panel to display 5 posts per page both the blog and first archive page render properly.
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesYes. It looks pretty innocuous. It also performs just fine on other archive pages (category, author, etc.).
function standard_pagination() { ?> <div class="more_entries"> <div class="next-posts fl"><?php next_posts_link('« Older Posts') ?></div> <div class="prev-posts fr"><?php previous_posts_link('Newer Posts »') ?></div> </div> <?php } ?>
Forum: Fixing WordPress
In reply to: Loop with multiple post types not rendering archive pagesThanks for your reply. Unfortunately that didn’t fix the problem. I should have mentioned that I’d tried that solution before. Perhaps it’s needed in the final product but something else is missing too.
I had the same problem, though it was not caused by the scenario described by waynmeyer. Thanks for your help.
Forum: Fixing WordPress
In reply to: WordPress 3.4 Bug – Page TemplatesThis was very helpful. Thanks so much!
Good suggestion. It seems to only occur in Chrome, even with all extensions turned off. I cleared the browser cache and server cache but neither action solved the problem.
I tried shutting down all my site’s plugins thinking it was a conflict with one of them. I turned them back on one by one but none caused the error again. The graph now appears as it should. So the problem has been resolved though I’m not sure what caused it to begin with.