Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › Custom related posts via shortcode
This topic contains 14 replies, has 2 voices, and was last updated by Mark1501 5 years, 2 months ago.
- AuthorPosts
- September 17, 2018 at 1:50 pm #19233
Hey guys, I purchased the related posts pro plugin. I did read the documentation. Still I failed to find the way how to do this
For each of my posts I’d like to include only custom posts of mine (for which I have URL’s) and do so with a SHORTCODE. For each post of mine I already have related articles with URL’s that now I’d like to include into Relared Posts Pro.
If that is not possible, than at the very least I’d like to be able to define on a post level to include related posts with a specific tag.
How can I do that?
Thanks Mark
September 17, 2018 at 5:53 pm #19241Hi Mark,
To specify custom content for each post, please use the post metabox: http://wp-dreams.com/demo/related-posts-pro/docs/#genearal_behaviour_override_global
There you can define which posts do you want to display on that certain post. The shortcode unfortunately does not take any arguments to override which posts it should display.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 18, 2018 at 12:05 pm #19264Hey Ernest, thank you. I’m going to try do that. How about this: can I specify custom content for each post by simply naming the tags. That would be ideal scenario for me as I already have each and every post equipped with tags? See picture. Cheers, Mark
Attachments:
You must be logged in to view attached files.September 19, 2018 at 8:37 am #19286Hi!
That is not possible, but you can try the matching tags option here: https://i.imgur.com/Mk0T2He.png
Best,
It will basically tell the plugin to prefer posts from the same tags first.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 20, 2018 at 11:02 am #19308Hi Ernest. Thank you. I did all of the suggested.
– I followed your documentation and your suggestions above.
– For approx half of the post I have specified custom content for each post, using the post metabox: http://wp-dreams.com/demo/related-posts-pro/docs/#genearal_behaviour_override_global. Here’s one example: https://www.feelgoodrituals.com/what-do-you-want-from-your-relationship/
– For the rest of the blog posts I have followed your second suggestion. Using the setting https://i.imgur.com/Mk0T2He.png (as recommended
by yourself), I told the plugin to prefer posts from the same tags first. Example would be: https://www.feelgoodrituals.com/unconscious-mind-
affecting-your-marriage/ which doesn’t have any custom blog-post-level settings and simply draws from global settings.Here’s my problem.
1) The plugin won’t show any related posts under the blog posts whatsoever.
2) The only way it will show something is when I turn on the feature “Show on single content pages?” to YES. But, in that case, I get thumbnaisl, filled with the text of the blog post. That’s strange.I guess some settings are wrong but I am circling around to find what.
I’m attaching the current settings. If needed I can also supply credentials to access the backend within my wordpress.Currently, Show the plugin under content is temporarily OFF, as it doesn’t work anyway.
Thanks, Marko
Attachments:
You must be logged in to view attached files.September 20, 2018 at 11:55 am #19313Hi,
The Show on single content pages? should be enabled as well, otherwise it won’t show up on the blog post pages. Single content page means, when a post type page is displayed, in this case the post itself.
If there is a visual problem with the output then, make sure to clear the site cache, as well as the browser cache. If possible, I would like to take a look at that directly, to see if it’s a stylesheet issue or something else entirely. Thank you!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 20, 2018 at 12:09 pm #19314Thank you Ernest. Would you want to have a look if I give you the temporary credentials?
Should I put it right in-here and mark set this conversation as “private”?
Cheers, Marko
September 20, 2018 at 12:55 pm #19315Hi Marko,
Yes, you can do that, or you can also edit your initial post and place it there. Whichever you prefer.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 20, 2018 at 1:03 pm #19316You cannot access this content.September 20, 2018 at 1:05 pm #19317Just so you know, the “Show the plugin under content” is temporarily still oFF. Cheers, Marko
September 20, 2018 at 1:17 pm #19318Thank you, I have found the issue. Under the Content Options panel, the post content was chosen as the title field, thus the long texts. I have switched it back to ‘Post title’, now the layout should be okay: https://i.imgur.com/Mt4Smwz.png
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 20, 2018 at 1:22 pm #19319Thank you Ernest. It looks like things are working now. I see it would be better to set the maximum related posts from 6 to 8. It will look better. Thanks for your support. Cheers, Mark
September 20, 2018 at 1:31 pm #19320By the way Ernest, last thing. Now, that I have the Related Posts PRO working (thank you again for your support), Do you know how can I remove
the wordpress native buttons for related (next) posts? See picture attached. Thnx, MarkAttachments:
You must be logged in to view attached files.September 20, 2018 at 2:41 pm #19322You are welcome 🙂
Those are either hard-coded into the theme single.php (or corresponing) file, or with a custom function appended after the content. More likely hard-coded. I suggest asking the theme author, he will know for sure.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
September 20, 2018 at 3:10 pm #19324Thank you! Have a great week! Cheers, Mark
- AuthorPosts
The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.