Multiple but different instances of CRP on one page
-
Hi Ajay,
Thanks for this brilliant plugin, IMHO it’s the best one available for relating posts.
My question is this – is it possible to have more than one instance of it on a page, with each referencing a different custom post type? So that I could show, for example, “Related Books”, then below that “Related Movies”?
I am comfortable editing my template files, thinking possibly a shortcode that declares the post type, like so?
[crp limit="4" heading="0" post_type="book"] [crp limit="4" heading="0" post_type="movie"]
Wrapping that in the necessary PHP of course……would that work? If not currently, would you consider adding that as a feature?
I have a need to do this on one particular site – I didn’t think this plugin would support that so I tried doing my own queries/loops using online tutorials for finding posts related by taxonomy, but even though I think my code is perfect it’s not returning results, so I’m back to looking at a plugin to do this and hoping CRP will since it’s my favorite to use on other websites.
Thanks for any suggestions you can offer!
- The topic ‘Multiple but different instances of CRP on one page’ is closed to new replies.