• 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

Automatic CTA snippet at bottom of post?

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 › General Discussion › Automatic CTA snippet at bottom of post?

This topic is: not resolved
  • This topic has 29 replies, 4 voices, and was last updated 11 years, 8 months ago by mborger.
Viewing 10 posts - 21 through 30 (of 30 total)
← 1 2
  • Author
    Posts
  • June 16, 2013 at 5:31 am #46233
    mborger
    Member

    Awesome - this is what I've been looking for. I didn't know it created a widget, so I never thought to look there. I guess all I have to do is repeat the previous steps and change the titles in the code (and create the matching category) to set up my other triggers.

    Ok, I'm going to play with this for a week or so and try to get it all in order (on vacation in Japan, so I'm online in short bursts only for the next few days).

    Thanks for all your help!

    June 16, 2013 at 5:40 am #46234
    Brad Dalton
    Participant

    No worries.

    Its a great solution for displaying the same content in the same position for posts in one specific category or tag.

    Custom fields extend this solution further enabling you to display unique content in the same position for different posts assigned to one specific category or tag.


    Tutorials for StudioPress Themes.

    June 17, 2013 at 7:21 am #46332
    mborger
    Member

    So I tried creating my second post footer, this one for foreclosures, replacing all the 'sell-house-one' of the above code with 'foreclosure-one' and pasting just below the 'sell' code in functions.php. I created a foreclosure-one category and assigned one post to it. The problem is -- I don't see the widget at all in the widget screen. Do I need to make another change to the code for each successive/different one I implement?

    June 17, 2013 at 8:39 am #46340
    Brad Dalton
    Participant

    Can you please send me a copy of your theme files [email protected]


    Tutorials for StudioPress Themes.

    June 17, 2013 at 8:57 am #46346
    Brad Dalton
    Participant

    I think you forgot to also register a new widget:

    genesis_register_sidebar( array(
    'id' => 'foreclosure-one',
    'name' => __( 'Foreclosure One', 'wpsites' ),
    'description' =>  __( 'Foreclosure One Widget After Tagged Posts', 'wpsites' ),
    ) );
    

    Tutorials for StudioPress Themes.

    June 17, 2013 at 9:51 am #46357
    cfb1972
    Member

    Use a custom widget (or create one if your theme does not have one) and use Simple Sidebars plugin for Genesis to add the desired widget to the desired post.

    The nice part is that if you update the link that you do this only in the widget and it gets automatically updated on all your previous posts.

    With Simple Sidebars the only "problem" is that you have to choose which widget to add to each article which could be a little bit of hassle if you have many "call to action" or different messages. You can choose which widget to show on each after-post sidebar on a post by post basis by simply choosing it in your article's dashboard.

    June 18, 2013 at 6:36 am #46505
    mborger
    Member

    That was it, Brad - thanks again!

    cfb -- Thanks for the suggestion. I'm not familiar with that plugin, but I think what Brad has set up for me will work out just fine because I can control multiple posts at once by simply changing categories. If I ever want to try a different call to action, i.e. different color, message or e-book cover, I can change it for all the posts in the same category at once instead of post by post. But I do appreciate your suggestion.

    June 18, 2013 at 12:27 pm #46591
    tommytx
    Member

    mborger,
    Interesting topic... Thanks to Bdalton for taking so much time...

    So we can follow along and maybe learn something is the link below where you are actually inserting the new info.

    along with the image of the book?  It will help us follow along.. to know what is being inserted.
    Download our FREE Hawaii Home Seller E-Book Today!
    BDalton has definitely got it all together I will visit his site to see if I  can learn more..

     

     

     

    June 18, 2013 at 7:48 pm #46671
    mborger
    Member

    Well I'm going to be playing with it for a while, so I wouldn't consider anything I have up there in the near term to be a finished product. I'm basically trying to mimic what I see at the bottom of every post on blog.hubspot.com because they're all about inbound marketing and conversion. Their end-of-post call to action is really one big graphic that links to a landing page, which is what I plan on doing as well. What I have up there is temporary.

    March 9, 2014 at 3:00 pm #94087
    mborger
    Member

    Hi Brad - I'm reopening up an old thread here - hope you're watching. Regarding bigrockinvestments.com , I recently changed themes from AgentPress 2.0 to Lifestyle Pro. I wanted to keep the same functionality that you kindly showed here. I copied over the same code block into the functions.php and put in some dummy text into the newly created widget, however I don't see anything on the actual site (ex. bigrockinvestments.com/intangibles-selling-house-hawaii/).

    Of course, I've cleared caches and CDN. Is there something else I may have to do given the new theme? Thanks.

  • Author
    Posts
Viewing 10 posts - 21 through 30 (of 30 total)
← 1 2
  • The forum ‘General Discussion’ 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

© 2025 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