Before you ask please READ THIS

Imagens on the Portfolio, Change Place displayed.

edited May 2012 in Airlock Posts: 1
Hi there, How can I do to see the content in the portfolio below to the image. I mean, I would like to see the image always on the top followed by content.
Post edited by wmastorelli on

Comments

  • AirAir
    Posts: 10,970

    Hi:-) Edit file airlock/single-portfolio.php and insert after

    <?php get_sidebar(); ?>
        <div id="content">
            <div class="inner-640 post-blog post-portfolio">

    this code:

    <?php
                $variant = substr( get_post_meta(get_the_ID(), '_variant', true), 8 );
                //special case if liquid
                if( $variant == 'liquid' ) echo '</div>';
                
                $apollo13->make_collection( $variant );
                
                if( $variant == 'liquid' ) echo '<div class="inner-640 post-blog post-portfolio">';
    ?>

    also delete this code form lines ~51 to 57

    $variant = substr( get_post_meta(get_the_ID(), '_variant', true), 8 );
                //special case if liquid
                if( $variant == 'liquid' ) echo '</div>';
                
                $apollo13->make_collection( $variant );
                
                if( $variant == 'liquid' ) echo '<div class="inner-640 post-blog post-portfolio">';

    With regards.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion