Custom Post Types in Slider
Graphene Theme Options
What do you want to show in the slider
Show specific posts/pages
Go to posts on dashboard and hover the mouse on “books” post.
you’ll see an address on the statu bar.
in the example.. “9” is your post IDAdmin
You would need to create a child theme first for this. See here for instructions:
Post back again when you’ve created a child theme, or if you need any help doing that.Admin
Yes, make a
functions.phpfile in your child theme and add this code:
* Modify the post types to be displayed in the slider
return array( 'post-type' );
add_filter( 'graphene_slider_post_type', 'graphene_slider_post_type' );
post-typewith the post type you want to be displayed in the slider.
- You must be logged in to reply to this topic.