Home Forums Theme Support Fitness No 'date' and 'author' in classes

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #4468

    Hi,

    Is there a way to skip the meta-date and meta-author in classes?

    Thanks in advance,

    Ton.

    #4470

    Hi there,

    The classes must not show the meta by default. Can you post the content of the file named “post-meta.php” located in the theme’s folder > framework > inc?

    Cheers!
    Chris

    #4493

    /* ———————————————————————— */
    /* Post Meta
    /* ———————————————————————— */
    ?>
    <!– entry meta –>

    <aside class=”entry-meta clearfix”>

      <li class=”meta-date”>
      <?php _e(‘On: ‘, ‘sd-framework’); ?>
      <span class=”meta-gray”>
      <?php the_time(get_option(‘date_format’)); ?>
      </span>
      <li class=”meta-author”>
      <?php _e(‘By: ‘, ‘sd-framework’); ?>
      <span class=”meta-gray”>
      <?php the_author(); ?>
      </span>
      <?php if ( ‘wcs3_class’ !== get_post_type() ) : ?>
      <li class=”meta-category”>
      <?php _e(‘In: ‘, ‘sd-framework’); ?>
      <?php the_category(‘, ‘); ?>
      <?php the_terms( $post->ID, ‘events_filter’, ”, ‘, ‘, ” ); ?>

      <?php endif; ?>
      <?php
      $post_tags = the_tags(‘<li class=”meta-tag”>’. __(‘Tagged: ‘, ‘sd-framework’) .”, ‘ , ‘, ‘‘);

      if ($post_tags) {
      $post_tags;
      }
      ?>

    </aside>
    <!– entry meta end –>

    #4494

    By the way: very quick response 🙂

    #4495
    This reply has been marked as private.
    #4496

    That’s weird, I think you have an older version of the file. I’ve attached the new version. Simply replace the one you have with the one in the archive.

    Let me know how’s going.

    Cheers!

    #4500

    Perfect!
    That is a quick solution!
    Thanks a lot. I am happy 😉

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

You must be logged in to reply to this topic.