• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Displaying custom taxonomy list on archive page template

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Displaying custom taxonomy list on archive page template

This topic is: not resolved

Tagged: custom taxonomy, framework

  • This topic has 2 replies, 2 voices, and was last updated 10 years ago by lucaslem.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 8, 2013 at 1:22 pm #65875
    lucaslem
    Member

    Hello,

    I would like to use the archive template as a sitemap to help users find content more quickly in list form. Can someone explain how to add my custom taxonomy list to the archive page?

    Thanks

    November 17, 2013 at 1:14 pm #73657
    Aaron Eaton
    Member

    I would suggest creating a custom page template called 'Sitemap' and use that. I haven't tested this, but here we go:

    
    /**
     * Template Name: My Sitemap
     */
    
    add_action( 'genesis_entry_content', 'add_taxonomy_list', 5 );
    
    function add_taxonomy_list() {
    
        $args = array(
            'format' => 'list',
            'taxonomy' => 'your-custom-taxonomy-slug',
        );
    
        wp_tag_cloud( $args);
    
    }
    

    —
    J. Aaron Eaton – WordPress Consultant
    Website

    November 22, 2013 at 12:55 pm #75056
    lucaslem
    Member

    Thanks Aaron,
    I had found a clunky work-around, but will give this a go and report back.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble