WordPress.org

Ready to get started?Download WordPress

Forums

Remove author and time (7 posts)

  1. graphmaster
    Member
    Posted 1 year ago #

    I know this has been covered many times, but I still can't find the solution. My posts at http://www.roswellcentennial.org are still showing the author and time posted. I have edited the index.php and single.php as well as page.php and removed the lines for that, but it continues to appear - only on the posts, not on the pages.

    Here is my single.php

    <?php get_header();?>
    
    <div id="content">
    	<?php if(have_posts()):?>
    	<?php while(have_posts()):the_post();?>
    	<div class="post">
    		<h2><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h2>
    
    		<div class="entry-content">
    			<?php the_content()?>
    			<?php wp_link_pages();?>
    			<div class="editlink"><?php edit_post_link('Edit','<p>','</p>');?></div>
    
    	</div>
        <?php endwhile;?>
        <?php endif;?>
        </div>
    
        <div class="pagecomments">
        	<?php comments_template();?>
        </div>
        </div>
        <div class="navigation"></div>
    <?php get_sidebar();?>
    
    <?php get_footer();?>
  2. graphmaster
    Member
    Posted 1 year ago #

    I need to revise this:

    It is the listing of the posts in the categories that is showing the author and info. What php file would that be?

  3. wpsecuritylock
    Member
    Posted 1 year ago #

    Looks like you're using a premium theme at

    http://www.dreamtemplate.com/templates/4179/deskspace.html

    You'll have to check with the developer there since those files aren't available to the public.

  4. graphmaster
    Member
    Posted 1 year ago #

    Yes, I paid for it. All their files are easily edited and there aren't that many. It is just that one page.....

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Not exactly sure what you want to get rid of -- but if it's the author and date on posts on this page:
    http://roswellcentennial.org/category/magazine/

    you can "hide" that line of text using CSS -- add the display: none; to the CSS on line 292 of style.css

    .entry-meta h1 {
        background-color: #FDF8F1;
        color: #B7A795;
        display: none;
        font-size: 12px;
        font-weight: normal;
        text-decoration: none;
        width: 67%;
    }

    But be forewarned that unless you are using a child theme or custom CSS, the change will be overwritten when you update the theme...

  6. wpsecuritylock
    Member
    Posted 1 year ago #

    Sorry but without seeing your files, it's hard to say.

    Try using an html editor and search for the code you removed before in all files.

    Example: <?php the_author() ?>

    http://codex.wordpress.org/Template_Tags/the_author

  7. graphmaster
    Member
    Posted 1 year ago #

    Thanks so much for all the quick responses. WPyogi, your fix worked wonderfully! You guys are awesome!

Topic Closed

This topic has been closed to new replies.

About this Topic