Title: Post Tab Widget Meta Data
Last modified: September 3, 2021

---

# Post Tab Widget Meta Data

 *  Resolved [jpr105](https://wordpress.org/support/users/jpr105/)
 * (@jpr105)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/post-tab-widget-meta-data/)
 * I really enjoy ‘Post Tab’ widget but I have a problem with the ‘meta data’ section
   where author and date are displayed.
 * To remove the author I added this CSS:
 *     ```
       .ha-post-tab-meta-author {
          display: none !important;
       }
       ```
   
 * However, concerning the date I can’t 1) make it NOT clickable 2) change its display
   format (YYYY-MM-DD)`
 * Any help
    Thanks – Jean-Paul

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [jpr105](https://wordpress.org/support/users/jpr105/)
 * (@jpr105)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/post-tab-widget-meta-data/#post-14841489)
 * I answer my own comment
 * So I modified “happy-elementor-addons/widgets/post-tab/widget.php” like that
 * **Before**
 *     ```
       <div class="ha-post-tab-meta">
       <span class="ha-post-tab-meta-author">
       <i class="fa fa-user-o"></i>
       <a href="<?php echo esc_url( get_author_posts_url( $post-
       >post_author ) ); ?>"><?php echo esc_html(
       get_the_author_meta( 'display_name', $post->post_author ) );
       ?></a>
       </span>
       <?php
       $archive_year = get_the_time( 'Y', $post->ID );
       $archive_month = get_the_time( 'm', $post->ID );
       $archive_day = get_the_time( 'd', $post->ID );
       ?>
       <span class="ha-post-tab-meta-date">
       <i class="fa fa-calendar-o"></i>
       <a href="<?php echo esc_url( get_day_link( $archive_year,
       $archive_month, $archive_day ) ); ?>"><?php echo get_the_date(
       "M d, Y", $post->ID ); ?></a>
       </span>
       </div>
       ```
   
 * **After**
 *     ```
       <div class="ha-post-tab-meta">
       <?php
       $archive_year = get_the_time( 'Y', $post->ID );
       $archive_month = get_the_time( 'm', $post->ID );
       $archive_day = get_the_time( 'd', $post->ID );
       ?>
       <span class="ha-post-tab-meta-date">
       <i class="fa fa-calendar-o"></i>
       <?php echo get_the_date( "j F Y", $post->ID ); ?>
       </span>
       </div>
       ```
   
 * It works like a charm but when I change tabs, the old layout comes back … like
   there is a ghost in this code …
 * I don’t understand and it’s beyond my capabilities
 * Strange isn’t it?
 *  [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/post-tab-widget-meta-data/#post-14852520)
 * Hello [@jpr105](https://wordpress.org/support/users/jpr105/)
 * >  I can’t 1) make it NOT clickable 2) change its display format (YYYY-MM-DD)
 * 1) To make the date meta unclickable you can use CSS like:
 *     ```
       .ha-post-tab-meta-date {
           pointer-events: none;
       }
       ```
   
 * 2) We don’t recommend changing the plugin’s core for customization as this will
   revert after an update. However, I assume the changes are not affecting cause
   the date & the inside content is rendering after the Ajax call.
 * 👉 Regarding the “**Date Format**,” I have kept this on our internal bucket list
   to facilitate a user controller to change it on their own. You can use this if
   we bring this feature with our plugin soon.
 * I hope this will helps.
    Regards.
    -  This reply was modified 4 years, 10 months ago by [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/).
 *  Thread Starter [jpr105](https://wordpress.org/support/users/jpr105/)
 * (@jpr105)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/post-tab-widget-meta-data/#post-14854059)
 * Hello [@aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Thank you for your reply
 * I completely agree with you about changing the code.
 * Thanks for your CSS tip, the date is no longer clickable!
 * So, thanks to the CSS I was able to
    1) make the author’s name disappear 2) make
   the date not clickable
 * Now I just have to wait for these settings to be integrated in the widget interface
 * Thanks in advance
    Regards
 *  [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/post-tab-widget-meta-data/#post-14862322)
 * Hi,
 * Thanks for the acknowledgment.
 * You can taste it once we introduce this. Currently, it’s under our reader. I 
   hope the team will review this feature and take further action.
 * Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Post Tab Widget Meta Data’ is closed to new replies.

 * ![](https://ps.w.org/happy-elementor-addons/assets/icon-256x256.png?rev=2110879)
 * [Happy Addons for Elementor](https://wordpress.org/plugins/happy-elementor-addons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/happy-elementor-addons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/happy-elementor-addons/)
 * [Active Topics](https://wordpress.org/support/plugin/happy-elementor-addons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/happy-elementor-addons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/happy-elementor-addons/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/post-tab-widget-meta-data/#post-14862322)
 * Status: resolved