Blissful meta data and signature issues

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

This topic is: not resolved

This topic contains 12 replies, has 3 voices, and was last updated by  krystyn 5 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #52264

    krystyn
    Participant
    Post count: 148

    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

    • This topic was modified 1 year ago by  krystyn.
    • This topic was modified 1 year ago by  krystyn.
    http://69.195.124.59/~domestq0/
    #52284

    Nile Flores
    Participant
    Post count: 29

    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

    #52286

    krystyn
    Participant
    Post count: 148

    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.

    #52288

    Nile Flores
    Participant
    Post count: 29

    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

    #52290

    krystyn
    Participant
    Post count: 148

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

    #52292

    Nile Flores
    Participant
    Post count: 29

    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

    #52295

    krystyn
    Participant
    Post count: 148

    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 } ?>
    • This reply was modified 1 year ago by  krystyn.
    • This reply was modified 1 year ago by  krystyn.
    • This reply was modified 1 year ago by  krystyn.
    • This reply was modified 1 year ago by  krystyn.
    #52309

    krystyn
    Participant
    Post count: 148

    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 -->';
    	}
    }
    #52310

    Debra Scott
    Moderator
    Post count: 132

    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

    #52311

    krystyn
    Participant
    Post count: 148

    Thanks! I only tried bigger numbers, not smaller!

    #52316

    krystyn
    Participant
    Post count: 148

    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.

    #52327

    Nile Flores
    Participant
    Post count: 29

    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

    #95395

    krystyn
    Participant
    Post count: 148

    @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.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.