Forums

Tag Link Title?! (2 posts)

  1. GHSchenk
    Member
    Posted 5 months ago #

    Hey everyone. I wanted to add a title="" attribute to the tags generated to every post. I found out, that it is implemented in the loop.php in my template. It says:

    $tags_list = get_the_tag_list( '', ',');
    if ( $tags_list ):
    <span class="tag-links">
    <?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
    </span>

    So now my Question is. How do i get into the code to manipulate the generated href and add a title to it as the variable $tags_list stores the whole html stuff.

    Same Question goes to Pagenavigation:

    <?php if (  $wp_query->max_num_pages > 1 ) : ?>
    				<div id="nav-below" class="navigation">
    					<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentyten' ) ); ?></div>
    					<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div>
    				</div><!-- #nav-below -->
    <?php endif; ?>
  2. GHSchenk
    Member
    Posted 5 months ago #

    so ... no one got an idea?

Reply

You must log in to post.

About this Topic