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

    Hello, First off great theme 10 out of 10 for that :).

    Just need a little help with setting it up, Id like to use it for my design company.

    I have the thing designed to my companies look now, But what i wanted to know was:

    1.How Can i add an image to the preview section before you read a post.??

    Please see the link here

    Id like an image like a smaller version of the front slider size above “Hardcore Underground vs Ravers Are:” but bellow “Archive for Print” so they can see a preview of the work before they go in.

    2. And secondly could i get rid of the text on the post preview? So it would just be the image (as stated above) The name of the post and “Read More”

    Really appreciate your help on this one as i say i love the theme

    Thank you in advance.


    Just my personal opinion but you should consider a more intuitive menu. In my point of view users will have some problems to find and use your main menu.

    The Dude



    To cover your questions:

    1.) Yes this is possible, open up category.php (this is the template your “preview section” aka category archive uses), and find this code:

    <?php if (have_posts()) :
    while (have_posts()) : the_post(); ?>

    Immediately after it add this code:


    // check if we got a previe picture, and which one should be taken
    // (image resizing with "tim thumb" on? then we can take the big one and resize it)
    $preview_small = get_post_meta($post->ID, "_preview_small", true);
    $preview_medium = get_post_meta($post->ID, "_preview_medium", true);
    $preview_big = get_post_meta($post->ID, "_preview_big", true);

    $preview = $preview_medium;
    $link_url = $preview_big;
    $lightbox = 'singlepost';
    $link = true;
    //change if necessary:

    // resizing? => take next sized picture
    if ($k_option['general']['tim'] == "1" && $preview_medium == "")
    $preview = $preview_big;

    // no bigpicture? => no lightbox
    if ($preview_big == "") { $lightbox = ''; $link = true; $link_url = get_permalink(); }
    // the kriesi_build_image function used here checks if the image should be resized.
    // the function is located in framework/helper_functions

    $preview = kriesi_build_image(array('url'=>$preview,
    'height'=> '273',
    'width'=> '610',

    2.) You need to change this:


    to this:

    echo $preview; // echo the preview image

    I agree with @dude, the navigation is hard to find and use, consider moving it to the top of the page or at least adding the search box there.

    Let me know if you have any other questions. :)


    Thanks for the advice, i havent finished layout as yet though, just added menu.

    How would i go about moving it down??

    And how could i move the search bar up next to it on left??

    If thats not to difficult haha


    Do you mean to move the menu down or something else?

    To add a search box, have a look at this topic: (Purchase code hidden if logged out) – whilst the theme is different the code to add is the same :)

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

The topic ‘a little help with Display set up’ is closed to new replies.