Viewing 6 replies - 1 through 6 (of 6 total)
  • does your theme have a template archive.php?

    in that case, you could make a copy of archive.php and save it as category.php, and make your edits then …

    othersise, try to find which template is showing the category archive –
    https://developer.wordpress.org/themes/basics/template-hierarchy/

    Thread Starter Primarie

    (@primarie)

    YESSSS, THANK YOU!!!

    Thread Starter Primarie

    (@primarie)

    Ok so now i think i have an Warning message above all content. can you please check, my head burns.. http://www.tzinahrecords.info

    arning: Cannot modify header information – headers already sent by (output started at /home/tzinah23/public_html/wp-content/themes/inspire-child/functions.php:10) in /home/tzinah23/public_html/wp-content/themes/inspire/functions.php on line 302

    Thread Starter Primarie

    (@primarie)

    Sorry, i get that error when i add category.php to child theme, when i remove it, the whole website goes to normal which is ok.
    If i add that category.php that you said, the description works, and at some people it shows above the header that warning, at some people shows just the warning without the website.

    at the moment i removed category.php from child theme folder because i need the website working properly monday morning 🙂

    Thread Starter Primarie

    (@primarie)

    After i did this, i still get errors on working with the website, can not add image to post, and after i post , the website goes blank in wp-admin section.

    Thread Starter Primarie

    (@primarie)

    Actually i have solved the problem by removing the child theme, and adding the code for showing category info straight to archive.php from my main theme,
    Thank you for the help, don’t mind my crazy messages :))

    Much love

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to add category description above posts in category’ is closed to new replies.