• Resolved BandittenJacob

    (@bandittenjacob)


    I have made my post categories my menu items, and when you press it, you get to a site that says “Category Archive: Krea”, or as my site is in danish it says “Kategori arkiv: Krea”, but i want it to only say “Krea”. I have located the this:

    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    and i figure that this is where i need to do something or make a filter i functions.php, that filters out the text, when the class is posted.

    But how and what do i need to do?

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter BandittenJacob

    (@bandittenjacob)

    i did this, in the category.php by changing the code:

    printf( __( 'Category Archives: %s', 'smpl' ), single_cat_title( '', false ) );

    to this code:
    printf( __( '%s', 'smpl' ), single_cat_title( '', false ) );

Viewing 1 replies (of 1 total)
  • The topic ‘Filter to remove Categori Archive: %s in skeleton theme’ is closed to new replies.