• First of all Thanks you for your very beautiful work!

    I have 2 questions :
    – I can’t find how to hide the date in the left/top corner of the photos. Is there a way to do it ? (I am not using the theme as a blog but a website that present my products, so no need to show the date of the paper)
    – Is it possible to display more than 2 columns of articles into pages ?

    Thank you

Viewing 1 replies (of 1 total)
  • Theme Author José Leonardo

    (@joseleonardo)

    Sorry for not replying early. I just saw your question today.

    I was checking your question and I found a bug on my code, thank you for that.

    First you will need to overwrite the function which is not working as it should on function.php at line 412. Replace lines 412 until 468 with the following code:

    function lupercalia_post_thumbnail( $args ) {

    if ( has_post_thumbnail() ) : ?>

    <?php if ( $args[‘link’] == true ) : ?>

    <div class=”entry-thumbnail”>

    “><?php the_post_thumbnail( $args[‘size’] ); ?>

    <?php if( $args[‘date’] == true) : ?> <p class=”icon-clock”><?php echo get_the_date(); ?></p> <?php endif; ?>

    </div> <!– .entry-thumbnail –>

    <?php else: ?>

    <div class=”entry-thumbnail”>

    <?php the_post_thumbnail( $args[‘size’] ); ?>

    <?php if( $args[‘date’] == true) : ?> <p class=”icon-clock”><?php echo get_the_date(); ?></p> <?php endif; ?>

    </div> <!– .entry-thumbnail –>

    <?php endif; ?>

    <?php else : ?>

    <?php if ( $args[‘sample’] == true ) : ?>

    <?php if ( $args[‘link’] == true ) : ?>

    <div class=”entry-thumbnail”>

    “><img src=”<?php echo get_template_directory_uri(); ?>/imgs/post/no-thumbnail.jpg” />

    <?php if( $args[‘date’] == true) : ?> <p class=”icon-clock”><?php echo get_the_date(); ?></p> <?php endif; ?>

    </div> <!– .entry-thumbnail –>

    <?php else: ?>

    <div class=”entry-thumbnail”>

    <img src=”<?php echo get_template_directory_uri(); ?>/imgs/post/no-thumbnail.jpg” />

    <?php if( $args[‘date’] == true) : ?> <p class=”icon-clock”><?php echo get_the_date(); ?></p> <?php endif; ?>

    </div> <!– .entry-thumbnail –>

    <?php endif; ?>

    <?php endif; ?>

    <?php endif;

    }

    After that, you will need to change the files content-single.php (line 9) and content.php (line 11) replace where ‘date’ => true to ‘date’ => false.

    About your question 2, this theme not allows to change the number of columns.

Viewing 1 replies (of 1 total)
  • The topic ‘No date in photo/article – More than 2 columns in pages’ is closed to new replies.