1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

All My Categories Are Showing Category Archive: Before The Category Name!

Discussion in 'Blogging' started by cpacashman, Jun 16, 2011.

  1. cpacashman

    cpacashman Junior Member

    Joined:
    May 17, 2011
    Messages:
    141
    Likes Received:
    4
    I just made a new category & a then a new sub category under
    the parent I then made a post & put the post in both of them.

    When I click on the post it's showing up as a Category Archive:
    this is a new post why is it showing up as a archive.

    I'm using the NewsPublish 1.0 theme
     
  2. kez1000

    kez1000 Supreme Member

    Joined:
    Jul 24, 2009
    Messages:
    1,403
    Likes Received:
    1,340
    Location:
    UK
    is that somthing to do with your permalink stucture it should be somthing like this

    /%category%/%postname%
     
  3. meakerseeker

    meakerseeker Regular Member

    Joined:
    Jan 3, 2010
    Messages:
    385
    Likes Received:
    23
    I edited the archive.php file & that did it.

    PHP:
    ---------
    if (is_category()) { printf( __( 'Category Archives: <span>%s</span>', 'themater' ), single_cat_title( '', false ) );
    ---------
    just simply edit it to
    PHP:
    ---------
    if (is_category()) { printf( __( 'Category : <span>%s</span>', 'themater' ), single_cat_title( '', false ) );