Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #408


    1- I want my blog posts to be full-width as I need to show bigger images.

    How can I do that?

    2- How can I always display the full blog post instead of just the title?

    Please provide as much detailed explanation as possible, as I am not a programer.

    Thank you




    Just need to clarify a couple of things:

    1.) On archive pages or individual pages or both?

    2.) Do you mean the full blog post instead of the excerpt on archive pages?





    1) On both would be great. But particulary on individual pages.

    2) I mean when I click on the “Blog” page, where all the posts are, I want to see the full posts. Not just the excerpts.

    Another question: is it possible to have a sidebar on the right and one on the left on the homepage?

    Txs a lot.



    Ok, there are a few steps to complete:

    1.) Open up archive.php and change this code (right at the top):

    $k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
    // $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar

    to this:

    //$k_option['custom']['bodyclass'] = ""; //<-- Display Sidebar
    $k_option['custom']['bodyclass'] = "fullwidth"; //<-- Dont display Sidebar

    Make the same change in single.php.

    Next, you can adjust the image size by changing this:

    $preview_image = kriesi_post_thumb($post->ID, array('size'=> array('M'),
    'display_link' => array('lightbox'), // '_prev_image_link' or array('lightbox')
    'linkurl' => array ('fullscreen','_preview_big'),
    'wh' => $k_option['custom']['imgSize']['M']

    to this:

    $preview_image = kriesi_post_thumb($post->ID, array('size'=> array('XL'),
    'display_link' => array('lightbox'), // '_prev_image_link' or array('lightbox')
    'linkurl' => array ('fullscreen','_preview_big'),
    'wh' => $k_option['custom']['imgSize']['XL']

    Make the same changes in single.php.

    2.) To display the full post content, find and change this:

    <?php the_excerpt() ?>

    to this:

    <?php the_content() ?>

    3.) If you mean can you move one of the sidebars from the 2 column layout (as per the demo -> to the left of the content, no you can’t the sidebars are built into the same function. It is possible to modify the theme to add a separate sidebar – this is something I may put together in a tutorial if I get the time (no guarantees or timescale thought…).

    Hope this helps!


    Worked like a charm. Thanks a lot.

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

The topic ‘Remove sidebars from blog posts’ is closed to new replies.