WordPress.org

Ready to get started?Download WordPress

Forums

Trying to "clean" up posts (5 posts)

  1. dgmccain
    Member
    Posted 3 years ago #

    I'm using WP 3.0.3 with 2010 Weaver Theme and I am trying to clean up my posts and eliminate "clutter."

    (1) Can the Metatags (posted on, by whom, etc.) be eliminated? For my purposes they are not useful and are a distraction imo.

    (2) Each post contains the link to the previous post. Can this link be eliminated?

    Thanks!

  2. Matthew Denton
    Member
    Posted 3 years ago #

    Hi, you need to modify the 2010 Weaver Theme to make your changes. I am not familiar with the theme itself but you should look at the single.php, page.php, and loops.php (or similiar) files and remove the code that outputs the links you don't want the simplest way is that if you do a search for the display text "posted on" that is displayed next to the link you can typical find the code you need to remove/modify.

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Also, 2010 weaver is a child theme of 2010.

    So the function may not exist in 2010 weaver, it may be part of 2010

    http://codex.wordpress.org/Child_Themes

    If that's the case, you can remove functions from the parent theme within the child theme

  4. keesiemeijer
    moderator
    Posted 3 years ago #

    to remove (posted on, by whom, etc.) delete these lines fron loop.php and single.php:

    <div class="entry-meta">
    <?php twentyten_posted_on(); ?>
    </div><!-- .entry-meta -->

    To get rid of the next/previous links remove these lines in single.php"

    <div id="nav-above" class="navigation">
    					<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
    					<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
    				</div><!-- #nav-above -->

    and

    <div id="nav-below" class="navigation">
    					<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentyten' ) . '</span> %title' ); ?></div>
    					<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentyten' ) . '</span>' ); ?></div>
    				</div><!-- #nav-below -->
  5. DJF3
    Member
    Posted 3 years ago #

    Alternatively, if you have the Weaver (2010) theme:
    - Go to the Content Areas / Content BG section
    - Click the '+' for custom CSS and add the following code:
    .single #nav-above {display: none;} .single #nav-below {display: none;}
    - Click save

    Cheers
    DJ

Topic Closed

This topic has been closed to new replies.

About this Topic