-
AuthorPosts
-
October 11, 2018 at 9:32 pm #1020484
Hello,
I see this entry on one of your demo. you might also like entry
I can not finde out how you do that. Can I do that with the advanced editor ? I also like to have such a “you might also like” on a single blog page.
Thanks a lot for you help.Kind regards
Roger- This topic was modified 6 years, 2 months ago by Roger.
October 14, 2018 at 7:24 pm #1021272Hey Roger,
Sorry for the late reply, I assume you are referring to this element:
Unfortunately these are added when using the default editor, and not the advanced layout builder. If you would like to add this type of function to advanced layout builder pages then you could try using a plugin that has shortcodes, and add the shortcode to a code block element on your page.Best regards,
MikeOctober 16, 2018 at 7:22 pm #1022343hi mike
Thanks for answer. can you recomment such a plugin ? on a other page i use jetpack. But i dont wanna use this one.
Thanks for your help.
kind regards
rogerOctober 17, 2018 at 6:27 am #1022576Hi,
Here is a nice list: 9 Of The Best Related Post Plugins
Another option, I see that you only have a few post on your site, so if every page is going to have the same list of related posts we can copy your element from a default editor page and add it to your advanced layout builder page. This would keep the Enfold style.
Probably not what you had in mind, but I thought I would offer.Best regards,
MikeOctober 17, 2018 at 7:19 am #1022580Hi mike
thanks for aswer. yes, if you could do that ( advanced layout builder page ). so than i have a example. actually my site still build up. i will copy my posts from my other travel blog into this new wesite when i finish with customization. is it possible just show up just 4 related post ? ( not 6 ) . Not sure if I understand, but I am not going to have always the same related post. there should be always diffrent related post on every blog-post i will do. thanks
kind regards
rogerOctober 17, 2018 at 2:05 pm #1022767Hi,
What I meant was right now you don’t have very many posts, but I understand now that you have a lot of content to add.
As an example, I copied your related post element from one of your pages, you can paste the code in the file that is in the Private Content area, into a “code block” on your advanced layout builder page and it will show 4 related posts. Probably not a long term solution because it’s manual html.Best regards,
MikeOctober 17, 2018 at 7:55 pm #1022988Hi mike
Thanks that looks good for me.Kind regards
rogerOctober 18, 2018 at 12:33 am #1023060Hi,
Glad to hear, I assume we can close this now, but I want to ask anyways :)
Shall we close this?Best regards,
MikeOctober 18, 2018 at 6:48 am #1023168Hi,
*update*
I have been trying to figure out how to add the related posts to the advanced layout builder pages and I came up with a shortcode that works, Try adding this code to the end of your functions.php file in Appearance > Editor:function related_posts_shortcode( $attr ) { ob_start(); get_template_part( 'includes/related-posts' ); return ob_get_clean(); } add_shortcode( 'rpost', 'related_posts_shortcode' );
and then add this code in a “code block” element to display the related posts element:
[rpost]
Also be sure that your page shares tags with other posts, as this is what the element uses to get the other posts.
Best regards,
MikeOctober 18, 2018 at 6:46 pm #1023562Hi Mike
Thanks a lot. That works great. Super .Kind regards
RogerOctober 19, 2018 at 3:02 am #1023724Hi,
Glad to have this sorted out, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Single Blog-Page "you might also like"’ is closed to new replies.