How to get 'call to action' statement automatically at the end of each post

Community Forums Forums General Discussion How to get 'call to action' statement automatically at the end of each post

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29062

    pamlita
    Participant
    Post count: 9

    Hi,

    I would like to have a statement – call to action – added to the end of each of my posts automatically so I don’t have to type it each time I write a post.  My blog uses the Pretty Young Thing theme.

    Can you tell me how to do that?

    Thank you,

    Pam

    http://www.housewivesoffrederickcounty.com

    #29071

    braddalton
    Participant
    Post count: 7467

    Install the Genesis Simple Hooks plugin and add this code to the after post hook.

    <?php if (is_single() ) { ?>
    <p>Content-Goes-Here</p>
    <?php } ?>
    

    Or add your content to this function and paste it at the end of your child themes functions.ph file.

    Then you can use the new class to style your content.

    Or you can add a widget after all single posts

    To change the location the widget outputs content, change the hook. http://genesistutorials.com/visual-hook-guide/


    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

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

You must be logged in to reply to this topic.