ThemeShaper Forums » Thematic


Taxonomy Archive Page?

(6 posts)
  • Started 10 years ago by manlikemalcolm
  • Latest reply from iCristiano
  • This topic is resolved
  1. I would like to add the the equivalent to

    Category Archives: Uncategorized

    to a taxonomy archive page

    For example:
    Genre Archives: Impressionism

    Genre = Taxonomy
    Impressionism = tag within the taxonomy

    Thanks for your help, Malcolm

    Posted 10 years ago #
  2. Sorry i am not sure if i phrased this question clearly, I am going to try again.

    A Category Archive page in Thematic will have a heading at the top of the page telling you which category archive you are in.

    e.g. Category Archives: Uncategorized

    I need to add a similar heading for the Taxonomies i am using

    e.g Genre Archives: Impressionism

    Genre = taxonomy
    Impressionism = category within the taxonomy

    I am using the Yoast Taxonomy plugin to generate the taxonomies.

    I am unclear which file generates these headings. If i could find it I could probably figure how to adapt the code to include the taxonomy information.

    Thanks for your help!

    Posted 10 years ago #
  3. Malcolm-

    You probably want to look at thematic_page_title() you can find it in thematic/library/extensions/content-extensions.php . Filter it with a conditional is_tax()

    function my_tax_title() {
      if (is_tax()) {
         $content="<!-- my tax title markup -->";
         return $content;


    Posted 10 years ago #
  4. iCristiano

    Gene, I have a question:

    I tryed to filter the thematic_page_title() like you said, but in my case, it works fine to the is_tax(), but the other page titles, like is_search() or is_category() doesn´t work.

    Do I need to repeat the whole thematic_page_title() function and change just the is_tax() part? Or there is a way to just play with this part of code?


    Posted 9 years ago #
  5. Looks like I made a pretty common mistake up there. I filtered a function based on a condition but did not pass the original function's output into the filter and I did not return anything when the condition was not met.

    Try this instead.

    function childtheme_title($content) {
      if (is_tax()) {
         $content="<!-- my tax title markup -->";
     return $content;

    Sorry about that ;)

    Posted 9 years ago #
  6. iCristiano

    Thanks again Gene! Now it´s working fine! ;)

    Posted 9 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.