Okay
  Public Ticket #3443689
Salient theme category archives header location
Closed

Comments

  • ruandeyzel started the conversation

    Hi there, I'm looking for the category archives header/title location in theme files please.

    Following this tutorial: https://www.wpbeginner.com/plugins/how-to-add-taxonomy-images-in-wordpress/#:~:text=To%20choose%20your%20own%20category,use%20for%20that%20particular%20category. and would like to add category icons next to the archive titles. Thanks

  •  8,939
    Tahir replied

    Hey Again,

    Try adjusting them in here: 

    3325732117.png

    Thanks.


    ThemeNectar Support Team 

  • ruandeyzel replied

    Hi Tahir,

    I've tried loading a thumbnail, but not sure where it gets displayed. Anyway not what I'm looking for.

    I'm specifically looking for the location of the template file that controls the archive category title. I want to add a custom icon to the left of the title for each category (example attached).

    I'm following a tutorial on how to do this, but I need to know where the file is to paste the code into. In which file does the_archive_title() tag exist? They mention this could be archives.php, category.php, tag.php, or taxonomy.php, but can't find any of those.

    If there's an easier way of doing it, please do let me know :) Thanks

    Attached files:  Screenshot-2023-08-25-at-13.01.26.jpg

  •  8,939
    Tahir replied

    Hey Again,

    You can find the relevant functions in  (nectar/helpers/page-header.php) . 

    To customize them add those functions to the Child Theme "functions.php" file and edit as needed.

    Thanks.


    ThemeNectar Support Team