Search Results for 'Show social sharing buttons'

  • I generated our social media code through utilizing the developer buttons on twitter, facebook and linkedin as recommended by Social Media Examiner article: http://www.socialmediaexaminer.com/customized-social-share-buttons/

    I can not get the facebook to line up with the other two buttons even with resizing.

    Any “easy” advice?

    Here is the website: http://www.podsretailkiosk.com/

    Here is the code:

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.0";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script><div class="fb-share-button" data-width="47" data-type="button_count"></div>
    <a href="https://twitter.com/share">Tweet</a>
    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
    <script src="//platform.linkedin.com/in.js" type="text/javascript">
    lang: en_US
    </script>

    <script type=”IN/Share”></script>

  • Mod
    #42372

    You really don’t want to display social sharing buttons on the home page anyway, since they will share their actual location (the home page), rather than the page they are appearing on.

    You can use the Widget Logic plugin to prevent them from showing up on the home page.

  • #40629

    It’s probably simpler to grab the code from Addthis to combine all your social sharing buttons in one code snippet.

    Then add the code to:

    Graphene Options > General > Social Sharing Button

    Addthis will also track and produce statistics for your site and social sharing links.

  • Put the same code in Graphene Options –> Social Sharing Buttons –> Your social sharing button code

    Select Social sharing buttons location -> Bottom of posts

  • in forum Support

    Hello,

    I have social sharing buttons activated in posts AND pages [show_addthis_page].

    I can to exclude specific pages > disclaimer, imprint (Impressum), etc.

    THX for answer

    patsch27

  • Admin
    #36457

    From your screenshots, it appears that Chrome is still using the old stylesheet for your site. Clear your browser’s cache and it should work fine.

    As for the social sharing buttons in the slider, if you’re gonna put them there, I’d suggest using the smaller pill-sized buttons instead of those big bubbles.

  • In reply to: loop category file?

    #35509

    thank you for the reply, I was thinking it might but the file contains allot of code, does it select just a section of the code?

    <?php
    global $graphene_settings;
    $post_type = get_post_type_object( get_post_type() );
    ?>
    <?php
    /**
    * Check if the post has a post format. Load a post-format specific loop file,
    * if it has. Continue with standard loop otherwise.
    */
    if ( function_exists( 'get_post_format' ) && $post_type->name != 'page' ) {
    global $post_format;
    $post_format = get_post_format();

    // Get the post formats supported by the theme
    $supported_formats = get_theme_support( 'post-formats' );
    if ( is_array( $supported_formats ) ) $supported_formats = $supported_formats[0];

    if ( in_array( $post_format, $supported_formats ) ) {

    // Get the post format loop file
    get_template_part( 'loop-post-formats', $post_format );

    // Stop this default posts loop
    return;
    }
    }
    ?>

    <?php if ( $post_type->name == 'page' && $graphene_settings['hide_parent_content_if_empty'] && $post->post_content == '' ) : ?>
    <h1 class="page-title">
    <?php if ( get_the_title() == '' ) { _e( '(No title)', 'graphene' ); } else { the_title(); } ?>
    </h1>
    <?php else : ?>
    <div id="post-<?php the_ID(); ?>" <?php post_class( 'clearfix post' ); ?>>

    <?php do_action( 'graphene_before_post' ); ?>

    <div class="entry clearfix">

    <?php /* Post date is not shown if this is a Page post */ ?>
    <?php if ( ( strpos( $graphene_settings['post_date_display'], 'icon_' ) === 0 ) && graphene_should_show_date() ) : ?>
    <?php graphene_post_date(); ?>
    <?php endif; ?>

    <?php /* Show the post author's gravatar if enabled */
    if ( $graphene_settings['show_post_avatar'] ) {
    echo '<div class="post-avatar-wrap gutter-left">' . get_avatar( get_the_author_meta( 'user_email' ), 45 ) . '</div>';
    }
    ?>

    <?php
    /* Add a print button only for single pages/posts
    * and if enabled in the theme option.
    */
    if ( $graphene_settings['print_button'] && is_singular() ) : ?>
    <?php graphene_print_button(); ?>
    <?php endif; ?>

    <?php /* Add an email post icon if the WP-Email plugin is installed and activated */
    if( function_exists( 'wp_email' ) && is_singular() ) { echo '<p class="email wp-email-button">'; email_link(); echo '</p>'; }
    ?>

    <?php /* Post title */ ?>
    <h2 class="post-title entry-title">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( esc_attr__( 'Permalink to %s', 'graphene' ), the_title_attribute( 'echo=0' ) ); ?>">
    <?php if ( get_the_title() == '' ) { _e( '(No title)', 'graphene' ); } else { the_title(); } ?>
    </a>
    <?php do_action( 'graphene_post_title' ); ?>
    </h2>

    <?php /* Post meta */ ?>
    <?php if ( $post_type->name != 'page' || is_user_logged_in() ) : ?>
    <div class="post-meta clearfix">

    <?php /* Post category, not shown if admin decides to hide it */ ?>
    <?php if ( ( $graphene_settings['hide_post_cat'] != true ) ) : ?>
    <span class="printonly"><?php _e( 'Categories:', 'graphene' ); ?> </span>
    <p class="meta_categories"><?php the_category( ", " ); ?></p>
    <?php endif; ?>

    <?php /* Edit post link, if user is logged in */ ?>
    <?php if ( is_user_logged_in() ) : ?>
    <p class="edit-post">
    <?php edit_post_link( sprintf( __( 'Edit %s', 'graphene' ), $post_type->labels->singular_name ), ' (', ')' ); ?>
    </p>
    <?php endif; ?>

    <?php /* Inline post date */ ?>
    <?php if ( $graphene_settings['post_date_display'] == 'text' && graphene_should_show_date() ) : ?>
    <p class="post-date-inline updated">
    <abbr class="published" title="<?php the_date( 'c' ); ?>"><?php the_time( get_option( 'date_format' ) ); ?></abbr>
    </p>
    <?php endif; ?>

    <?php /* Post author, not shown if this is a Page post or if admin decides to hide it */ ?>
    <?php if ( $post_type->name != 'page' && $graphene_settings['hide_post_author'] != true ) : ?>
    <p class="post-author author vcard">
    <?php
    /* translators: this is for the author byline, such as 'by John Doe' */
    $author_url = '<a href="' . get_author_posts_url( get_the_author_meta( 'ID' ) ) . '" class="url" rel="author">' . get_the_author_meta( 'display_name' ) . '</a>';
    printf( __( 'by %s', 'graphene' ), '<span class="fn nickname">' . $author_url . '</span>' );
    ?>
    </p>
    <?php endif; ?>

    <?php /* For printing: the date of the post */
    if ( $graphene_settings['print_css'] && graphene_should_show_date() ) {
    echo graphene_print_only_text( get_the_time( get_option( 'date_format' ) ) );
    }
    ?>

    <?php do_action( 'graphene_post_meta' ); ?>
    </div>
    <?php endif; ?>

    <?php /* Post content */ ?>
    <div class="entry-content clearfix">
    <?php do_action( 'graphene_before_post_content' ); ?>

    <?php if ( ( is_home() && !$graphene_settings['posts_show_excerpt'] ) || is_singular() || ( ! is_singular() && ! is_home() && $graphene_settings['archive_full_content'] ) ) : ?>

    <?php /* Social sharing buttons at top of post */ ?>
    <?php if ( stripos( $graphene_settings['addthis_location'], 'top' ) !== false) { graphene_addthis( get_the_ID() ); } ?>

    <?php /* The full content */ ?>
    <?php the_content( '<span class="block-button">' . __( 'Read the rest of this entry &raquo;', 'graphene' ) . '</span>' ); ?>

    <?php else : ?>

    <?php /* The post thumbnail */
    if ( has_post_thumbnail( get_the_ID() ) ) { ?>
    <div class="excerpt-thumb">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf( esc_attr__( 'Permalink to %s', 'graphene' ), the_title_attribute( 'echo=0' ) ); ?>">
    <?php the_post_thumbnail( apply_filters( 'graphene_excerpt_thumbnail_size', 'thumbnail' ) ); ?>
    </a>
    </div>
    <?php
    } else {
    echo graphene_get_post_image( get_the_ID(), apply_filters( 'graphene_excerpt_thumbnail_size', 'thumbnail' ), 'excerpt' );
    }
    ?>

    <?php /* Social sharing buttons at top of post */ ?>
    <?php if ( stripos( $graphene_settings['addthis_location'], 'top' ) !== false && $graphene_settings['show_addthis_archive'] ) { graphene_addthis( get_the_ID() ); } ?>

    <?php /* The excerpt */ ?>
    <?php the_excerpt(); ?>

    <?php endif; ?>

    <?php wp_link_pages( array( 'before' => '<div class="link-pages"><p><strong>' . __( 'Pages:','graphene' ) . '</strong> ', 'after' => '</p></div>', 'next_or_number' => 'number' ) ); ?>

    <?php do_action( 'graphene_after_post_content' ); ?>

    </div>

    <?php /* Post footer */ ?>
    <div class="entry-footer clearfix">
    <?php /* Display the post's tags, if there is any */ ?>
    <?php if ( $post_type->name != 'page' && ( $graphene_settings['hide_post_tags'] != true) ) : ?>
    <p class="post-tags"><?php if ( has_tag() ) { _e( 'Tags:', 'graphene' ); the_tags( ' ', ', ', '' ); } else { _e( 'This post has no tag','graphene' ); } ?></p>
    <?php endif; ?>

    <?php /* Display comments popup link. */ ?>
    <?php if ( graphene_should_show_comments() ) : ?>
    <p class="comment-link">
    <?php
    $comments_num = get_comments_number();
    comments_popup_link( __( 'Leave comment', 'graphene' ), __( '1 comment', 'graphene' ), sprintf( _n( '1 comment', "%d comments", $comments_num, 'graphene' ), $comments_num ), 'comments-link', __( "Comments off", 'graphene' ) );
    ?>
    </p>
    <?php endif; ?>

    <?php
    /* Display AddThis social sharing button */
    if ( stripos( $graphene_settings['addthis_location'], 'bottom' ) !== false && $graphene_settings['show_addthis_archive'] ) { graphene_addthis( get_the_ID() ); }
    ?>

    <?php do_action( 'graphene_post_footer' ); ?>
    </div>
    </div>
    </div>
    <?php endif; ?>

    <?php /* For printing: the permalink */
    if ( $graphene_settings['print_css']) {
    echo graphene_print_only_text( '<span class="printonly url"><strong>' .__( 'Permanent link to this article:', 'graphene' ). ' </strong><span>' . get_permalink(). '</span></span>' );
    }
    ?>

    <?php /* Display Adsense advertising */ ?>
    <?php if ( ! is_front_page() || ( is_front_page() && $graphene_settings['adsense_show_frontpage'] ) ) { graphene_adsense(); } ?>

    <?php do_action( 'graphene_loop_footer' ); ?>
  • in forum Support

    Hi – I’ve just installed Graphene (latest version) and really like it. Before I was using a different theme (Intredipity). Site is http://www.weightlossladder.com

    I do have a few matters to get resolved, which I’ll post in different threads as I tackle them.

    The first problem I have is regarding adding social share buttons. I already have a floating display with the diggdigg plugin, but I’d like to add social share buttons at the bottom of each post page too.

    Before I start trying different plugins, I notice the Graphene theme has an option to add social share buttons, but it has completely thrown me!

    When I go to Graphene Options and select the General tab, then scroll down I find the ‘Social Sharing Buttons’ section. What does this do? I’ve selected ‘Show social sharing button’, selected the drop down option to add to the bottom of posts, and saved, but no buttons appear. Also, what code is expected in the ‘your social sharing button code’ box? Doesn’t the theme just publish its own pre-set icons? What should I put in this box please? Note, I don’t need links to my own social pages, simply the usual social share button icons.

    Thanks in advance for any advice.

  • #31572

    I attempted re-installing the theme (1.8) manually as well.

    There doesn’t seem to be any specific pattern to which posts the sharing buttons show up on and which ones they don’t. (I’m not using Jetpack, but ShareThis via the options in the Graphene Theme options page).

    For now I’ve downgraded to 1.7.3 and the buttons are all back as expected.

  • in forum Support

    My social sharing buttons have disappeared on some of my posts with the update to ver. 1.8

    They show up on the first few posts and now are gone on later ones. The posts are all set to follow the global setting (which is to add them at the bottom of the posts including on index/archive pages. On the posts that they do not show up on the index/archive page, they do not show up on the individual post as well.

    My front page is http://rhinoblues.com/thoughts

Viewing 10 results - 11 through 20 (of 65 total)