Element

  • Hi, I want to display a custom taxonomy archive in GeneratePress and cannot get the archive to load or target it with Elements. The archive URL returns a 404 Page Not Found

    My setup
    • Custom taxonomy: lyon_month
    • Slug: lyon-by-month
    • Attached to: post
    • All posts are correctly assigned to terms (january, february, etc.)

    GeneratePress Elements issue
    Also Inside Elements → Content Template → Display Rules, I do not see:
    • Taxonomy Archive → Lyon by Month
    Instead, I only see:
    • Post: Lyon by Month
    • Post: Lyon by Month Archive

  • Hello,

    There are two separate things going on here, and the 404 needs to be sorted first.

    Your taxonomy registration is missing query_var. Without it, WordPress won’t reliably resolve the archive URL. Add it like this:

    'public'            => true,
    'hierarchical'      => true,
    'query_var'         => true,
    'rewrite'           => array(
        'slug'       => 'lyon-by-month',
        'with_front' => false
    ),

    After saving that change, go to Settings → Permalinks and click Save (no changes needed). This flushes the rewrite rules and is required any time you add or change a taxonomy’s slug or rewrite settings.

    One thing to check: a taxonomy doesn’t have a single root archive. /lyon-by-month/ on its own won’t load anything — you need a term archive like /lyon-by-month/january/. Make sure that’s the URL you’re testing.

    For the Elements Display Rules: the “Post: Lyon by Month” entries you’re seeing target singular posts, not the archive. Once the 404 is resolved and rewrite rules are flushed, set the Location to the taxonomy archive — look for it under an Archives grouping in the Location dropdown rather than the “Post:” entries.

    Let me know how the term archive loads after flushing permalinks.

  • Thanks for your reponse George. I ended up just using a query loop on my page, and it seems to be set up correctly. However, how can I make the posts appear in order: Jan, Feb, March etc… I believe I published them in order so not sure why it’s not appearing as such.

  • I am not able to access the editor of the new page. Does this user have an admin role?
    https://app.screencast.com/tovgjRy3gC7TK

  • Hi, try now

  • The password is incorrect. I’m still not able to log in
    https://app.screencast.com/OIhgqugQBIYIP

    I checked the Post that is supposed to be published in April, but the published date is June 16, 2026:
    https://app.screencast.com/hDdD7etIzHB8O

    So it looks like your posts’ publish dates are not in the month they’re supposed to be published, can you check?

  • Hi,
    Thanks for your response. I just checked and I am able to login. Did you use the prefix 66 before the website name (I updated the information below under private information).

    It actually doesnt matter if you cant login. I have attached a screenshot. My question is simply on my month page how can I reorder the posts in the query loop so they start with Jan, Feb, March etc..

    Best regards

  • Hi there,

    Select the Query block, then add a new parameter:

    
    Add Parameter > Order > ASC
    

    Just a note: this will order the posts based on their publish date. Since your oldest post is the Lyon in May post, setting the order to ASC will display that post first.

  • great tysm!

  • No problem!

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