portfolio page with full posts

Viewing 7 posts - 1 through 7 (of 7 total)
  • #15192
    maggieflynn
    Participant

    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!!!

    #15193
    Daniel Tara
    Keymaster

    You 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.

    #15194
    maggieflynn
    Participant

    I 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!

    #15201
    Kashemy
    Participant

    There’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!

    #15205
    Daniel Tara
    Keymaster

    You can disable the slider via theme options and you can show all posts as full, see here how.

    #15217
    maggieflynn
    Participant

    OK – 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 ) );

    #15223
    Daniel Tara
    Keymaster

    Try 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 of have_posts()). A workaround is to use query_posts() instead of $query = new WP_Query();

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.