Support » Plugin: Genesis Simple Share » Title before icons

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Brian Gardner


    Good suggestion, and something that I think we’ve added as a ticket in GitHub.

    Great plugin!

    Yes, this will be a Useful addition.

    Thanks for creating Simple Share!

    Seems this has been adressed already as per Gary Jones

    add_action( 'genesis_entry', 'prefix_entry' );
     * Adds the Genesis Share icons after the entry but within the entry content container.
     * @since 1.0.0
     * @return null Return early for non-single posts
    function prefix_entry() {
        if ( ! is_single() || ! function_exists( 'genesis_share_icon_output' ) ) {
        global $Genesis_Simple_Share;
        echo '<div class="share-box"><h3 class="share-headline">' . __( 'If you liked this article, tell someone about it', 'yourtextdomain' ) . '</h3>';
        genesis_share_icon_output( 'after-entry', $Genesis_Simple_Share->icons );
        echo '</div>';

    This works wonderfully, except that my needs are that the prepended text to be shown to the left of the share buttons, and with the code above it is shown above.
    Hope this helps

    Thread Starter paginapress


    josemv, I tried this code on several sites and didn’t work. Thanks anyway.

    Plugin Support Nick C


    @paginapress You could try changing ‘genesis_entry’ to ‘genesis_entry_content’ in the first line from the code above. That may fix things.

    You may also want to uncheck “Enable on post” in the Genesis → Simple Share settings to prevent the icons from displaying twice in your post footer.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Title before icons’ is closed to new replies.