Support » Plugin: Simple Share Buttons Adder » How to display buttons in entry meta

  • My site isn’t live yet. I’m using a Genesis child theme.

    I’d like the buttons to display on the same line as the date, just under the entry title. I added the shortcode to the entry header, but the date is wrapped in a paragraph. The buttons show up below that with their own div.

    I’m not clear on how to merge them together on the same line. I’d welcome some suggestions on how to do this.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • In Safari’s inspector tool I can move the Simple Share code to inside the entry meta paragraph tags, and I can style it with CSS from there.

    I’m also able to see in the parent theme file the code where they assign a paragraph wrap to the entry meta. But I’m not sure how to address this for the child theme. If I’m successful at creating a child template and getting this to work, I’ll post the results here.

    But there are gaps in my knowledge, and that’s why I keep getting stuck.

    Removed and pasted into a new discussion.

    • This reply was modified 1 year, 1 month ago by  ceedee123.

    If it helps, I’m using the eleven40 Pro theme by StudioPress.

    When I type a word next to the date, it displays inside the paragraph tag:

    add_filter( 'genesis_post_info', 'themeprefix_post_info_filter' );
    function themeprefix_post_info_filter( $post_info ) {
    	$post_info = '[post_date] HELLO';
    	return $post_info;

    But when I replace HELLO with the Simple Share shortcode, it’s not included inside the paragraph tags, and it displays on a new line. I realize I need to change the CSS, but I don’t understand why the shortcode would be excluded from the paragraph tags. Maybe just removing the paragraph tags and using divs for the entry meta would be better, but I’m unsure of how to do that. WordPress really seems to like those paragraphs tags.

    When I replace the date with the shortcode, the icons display where the date was located, directly under the post title. But not inside the paragraph tags.

    The paragraph tags seem to be the reason I can’t get the post date and share icons to display on the same line.

    Got the same problem. Did u find any solution?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to display buttons in entry meta’ is closed to new replies.