Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #379250

    Hi there,

    I would like to add a Layer Slider to the “Category Page” of Portfolio entries – but would like to display a different Slider for different Categories.
    For example: Category Villas dispalys Slider #1, Category Apartments displays Silder #2 , please let me know which file needs to be changed.

    I would also like to change the layout of the category page – which file do I have to edit?

    Looking forward to your reply.
    Best ,

    Darneson

    #379254

    Hey Darneson!

    You’ll need to edit archive.php, you could use get_queried_object to get the current category and perform a conditional:
    http://codex.wordpress.org/Function_Reference/get_queried_object

    Best regards,
    Josue

    #379381

    Hi Josue,

    thank you for your reply and your help.
    It was the taxonomy-portfolio_entries.php which I was looking for not the archive.php – but what you have suggested for the conditional loading of the Slider worked.

    Thank you for your help – all solved!
    regards

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio Category Page Layout’ is closed to new replies.