Page no published date
-
Hey,
I have my wordpress blog at http://www.josecgomez.com the page has no pubish date at all http://www.josecgomez.com/about/ but all my other pages http://www.josecgomez.com/professional/ and http://www.josecgomez.com/personal/ do. Why is this happening and how do I make it so that none of my pages have dates or all of them ahve dates. I don ‘t like the differenceThanks
-
I found this code in the pages template. That explains it, but why would you do this?
<?php if (!(is_page('about') || is_page('contact') || is_page('Sitemap') || is_page('tags')) ) :?> <div class="entrydate"><div class="dateMonth"><?php the_time('M'); ?></div><div class="dateDay"><?php the_time('j'); ?></div> </div> <?php endif; ?> <div class="entrytitle"> <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1> -
i replaced this code
<?php if (!(is_page('about') || is_page('contact') || is_page('Sitemap') || is_page('tags')) ) :?>with
<?php if(!(is_page());?>and that worked
Thanks
-
And absolutely NONE of what you posted applies here at wordpress.COM. We do not have access to php files here. This should have been posted in the wordpress.ORG forums. https://en.forums.wordpress.com/topic/please-read-me-first-before-posting?replies=1
- The topic ‘Page no published date’ is closed to new replies.