Custom post type
-
Dear support team, dear Anders,
this is a very great job you have done with this theme, thanks for that !
I just migrate my website to your theme, and it really looks better now.
Still I encounter some difficulty to integrate my custom post type (labeled “idea”) into the index page, I created a child them then add this code to the index :$the_query = new WP_Query( array( 'post_type' => 'idea' ) ); if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); get_template_part( 'content', get_post_format() ); } }I also created the file single-idea.php, from your single.php, with the function fukasawa_flexslider still in it.
The list of my custom posts appears but the display is not the same… You get only a list, without any fukasawa style.
To be noticed, if I change “idea” to “page” or ”post”, the display is fine.How to do ?
Thanks a lot for your answer,
MorganeThe page I need help with: [log in to see the link]
The topic ‘Custom post type’ is closed to new replies.
