Theme template for Accomodation Category

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #805167
    Christer Fernstrom
    Participant

    I would like to use a specific template file in my theme for room categories instead of using the standard archive.php. How should I name the file so that WordPress selects it? I have tried things like archive-accommodation-category.php, but it does not work.

    #805864
    J. Davis
    Keymaster

    Hi Christer,

    Thanks for your question. You should simply duplicate archive.php file and rename its copy into:

    taxonomy-mphb_room_type_category.php

    Then modify this file in order to change the layout of categories archive page.

    best regards,
    J. Davis

    #805876
    Christer Fernstrom
    Participant

    Hi John,
    Yep, that works. Thanks!
    — christer

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.