WP Framework
Changing some fugly bits of text (3 posts)

  1. thijs77
    Posted 5 years ago #

    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 http://thijsvissia.nl/tag/prints/ 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?

  2. Phil
    Posted 5 years ago #

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

  3. thijs77
    Posted 5 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic