Hey Vlad,
Awesome to hear you’re enjoying it! 🙂 If you need any other hooks / filters / etc. please let me know on GitHub.
Looking into both issues now. It’s probably a bug on my end as the RH_Query class was just introduced in 1.0.0 and needs some work.
Will get back to you here in a bit.
Please try update to 1.0.3. Both should be fixed 🙂
Thread Starter
vladff
(@vladff)
Great, those are solved, thanks.
But still, other things are happening (at least for me with WP 4.1) when the Recipe Page is not set from the settings:
– Trying to get property of non-object for lines 128-132 in the same RH_Query file. I solved this by adding a check for $recipe_page on line 110;
– Nothing Found message on all my existing pages. Switching from a static front page to latest posts solves this.
Both these issues are fixed after I set a Recipe Page from the plugin’s settings.
Thread Starter
vladff
(@vladff)
So I wrapped everything inside your pre_get_posts function on line 50 from class-rh-query.php in this: if ( get_option( 'recipe_hero_recipes_page_id' ) ) { and the issues are gone. Though I don’t know if it’s the best way to handle it.
Actually that may be the best fix. Looking into it more now. Sorry, didn’t catch them on my side before, but thanks for working with me on this 🙂
Hey Vlad – would you mind trying out this version and letting me know if it’s better? https://github.com/Recipe-Hero/Recipe-Hero/archive/master.zip
If so I’ll push the update. 🙂
Thread Starter
vladff
(@vladff)
Yeap, everything looks fine, thanks.
Thanks for checking 🙂 If you find anything else not working, etc. feel free to let me know here or on GitHub. Thanks for using Recipe Hero!