• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Blissful meta data and signature issues

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Blissful meta data and signature issues

This topic is: not resolved

Tagged: blissful, meta data, signature

  • This topic has 12 replies, 3 voices, and was last updated 8 years, 10 months ago by krystyn.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • July 24, 2013 at 11:21 am #52264
    krystyn
    Participant

    My test site is here. I've added a signature using the Genesis Simple Hooks plugin, using the genesis_after_post_content Hook. However, it looks funny since it comes after the post meta data. I'm not sure how to move the meta data or move the signature above it, so I would really appreciate suggestions

    http://69.195.124.59/~domestq0/
    July 24, 2013 at 12:59 pm #52284
    Nile Flores
    Member

    While I am not using a signature, I am using an ad right after the post, but before the post meta.

    The area is a widget... so you would either have to register a widget and put your signature in, or alter the code below to suit your needs.

    /** Add after post ad section */
    add_action( 'genesis_after_post_content', 'blissful_after_post_signature', 9 ); 
    function blissful_after_post_signature() {
        if ( is_single() ) {
        echo '<div class="after-post-signature">';
    	
    	echo '</div><!-- end .after-post-signature -->';
    	}
    }
    

    I help people rock out their sites! – Blondish.net

    July 24, 2013 at 1:03 pm #52286
    krystyn
    Participant

    Is that what you used to register your widget? I have to go back and remember how to do that.

    Also, what is the 9 for at the end of the first line?

    With the code you have there, it looks like it would have the same impact as using the simple hooks that I did? I did it right in the genesis_after_post_content as well.

    July 24, 2013 at 1:16 pm #52288
    Nile Flores
    Member

    Oops... I went and modified the code... no need to register a widget.... 🙂 Sorry... when I did that, I should have edited the text too.


    I help people rock out their sites! – Blondish.net

    July 24, 2013 at 1:21 pm #52290
    krystyn
    Participant

    Okay, php is my nemesis....where do I put the actual image for the signature code? Between the two echo lines?

    July 24, 2013 at 1:22 pm #52292
    Nile Flores
    Member

    The number 9 gives importance to it and puts it above the post meta.

    The code goes in your child theme's functions.php


    I help people rock out their sites! – Blondish.net

    July 24, 2013 at 1:28 pm #52295
    krystyn
    Participant

    No. Sorry, where do I actually put the link to the image that I want to be the signature? Within that code? I know the code itself goes in functions.php.

    Sorry....it's been a long day.

    This is what I currently have in the simple hook:

    <?php if (is_single()) { ?>
    <img src="http://69.195.124.59/~domestq0/wp-content/uploads/2013/07/nicole.png" /></a>
    <?php } ?>
    July 24, 2013 at 2:04 pm #52309
    krystyn
    Participant

    Unfortunately, it still goes beneath the social sharing and the linkwithin, but hopefully, there is another fix for that?

    For anybody looking:

    /** Add after post ad section */
    add_action( 'genesis_after_post_content', 'blissful_after_post_signature', 9 ); 
    function blissful_after_post_signature() {
        if ( is_single() ) {
     echo '<div class="after-post-signature">';
    echo '<p><img src="URL OF IMAGE" />'; '</p>';  	
    	echo '</div><!-- end .after-post-signature -->';
    	}
    }
    July 24, 2013 at 2:10 pm #52310
    Debra Scott
    Member

    change the 9 to an 8 or 7 or whatever puts it where you want.


    need help with your business or personal website? Contact me at Fat Cat Designs

    July 24, 2013 at 2:12 pm #52311
    krystyn
    Participant

    Thanks! I only tried bigger numbers, not smaller!

    July 24, 2013 at 2:16 pm #52316
    krystyn
    Participant

    Hmmm...tried 1-9 and it still won't move it. It's probably because of something in the plugins, but I hate to edit that because it often gets written-over in updates.

    July 24, 2013 at 3:17 pm #52327
    Nile Flores
    Member

    Are your social sharing icons a plugin?

    You would have to go and edit the plugin's files. Not a good idea especially if you are using plugins that are constantly being updated.

    You would have to put them at a lower number or use a manual method with a hook. I don't use a social share plugin anymore and have buttons in mine using hooks and have them placed just under the post meta. ( Example : look at my single posts on blondish.net )

    If you are using Digg Digg, you can do this with the manual option... again, you would put the code together and use a hook.

    LinkWithin... See if they have a manual code option. If they do not.... try YARRP ( Yet Another Related Post Plugin)... there is a manual option described in that plugin.


    I help people rock out their sites! – Blondish.net

    March 17, 2014 at 6:27 pm #95395
    krystyn
    Participant

    @blondishnet can you point me in the right direction for putting the social buttons together? I know where to grab the code for the buttons, but I'm not sure how to put it together.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble