Taxonomy term archive not showing thumbnails, help? (2 posts)

  1. flint_and_tinder
    Posted 4 years ago #

    Hi all,

    I have set up a taxonomy of 'departments' and assigned various 'people' CPT to a selection of terms for that taxonomy (e.g. customer service, sales etc.).

    I am now in the process of creating a template for the taxonomy terms archives (e.g. URL/departments/sales/) named taxonomy-departments.php

    Everything on this page seems to be working fine except that the thumbnails for the people aren't displaying, however the default avatar is. Also I have a CSS3 pseudo selector removing the margin on every 3rd post - .staff-excerpt:nth-child(3n+3) - on all other pages this works fine, but on this page it is removing the margin on every 2nd post.

    Can anyone please help with getting the thumbnails and pseudo selector to display/work?

    Here is my loop and code for the posts:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Many thanks,


  2. flint_and_tinder
    Posted 4 years ago #

    Haha! I've realised one bit where I've gone wrong. Thumbnails are working. Pseudo selector still isn't though.

Topic Closed

This topic has been closed to new replies.

About this Topic