Display in the content
-
How do you display it in the content? And not the end of the content
-
Hi @mushlih you could use the YARPP Block or YARPP Shortcode to place YARPP anywhere in a post.
But can I display the shortcode after paragraph x, the 2nd shortcode after the x paragraph?
I mean, if I put the shortcode for example, after paragraph 5 and 15, will the related article after paragraph 15 not be the same after the 5 paragraph?@mushlih that is correct, currently, each shortcode/block will display the same set of results.
Does the following request align with yours?:
https://ww.wp.xz.cn/support/topic/related-posts-show-up-on-multiple-locations/
Weβre evaluating the feasibility for this. If you can weigh in, it would be helpful!
Does the following request align with yours?
No, what I mean is if I put a shortcode in every paragraph x, it will display all the same related content. And that the problem.
Weβre evaluating the feasibility for this.
That feature is a very excellent feature, it has been implemented a lot on big sites, I will always wait for that feature.
Thank you very much-
This reply was modified 5 years ago by
Mushlih Almubarak.
-
This reply was modified 5 years ago by
Mushlih Almubarak.
Hi @mushlih
Sorry, I referenced the incorrect thread!
This is the correct one:
https://ww.wp.xz.cn/support/topic/output-of-records-in-2-places/Mock: https://ibb.co/L8hJ5Mt
Proposed implementation for the use-case:
Shortcode 1 –
[yarpp template="list" limit=5]
Shortcode 2 –[yarpp template="list" limit=5 offset=5]where offset (int) = number of post to displace or pass over.
Would this work for you?
Mock: https://ibb.co/L8hJ5Mt
Ya, seperti ini yang saya inginkan, namun saya telah menetapkan 2 kode pendek yang Anda kasih setelah paragraf 5 dan 10, namun ia masih memberikan related post yang sama.
Hi @jeffparker
Any respond?Hi @mushlih the shortcode examples were just proposals π We are working on the “offset” feature and expect it to be available in approximately 3-4 weeks.
the shortcode examples were just proposals
does that mean the shortcode can’t be used? and it’s just an example and it doesn’t work?
offsetparameter has not been implemented as yet. The other parameters in the example are available today.Bassiccally, does the shortcode you provided work?
Works:
[yarpp template="list" limit=5]You need
offsetto achieve what you want. Until that is implemented, you can not achieve what you’re trying to achieve with the shortcode. Specifyingoffsetin the shortcode today will do nothing as it is not implemented in YARPP.Does this sense?
Documentation:
https://ww.wp.xz.cn/plugins/yet-another-related-posts-plugin/#installationAs far as I understand, the shortcode works IF I set the offset, and the offset feature now doesn’t work.
The offset feature is being worked on to be added to the plugin in a future update.
Is that true?Yes, the shortcode will work for your target case only once
offsetfeature is added to it.Ok, thank you.
Please let me if that feature has been added -
This reply was modified 5 years ago by
The topic ‘Display in the content’ is closed to new replies.