• Resolved kreativito

    (@kreativito)


    Hello Hello,

    I try to embed a code for the Category.
    I thought I can edit and change it by opening the category.php file.

    However, I can not find that file !

    So what’s the name of the .php for the category ?
    And where to find ?

    Thank you so much ?

Viewing 1 replies (of 1 total)
  • Theme Author Anders Norén

    (@anlino)

    Hi Kreativito,

    Wilson uses archive.php instead of a specific PHP file for each archive type. In that file, you can insert the code:

    <?php if (is_category()) : ?>
       /* Your code */
    <?php endif; ?>

    …and the code within the if statement will only run if the visitor is viewing a category.

    – Anders

Viewing 1 replies (of 1 total)
  • The topic ‘Category PHP File ?’ is closed to new replies.