Support » Themes and Templates » Changing some fugly bits of text

  • I’ve re-built my website on a new version of WP-Framework, it seems to be quicker loading than the older version I was using. But I’m having some difficulty in figuring out some stuff, I want to be able to change some bits of text, most notably on the tag archive pages, and I can’t seem to figure out where to go to change them.

    For ex. the page has the title Post Tags Archives, which I think is very ugly (with the double plural in there)… the old version had “Tag Archives” which makes much more sense. I feel this is a script putting together words at random, and I’ve not been able to find the string by searching the folders of php. (I do find the parts that create the Monthly, Weekly etc. Archives but I’m not using those in my theme.)

    Anyone know what file to edit to root this out?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Phil


    Have a look in archive.php (if you have one).

    It isn’t in archive.php, this new version of wp-framework is working differently, building templates from parts… which is what throws me off.

    I am assuming it comes from wpf.php, but there also it’s not a simple string, it’s being constructed from several other places:

    line 542
    if ( is_category() || is_tag() || is_tax() ) {
    $tax_object = get_taxonomy( $queried_object->taxonomy );
    $archive_title = sprintf( __( ‘%s Archives<span class=”meta-sep”>:</span> <span>%s</span>’, t() ), $tax_object->label, $queried_object->name );

    Maybe I shouldn’t have switched, I’m not sure this is a superior theme from the point of view of editing it. :/

    thanks for the help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing some fugly bits of text’ is closed to new replies.