Remove date/author on pages
-
How do I remove the date/author on pages (not posts!). Thanks!
-
I’m guessing it’s within this code in the fullwidth.php page template:
<div class=”blog-post-lg”>
<?php echo get_avatar( get_the_author_meta(‘user_email’), $size = ’40’); ?><?php _e(‘By’,’appointment’);?>“><?php the_author();?>Not sure what to change, since the theme’s page.php is quite modified.
Hi
For this go to option panel ( Theme Dashboard >> Appearance >> option panel >> Social link and meta setting)
Then Find Meta setting
check enable and disable date/author on page.Thanks.
Doesn’t work. The date and author are still on my Pages whether it’s checked or unchecked.
I’m using WordPress SEO by Yoast. Could it be something in their settings?
Hi
For this
Kindly Replace the appointment >> functions >> template-tag.php and replace all the code with the code mentioned in the link.then follow this
For this go to option panel ( Theme Dashboard >> Appearance >> option panel >> Social link and meta setting)
Then Find Meta setting
check enable and disable date/author on pageThanks
It didn’t work. The date/author is still on Pages. And now I’m getting these errors when I try to modify the site Tagline:
Warning: Cannot modify header information – headers already sent by (output started at /home/ewnet/public_html/wp-content/themes/appointment/functions/template-tag.php:54) in /home/ewnet/public_html/wp-includes/pluggable.php on line 1178
.. or update a page that is scheduled for publishing:
Warning: Cannot modify header information – headers already sent by (output started at /home/ewnet/public_html/wp-content/themes/appointment/functions/template-tag.php:54) in /home/ewnet/public_html/wp-admin/post.php on line 233
Warning: Cannot modify header information – headers already sent by (output started at /home/ewnet/public_html/wp-content/themes/appointment/functions/template-tag.php:54) in /home/ewnet/public_html/wp-includes/pluggable.php on line 1178
Hi
Kindly Replace the appointment >> functions >> template-tag.php and replace all the code with the code mentioned in the link.
Thanks.
Thank you, that fixed the error messages. There still does not seem to be an option to turn off the date/author on my
Pages. It’s turned off on Posts (which I don’t want), but not on Pages. I want it off on my “About Us” and “Contact” pages, not on Posts.Hi
Please Press restore option panel Button after then enable and disable value and submit the option.
Thanks.
It doesn’t work regardless of whether or not it’s turned on. In template-tag.php I see this code:
`function appointment_aside_meta_content()
{
$current_options=get_option(‘appointment_options’);
if($current_options[‘meta_section_settings’]==’on’) { ?>
<!–show date of post–>
<aside class=”blog-post-date-area”>
<div class=”date”><?php echo get_the_date(‘j’); ?> <div class=”month-year”><?php echo get_the_date(‘M’); ?>,<?php echo get_the_date(<strong>’Y'</strong>); ?></div></div>
<div class=”comment”><a href=”<?php the_permalink(); ?>”><i class=”fa fa-comments”></i><?php comments_number( ”, ‘o’, ‘%’ ); ?></a></div>
</aside>
<?php } } endif;if ( ! function_exists( ‘appointment_post_meta_content’ ) ) :
function appointment_post_meta_content()
{ $current_options=get_option(‘appointment_options’);
if($current_options[‘meta_section_settings'<strong>]==’on’)</strong> { ?>
<div class=”blog-post-lg”>
<a href=”<?php echo get_author_posts_url( get_the_author_meta( ‘ID’ ) );?>”><?php echo get_avatar( get_the_author_meta(‘user_email’), $size = ’40’); ?></a><?php _e(‘By’,’appointment’);?><a href=”<?php echo get_author_posts_url( get_the_author_meta( ‘ID’ ) );?>”><?php echo get_the_author();?></a>`But the theme doesn’t recognize when it’s ‘off’. Can I change the ‘Y’ to an ‘N’ for No? Or the ‘On’ to ‘Off’ ?
Hi
any update here ?
Thanks.
I was able to get rid of the date/author by adding your custom css code. Thank you for that.
I have a question. Is this theme a modified version of https://templatic.com/app-themes/appointment ? I see there is all this coding for options like “testimonials” and “portfolio” and “dummy content” but the theme I downloaded from www.ads-software.com doesn’t support any of those options, and the ones I do have mostly don’t work.. not even with a clean install of the theme on a clean install of WP with no active plugins. Simple things like changing the copyright text in the footer. I have changed it in the Options panel and via the c-panel over and over again and the result is nothing. The Custom CSS option seems to work well.
What code added to Custom CSS change the footer text?
The background color disappeared on slide-text-bg1. Where do I add it and also make the box bigger?
Where do I change the color of the text and bg in the header?
Thanks
.
Hi
First of all we are not templatic.
Our theme shop name is webriti and the appointment theme on org is our’s.
You need to visit templatic support forums for this.
Thanks
Priyanshu
- The topic ‘Remove date/author on pages’ is closed to new replies.