Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #966263

    Hi Folks,
    perhaps it’s a simple question, but I didn’t find an answer in this forum:
    How – in a single blog post layout – can I get the social share buttons after the comments part. In the single.php or the loop-index.php that’s not possible, and using the ALA in posts it’s a little bit of “overhead” for my client.

    Thanks a lot and best regards
    Stephan

    #966842

    Hey Stephan,

    Please take a look at the post here
    https://kriesi.at/support/topic/changing-the-location-of-social-media-icons/

    Best regards,
    Basilis

    #967841

    Hey Basils,

    sorry, I didn’t mean those social icons in the header, but the sharing button area (named “Share this entry”) AFTER the comment section of a single blog post.

    Best regards,
    Stephan

    #970480

    Hi,
    If I understand correctly, you wish to have this element:
    2018-06-09_115429
    after the comment section in each blog post.
    I assume your client is currently using the default editor, so the element is automatically displaying after the post and before the comment section.
    In this case, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function move_share_box(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery( '#top.single-post .template-single-blog' ).each(function() {
    jQuery( this ).find( '.av-share-box' ).insertAfter( jQuery(this).find('.comment-entry.post-entry') );
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'move_share_box');

    and Try this code in the General Styling > Quick CSS field:

    
    #top.single-post .template-single-blog div.post_delimiter {display:none !important;}
    #top.single-post .template-single-blog div.av-share-box {margin-bottom: 30px !important;}
    #top.single-post .related_posts.av-related-style-full {padding-top: 30px !important;}

    If this doesn’t help, Can you please include a admin login in the private content area so we can adjust.

    Best regards,
    Mike

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