-
maggieflynnParticipant
we set up our blog page using the full width portfolio template, in order to show only certain posts –
http://isthmusandstrait.com/blog/
but only the posts titles are showing –
how do I get the full content of each post (text & images) to display as well? thanks!!!Daniel TaraKeymasterYou have assigned the blog category as portfolio and that’s how portfolios behave. If you want to display the excerpt you need to unassign the blog category as portfolio.
maggieflynnParticipantI see… when we had it previously set up as a blog template, it was showing the sticky slider images as the first few posts (unwanted), and all posts in the grid format (unwanted), neither of which I could fix with the theme options – ak!
KashemyParticipantThere’s a plugin that might fix your problem maggie. It’s called WP Exclude From Homepage. I use it on my own site aswell and it works like a charm! π
Hope it helps!
Daniel TaraKeymasterYou can disable the slider via theme options and you can show all posts as full, see here how.
maggieflynnParticipantOK – so I have the page set up as blog full width –
http://isthmusandstrait.com/blog/
now I need to exclude those first three sticky posts that are set up as the slider on the home page…
I found this code in the codex- to exclude certain posts- I don’t know here to place it inside template-blog-full-width.php
anyone know?$query = new WP_Query( array( ‘post_type’ => ‘post’, ‘post__not_in’ => array( 160, 163, 165 ) ) );
// OR This WILL work
$exclude_ids = array( 160, 163, 165 );
$query = new WP_Query( array( ‘post__not_in’ => $exclude_ids ) );Daniel TaraKeymasterTry placing it on the first line of the template.
However, if you use a variable for the custom query you’ll have to use it for every call inside the loop (e.g.
$query->have_posts()
instead ofhave_posts()
). A workaround is to usequery_posts()
instead of$query = new WP_Query();
Tagged: portfolio template full posts
You must be logged in to reply to this topic.