[Support request] Attachment taxonomy page

Home Forums Support [Support request] Attachment taxonomy page

Home Forums Support Attachment taxonomy page

  • This topic has 5 replies, 3 voices, and was last updated 5 years ago by Tom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #837853
    Marco

    Hello
    How can I show a attachment taxonomy page so a link like for instance http://localhost/cms/wp/media_tag/united-states-of-america/ would work – I’m currently getting a 404??

    thank you in advance for your help.

    #838176
    David
    Staff
    Customer Support

    Hi there,

    WordPress by default doesn’t display archives for media attachments, this article covers the functions required to do that:

    https://kinsta.com/blog/wordpress-media-library-hacks/

    Search the page for: How to Display a Photo Archive

    #841078
    Marco

    I guess my question wasn’t clear – I’ve set up the back-end – that seems to work just fine.
    what I need is to create a custom template I guess and call it something like taxonomy-media_tag.php – the question now is what I need to put in there to show all the pictures/attachments with that specific tag – I’ve done it using the Genesis theme but I don’t know how to do it using GeneratePress?

    Thank you in advance for your input.

    #841470
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The method you used with Genesis is likely exactly what you would need to do in GP.

    Have you tried using the same custom loop?

    #841643
    Marco

    I’m must be missing something else – I’m not getting any posts at all

    #841724
    Tom
    Lead Developer
    Lead Developer

    Can you share your code with me? You can use something like pastebin or GitHub Gists to post it.

    Let me know 🙂

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