• Hello!

    I’m designing a template and I wanted to re-style the tag archive page.

    As the webpage will be for an artist, I decided to organize each project into a post with some tags. One of the navigation methods will be through a WP-Cumulus Flash tag cloud, where you’ll find key words that identify the feeling that each project passes.

    Part of the webpage is online at ameliatoledo.com. It’s just a sketchy… There’s no actual content over there.

    Once I click on each tag I want to display the entire posts, as each post will be a single image of the work with two lines of reference.

    So far I managed to hide the page title, the entry-meta and the entry utility but nothing appears on my page!

    I already created a post called espa?o with the tag “espa?o” but when you click on the tag on the cloud, nothing appears.

    The changes I did to the css are:

    .page-title {
    	display: none;
    }
    
    .entry-meta {
    	display: none;
    }
    
    .entry-utility {
    	display: none;
    }

    The Tag Archive php file looks like that (original so far):

    <?php
    /**
     * The template for displaying Tag Archive pages.
     *
     * @package WordPress
     * @subpackage Twenty_Ten
     * @since Twenty Ten 1.0
     */
    
    get_header(); ?>
    
    		<div id="container">
    			<div id="content" role="main">
    
    				<h1 class="page-title"><?php
    					printf( __( 'Tag Archives: %s', 'twentyten' ), '<span>' . single_tag_title( '', false ) . '</span>' );
    				?></h1>
    
    <?php
    /* Run the loop for the tag archive to output the posts
     * If you want to overload this in a child theme then include a file
     * called loop-tag.php and that will be used instead.
     */
     get_template_part( 'loop', 'tag' );
    ?>
    			</div><!-- #content -->
    		</div><!-- #container -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Anyone have tips on how can I manage to display the complete posts? I don’t want any text except from the post itself. After I’ll do the same changes to the category archives pages…

    Thanks a lot! Any help is welcome!

    Cheers,
    P.T.

Viewing 3 replies - 1 through 3 (of 3 total)
  • edit loop.php, find:

    <?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>

    to show the full content on all archive pages, change to:

    <?php if ( is_search() ) : // Only display excerpts for search. ?>
    Thread Starter pedro-tejada

    (@pedro-tejada)

    Thanks!

    Worked perfect!

    The only problem now, is that the images that will show up appears in the original szie, not in the one that I setup on my posts: https://ameliatoledo.com/tag/espaco/

    I changed the content image max width to 960px, so it shows my frontpage picture properly… Any tips on how to solve that?

    Again,
    Thanks a lot for the help!

    EDIT: I tried to play with some CSS settings… I figured out that my Single Column page template don’t align the text in the center of the page: https://ameliatoledo.com/biografia/

    How could I solve that without messing up the other page template? (Right sidebar)?

    Thread Starter pedro-tejada

    (@pedro-tejada)

    I kinda started to solve my problem using body classes. For the home page ID (6), I set a larger width for the content image! Worked ok…

    No I’m just facing one problem: I want to have the text at 960px in some of my pages, but I can’t add any body classes to .entry-content. If I switch the entry content on those pages to 960px they happens to work exactly like I want, but it messes up with the other pages that have sidebars… There are any ways to add a body class to .entry-content, so only in the pages I want it would setup a 960px width?

    Thanks a lot again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Re-Styling Twenty Ten Tags Archives Page’ is closed to new replies.