• I love the simplicity of use of this plugin and how it displays. I am having a problem, though. The sharing buttons do not show up on the front page. I tried entering the shortcode on the page and in a footer widget but no luck. I also tried adding this snippet to functions.php but no luck:
    function my_display_condition() {
    $condition1 = is_front_page();
    $condition2 = (is_singular() && get_post_type() == ‘post’);
    return $condition1 || $condition2;
    }

    add_filter(‘dvkss_display’, ‘my_display_condition’);

    Any help would be greatly appreciated.

    https://wordpress.org/plugins/dvk-social-sharing/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, Have you tried adding this to your frontpage template? (home.php or homepage.php etc… depending on theme)

    <?php echo dvk_social_sharing(); ?>

    Thread Starter mium

    (@mium)

    That worked. Thank you very much for taking the time and trouble to help me out!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't get buttons to display on front page’ is closed to new replies.