Add After Post Section

Community Forums Forums Design Tips and Tricks Add After Post Section

This topic is: not resolved

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

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

    denissemarie
    Participant
    Post count: 16

    Hello, I am using the Lifestyle theme on this website: http://www.lasvegasairzone.com

    Is it possible to add the After Post Widget/Section to this theme like the Eleven40 theme?

    I see the code in Theme Functions:
    /** Add the after post section */
    add_action( ‘genesis_after_post_content’, ‘eleven40_after_post’ );
    function eleven40_after_post() {
    if ( ! is_singular( ‘post’ ) )
    return;
    genesis_widget_area( ‘after-post’, array(
    ‘before’ => ‘<div class=”after-post widget-area”>’,
    ) );
    }

    Can I add it just like this to the Lifestyle theme?

    http://www.lasvegasairzone.com
    #49890

    Susan
    Moderator
    Post count: 8727

    To add an After Post Widget, you’ll want to register the widget, hook the widget (telling it where to place it), and then CSS to style it for your theme. Try this tutorial:

    http://www.briangardner.com/code/add-after-post-widget/


    Susan @ Graphically Designing I’d love to customize your website! I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

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

You must be logged in to reply to this topic.