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

    Hi

    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

    #46775

    Hey,

    because both (gallery + blog) are based on the same template it’s not possible without using a plugin like: http://wordpress.org/extend/plugins/custom-post-template/

    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.

    <?php
    /*
    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.

    #46776

    Hi

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

    thanks

    #46777

    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.