Support » Theme: Accesspress Lite » How to delete the published date on latest event?

  • Resolved weiz

    (@weiz)


    How to delete the published date on latest event above featured image? I tried deleting it from appearance>editor>sidebar-left.php and sidebar-right.php, but it seems not work.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Access Keys

    (@access-keys)

    The code for it is in index-one.php
    Make sure you make child theme and work..
    Thanks

    Which code do I have to delete from the index-one.php and the sidebar.php to delete de date on de events..

    Theme Author Access Keys

    (@access-keys)

    Hi there,
    Please delete following code from the index-one.php

    <?php						if($accesspresslite_settings['show_eventdate'] == 1){
    if(!empty($accesspresslite_event_day) || empty($accesspresslite_event_month) || !empty($accesspresslite_event_year)){ ?>						<div class="event-date">
    <span class="event-date-day"><?php echo $accesspresslite_event_day; ?> <?php echo $accesspresslite_event_month; ?></span>
    <span class="event-date-month"><?php echo $accesspresslite_event_year; ?></span>
    </div>
    <?php }else {?>
    <div class="event-date">
    <span class="event-date-day"><?php echo get_the_date('j'); ?></span>
    <span class="event-date-month"><?php echo get_the_date('M'); ?></span>
    </div>
    <?php }
    }?>

    Note: Please make you make changes in Child theme. When theme is updated the changes will be replaced
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to delete the published date on latest event?’ is closed to new replies.