WordPress.org

Ready to get started?Download WordPress

Forums

Archives/Catergories and Search not displaying correctly (3 posts)

  1. garydavison
    Member
    Posted 3 years ago #

    Hi,

    I have created a theme that works correctly on my Local sever but when I upload it to my DEV server it doesn't.

    The issue is the Archives, Catergories and Search pages:

    http://wp.attackoftheweb.co.uk/category/uncategorized/

    The Category name isn't being displayed correctly in the H1 tag, heres the code I have:

    <h1>
    		<?php
    					printf( __( 'Category Archives: %s', 'twentyten' ), '' . single_cat_title( '', false ) . '' );
    				?>
    	</h1>

    As it works locally I'm guessing there is something in the WP admin that has to be changed? Set up?

    Any help would be appreciated.

    Thanks

  2. Thejas Kamath
    Member
    Posted 3 years ago #

    @garydavison,

    Since I don't know more about PHP programming, I suggest you to use style.CSS sheets for the categories to show as Heading.

    Thanks

  3. garydavison
    Member
    Posted 3 years ago #

    @Thejas thanks for the response but unfortunately that doesn't really help me.

Topic Closed

This topic has been closed to new replies.

About this Topic