Viewing 30 posts - 1 through 30 (of 31 total)
  • Author
    Posts
  • #343818

    When you add shortcodes to a post, the “You may also like” and sharing buttons disappear. Is there a way to keep them on the bottom of the page after using the builder components?

    Thanks

    #344413

    Hi xyzb!

    Which shortcodes are you using? Go ahead and send us a link and we’ll take a look. You can mark your reply as private if you wish.

    Regards,
    Elliott

    #344607

    I added just a simple column from the layout builder. Before I did that, the post looked like a blog post with the “You may also like” and the Enfold social media buttons on the bottom. As soon as I added the column, those above mentioned items did not display.

    Thanks

    #344737

    Hey!

    Go ahead and deactivate all plugins and if it’s still happening then send us a login so we can take a closer look.

    Best regards,
    Elliott

    #346068

    It is on localhost. No plugins activated. I have enabled the builder in my child theme(functions.php) via code supplied by Josue. If you add a column shortcode through the standard shortcode icon in the editor, it works. If you add a column through the Advanced Layout Editor, then the “You may also like” and sharing buttons disappear.

    Thanks

    #346895

    Hey!

    I’m not sure what it could be. Send us a login when you go live and we’ll take a look.

    Cheers!
    Elliott

    #666320

    I have the same problem.
    whats is the solution?

    #666326

    Hi!

    When you use ALB to create your blog posts, you are going to need to add Social Share Buttons and Comments elements manually to the bottom of your blog posts.

    Regards,
    Yigit

    #666328

    Hi,
    yes I know but for “You may also like”

    #666334

    Hey!

    You can add any element that display posts and choose to display a certain element

    Best regards,
    Yigit

    #666374

    Ok but what is it to have exactly the same layout as “You may also like”

    #667531

    Hi,

    The magazine element has the closest layout in comparison to the related entries section. Or add this code in the functions.php file:

    add_shortcode('avs_related_entries', 'avs_related_entries_callback');
    function avs_related_entries_callback() {
    	//show related posts based on tags if there are any
    	get_template_part( 'includes/related-posts');
    }

    Add a text or code block then use this shortcode:

    [avs_related_entries]
    

    Best regards,
    Ismael

    #744328

    Hi! I also miss the same layout for «You may also like» for layout builder. May you please fix this?

    #747297

    Hi!

    Hi! I also miss the same layout for «You may also like» for layout builder. May you please fix this?

    It’s not something to fix. The template-builder.php file does not contain the related posts section by default. If you need the related section to display on posts created with the advance layout builder, please follow the instructions above.

    Best regards,
    Ismael

    #874280

    Hi @Ismael,
    I was just looking for this solution and found this post. I have tried this, adding the code to functions.php of my child theme and then inserting the shortcode in a text block – however the ‘you might also like’ appears at the top of the post?

    H

    #874493

    Hi,


    @Heathcliffe
    : Please provide a link to the actual post with the issue so that we can inspect it.

    Best regards,
    Ismael

    #874639

    Hi @Ismael

    I’ll put all the details, Admin access etc in the private details below. Thanks in advance.

    H

    #875029

    Hi,

    That title is included in the template by default. You can hide it with the following css code.

    .related_title { display: none !important; }
    

    Best regards,
    Ismael

    #875143

    @Ismael,

    Hi Ismael, thanks for the reply. I DONT want to hide it, but I don’t want it at the top of my post page. It is appearing at the top, even though I put the shortcode in a text element at the bottom of the ALB layout. (I tried the Code element too, same result).

    I will have to remove it if I can’t fix it by Monday as I am wanting it to go live then. I just want it the You may also Like section at the bottom of my blog article not the top.

    Thanks,
    H

    • This reply was modified 7 years, 1 month ago by Cliffy.
    #875937

    Hi,

    I see. That’s odd. I’m trying to access the login page but it’s not loading properly. Please check.

    Best regards,
    Ismael

    #958105

    Hi!
    I followed the instructions as described, but the related entries section is shown at the top of the page.
    Is it possible to place them at the bottom of the page?

    Regards
    soltner

    #958111
    This reply has been marked as private.
    #958482

    Hi,

    Did you put the shortcode inside a text block? Please move the text block below the other content.

    Best regards,
    Ismael

    #958506

    Hi Ismael!
    Yes, i put the shortcode inside a text block at the bottom of the page… (see private content) but appears on the top, can not understand why?

    Sorry my bad english :-)
    Regards soltner

    #959582

    Hi,

    Thanks for the update. Please create a new ticket or thread and provide the login details in the private field. We’ll check it there.

    Best regards,
    Ismael

    #960191

    Hi Ismael!
    Thanks for your reply. I also tried to deactivate all plugins but with no success… you find the login details in private field.

    Thanks!
    Best regards,
    soltner

    #961683

    Hi Ismael!
    Sorry for asking, but have you found out a solution for the problem?

    Regards
    Soltner

    #962192

    Hi,

    I’m sorry for the late response. The related entries container is being rendered above the other elements even though it was added at the very bottom of the builder. Did you add any modifications other than this shortcode? Please enable the Appearance > Editor panel or make it accessible.

    Best regards,
    Ismael

    #963068
    This reply has been marked as private.
    #964318

    Hi,

    Thanks for the update. We modified the shortcode a bit.

    add_shortcode('avs_related_entries', 'avs_related_entries_callback');
    function avs_related_entries_callback() {
    	//show related posts based on tags if there are any
    	ob_start();
    	get_template_part( 'includes/related-posts');
    	$output = ob_get_clean();
    	return $output;
    }

    Best regards,
    Ismael

Viewing 30 posts - 1 through 30 (of 31 total)
  • You must be logged in to reply to this topic.