Is it possible to use multiple YARPP templates on the same page? I’m looking to implement two instances of YARPP on the same page – one with thumbnails, and another in list form somewhere else. Is this possible? Perhaps using the manual related_posts() function?
Also, in this old post (http://mitcho.com/blog/projects/yet-another-related-posts-plugin/), you list out the manual function that can override any options.
It doesn’t seem to work anymore. Is there a way to override options with the function or a template? I’m looking to implement 2 different instances of YARPP on the same page as I mentioned.
The manual override of settings in the
related_posts()indeed has changed its behavior over time… I’m thinking right now that in the next version of the plugin, 3.4, I may completely overhaul the signature of that function, but in a way which allows this type of change more easily. Keep your eyes posted for upcoming betas… the best way is by following @yarpp on twitter.
Thanks – that would be great. I find it very limiting currently to not be able to manually override the settings with the function (i.e. can’t implement more than once instance of Related Posts, only one template, can’t dynamically change what’s displayed based on the type of page, etc).
Any idea on timeline for when we can expect that functionality?
Is the custom function now available in YARPP 3.4b10 or YARPP Experiments? I tried updating but wasn’t able to find anything.
Also, I get this error when trying to activate the YARPP Experiments plugin:
Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/yarpp-experiments/yarpp-experiments.php on line 301
Sorry about that, version 0.5 of YARPP Experiments fixes that bug.
Manually overriding the settings with a function is now supported in YARPP 3.4. The “dingus” included with YARPP Experiments will show you how to do that.
- The topic ‘[Plugin: Yet Another Related Posts Plugin] Multiple Templates on the Same Page?’ is closed to new replies.