Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi,

    Thank you !

    No need to override the templates to do that.
    In Sections Content (of your fullpage or page) or in Slides Content (of your section), choose Sections Type Post Types, activate the Teaser option then choose the post type you need in Post Type. Now in your custom post type, add the read more markup. That’s it.

    Let me know if you need something else.

    Regards,

    Julien

    Thread Starter Davitt Steed

    (@davitt-steed)

    Hi,

    Awesome, thanks, that is a simpler solution. Is it possible to use a custom excerpt and have this display on the Custom Post Type Slide? So my slide would be structured like this:

    Post Title (permalinked)
    Custom excerpt
    Custom Button (permalinked)

    with featured image in background.

    Thanks again.

    D

    Plugin Author Julien Zerbib

    (@julien-zerbib)

    Hi,

    You can use the WP methods as you want to achieve that in YOURTHEME/wp-fullpage/loop/slide.php :

    • the_permalink( WPFP_Query()->get_slide_ID() );
    • get_the_title( WPFP_Query()->get_slide_ID() );
    • get_post_meta ( WPFP_Query()->get_slide_ID(), 'your_meta_key' )

    And you can also use :
    WPFP_Query()->get_content( ... );
    as described here http://docs.juzed.fr/wp-fullpage/classes/WP_Fullpage_Query.html#method_get_content

    Let me know if that helped..

    Regards,

    Julien

    Thread Starter Davitt Steed

    (@davitt-steed)

    Ok, many thanks I will have a look and see.

    Cheers,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Excerpt and Permalink on custom post type slide’ is closed to new replies.