Custom Post Types in Slider
-
Graphene Theme Options
->
Slider 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.
ex.yoursite.com/wp-admin/post.php?post=9&action=edit
in the example.. “9” is your post ID
Hi! Here is link to my test web site: http://musicnow.pl/
As you can see there is “Books” page for all books items.
Admin
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.php
file in your child theme and add this code:<?php
/**
* Modify the post types to be displayed in the slider
*/
function graphene_slider_post_type(){
return array( 'post-type' );
}
add_filter( 'graphene_slider_post_type', 'graphene_slider_post_type' );Replace
post-type
with the post type you want to be displayed in the slider.
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.