Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › show only realted posts from actual category
This topic contains 5 replies, has 2 voices, and was last updated by depad 7 years, 1 month ago.
- AuthorPosts
- January 30, 2016 at 6:31 pm #7494
Hi Ernest,
I bought your related posts plugin, too 🙂
Now I have a question:
is it possible to only show related pages from the actual category (and sub-category) ?
So to show related pages from this category and beneath categories ?Best Regards,
MarkusFebruary 2, 2016 at 10:21 am #7531Hi,
It is possible for posts, but I’m not sure if this will work for pages as well.
On the Relevance Options -> Categories & Taxonomies section you can define this: https://i.imgur.com/o9FYJlH.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 2, 2016 at 10:34 pm #7564Hi Ernest,
thank you for the image. But I don’t get it to work.
The javascript doesn’t work and it shows me (in firebug console) an error called:
TypeError: $(…).relatedpostspro is not a functionCan you please have a look what’s the problem ? I have tried different settings in the compatibility menu but didn’t get it to work.
Many Thanks…
Best Regards,
MarkusFebruary 3, 2016 at 10:26 am #7571Hi,
The problem is caused by a 3rd party plugin, which apparently moves the scripts into a loader into the site footer: https://i.imgur.com/oU5B8It.png
This is a known technique, but it doesn’t work with most plugins, just like with related posts pro – because many of them need additional inline scripts to load with the correct parameters. Unless the minification plugin detect and move inline scripts from the header, it’s not going to work properly.
I have fixed the issue by adding a 4 second timeout to the loading script to wait for the main script, but that’s not the most elegant solution to handle this.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
February 4, 2016 at 6:54 pm #7601You cannot access this content.February 5, 2016 at 11:18 am #7616You cannot access this content. - AuthorPosts
You must be logged in to reply to this topic.