adding stream page to genesis responsive slider ????

Community Forums Forums General Discussion adding stream page to genesis responsive slider ????

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  iaditya999 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7901

    iaditya999
    Participant
    Post count: 21

    I have created a stream page according to briangardner

    http://www.briangardner.com/stream-page/

    All I want to do is ..I want to add my stream page to the genesis responsive slider…The slider options give me the way to include either page,posts or post like content from stream page…But I just wanna insert custom stream page to slider…

    How do I ????

    #7907

    Chris Cree
    Participant
    Post count: 147

    The stream tutorial creates an archive template for automatically displaying the stream custom post type. You would have to create a page template  that shows the stream archive, create a page using that template where you add a featured image. Then you can add the page to the Genesis Responsive Slider.

    To create the page template put this in a page_stream.php file:


    <?php

    /*
    *
    * Template Name: Stream
    *
    * This template displays the Stream archive.
    */

    /** Remove the Genesis post content and replace with WordPress */
    remove_action( 'genesis_post_content', 'genesis_do_post_content' );
    add_action( 'genesis_post_content', 'the_content' );

    /** Remove the post title */
    remove_action( 'genesis_post_title', 'genesis_do_post_title' );

    /** Relocate the post info function */
    remove_action( 'genesis_before_post_content', 'genesis_post_info' );
    add_action( 'genesis_after_post_content', 'genesis_post_info' );

    /** Remove the post meta function */
    remove_action( 'genesis_after_post_content', 'genesis_post_meta' );

    genesis();


    #8173

    iaditya999
    Participant
    Post count: 21

    It worked…Many many thanks to you…

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

You must be logged in to reply to this topic.