Hi,
Welcome to WordPress.
It is easy to edit and disable the date/time details by editing your theme. WordPress comes with an inbuilt code editor and once you get the hang of how WordPress is structured, editing themes is simple and mostly break-proof.
What is the theme you are using? If it is a free theme, I can take a shot at telling you which file to edit and what to change.
Thanks,
Ramesh
Thread Starter
ang333
(@ang333)
How do I find this built in code editor? I am using a free theme Stargazer. Also, how do I preview what my site looks like? In blogger it was easy. I just hit preview or view site. Thanks.
Once you login to your admin dashboard, you will see a menu item called “Appearance”. The last sub-item in this menu is Editor. Click on the Editor and by default the current theme is loaded for editing. (You can use the drop down at the top of the editable area to begin editing another theme).
Okay, so now you should have the Stargazer theme loaded in the Editor. The list of files that are part of the Stargazer theme should be displayed as links to the right of the page. Find the file content/content.php and click it. This file will now load into the editor
Search for <div class="entry-byline"> (will be there twice in the file) and comment the following lines below it
<span <?php hybrid_attr( 'entry-author' ); ?>><?php the_author_posts_link(); ?></span>
<time <?php hybrid_attr( 'entry-published' ); ?>><?php echo get_the_date(); ?></time>
to appear as
<!-- <span <?php hybrid_attr( 'entry-author' ); ?>><?php the_author_posts_link(); ?></span>
<time <?php hybrid_attr( 'entry-published' ); ?>><?php echo get_the_date(); ?></time> -->
PS: This will affect only regular posts, if you are posting galleries, audio etc. other files will have to be edited
Regarding the second question, WordPress has a feature called Live Preview. From your themes page, hover over any theme screenshot. You will see a button called Live Preview which will show you how that theme looks with your site content.
thecodeisclear: Thank you contributing to the forums but please do not encourage people to edit theme files directly. At best, they will lose all of their changes when they update the theme. At worst, they could bring their site down. They should be recommended to create a child theme or use a custom CSS plugin for their changes.
@esmi: Yes, you are right. Sorry about that. Got caught in trying to fix the problem that I didn’t realize potential pitfalls.
Thread Starter
ang333
(@ang333)
I haven’t written any posts yet so nothing is going to come crashing down. I went to the stargazer support page but there doesn’t seem to be a way to look up how to change the date. There isn’t a search window. I was told that WordPress was user friendly but it’s more for technical people than the average user.