Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #4560


    I bought the issue and expose liked, but I need to do some customizations.

    The customizations are:

    I’ve customized dimensions of images in the gallery through the functions.php file and it was right, but also changed the blog.

    My question is this, I looked single.php file is the same, but how can I customize the image galleries and blog in different ways.

    Please wait response. thanks



    because both (gallery + blog) are based on the same template it’s not possible without using a plugin like:

    1) You need to create a template:

    a) Just make a copy of single.php, rename it to gallery_post.php and paste the following code before the first code line.

    Template Name Posts: Gallery Template

    2) In gallery_post.php replace the thumbnail dimensions:

    $big_prev_image = kriesi_post_thumb($post->ID, array('size'=> array('L'),
    'wh' => $k_option['custom']['imgSize']['L'],
    'display_link' => $prev_image_link,
    'linkurl' => array ('XL','_preview_big')

    Replace “L” with any other dimension defined in functions.php or you can even define your own one. Then select the template for gallery entries on your post/page editor page.



    Sorry for the delay to thank Help. It’s pretty good.



    Glad that I could help you :)

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

The topic ‘Expose. Customizar galeria de imagens e blog de formas diferentes’ is closed to new replies.