Hello,
I have installed a glossary tooltip plugin for the definitions section of my site. This plugin uses the newspaper 9 post theme template to create each term page. However, how can I not show the date and author for these definition pages, but keep showing them on my regular post pages? I have emailed the tooltip plugin company as well, however, because they are using your theme’s template I thought I should email you as well. Here is one of my site’s definition term pages: https://www.techsiting.com/definition/vram/. Below is the php code of the term page, please help:
<?php get_header(); ?>
<div id=”left-area”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h1><?php echo apply_filters(‘cmtt_glossary_template_before_title’, get_option(‘cmtt_glossaryCustomTemplateBeforeTitle’, ‘Term: ‘));?><?php echo get_the_title() ?></h1>
<?php if (has_post_thumbnail()) : ?>
” title=”<?php the_title_attribute(); ?>”>
<?php the_post_thumbnail(); ?>
<?php endif; ?>
<?php the_content(); ?>
<?php
endwhile;
endif;
?>
</div>
<?php get_sidebar(); ?>
<?php
get_footer();
Hi,
So you want to not show the date and author in posts such as that one, glossary templates. The simplest way would be to use some CSS – http://prntscr.com/moix4x
This should not affect other posts – http://prntscr.com/moix8j
You could give it a try
.single-glossary article .td-module-meta-info {
display: none;
}
Thanks
Hi,
You’ll need to use a default page template or Page Builder + Latest Articles + Pagination, please check our documentation -> https://forum.tagdiv.com/page-templates-2/
Thank you!