• 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

How to add Categories and Tags to Genesis Portfolio Pro

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 › How to add Categories and Tags to Genesis Portfolio Pro

This topic is: resolved

Tagged: CPT, Custom Post Type, Genesis Portfolio Pro, register_taxonomy_for_object_type

  • This topic has 4 replies, 3 voices, and was last updated 3 years, 5 months ago by devjenifer.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 5, 2019 at 9:40 am #493880
    devjenifer
    Participant

    How do you add categories and tags to your portfolio items using genesis portfolio pro?

    Similar to post meta found on regular post:
    Filed Under: Category #1
    Tagged With: Ella Fitzgerald, Jazz Music, Paris

    Thanks.

    October 7, 2019 at 5:56 pm #493904
    Anita
    Keymaster

    That's a plugin related question. You should submit this question there - https://wordpress.org/support/plugin/genesis-portfolio-pro/.


    Love coffee, chocolate and my Bella!

    October 7, 2019 at 9:37 pm #493918
    devjenifer
    Participant

    Okay will do, thank you!

    October 8, 2019 at 11:25 pm #493933
    Brad Dalton
    Participant

    Try this in functions.php

    add_action('init', 'add_category_tags_to_cpt');
     function add_category_tags_to_cpt() {
        register_taxonomy_for_object_type('category', 'portfolio');
        register_taxonomy_for_object_type('post_tag', 'portfolio');
    }
    

    Source


    Tutorials for StudioPress Themes.

    October 9, 2019 at 3:23 pm #493944
    devjenifer
    Participant

    thanks brad, that worked!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to add Categories and Tags to Genesis Portfolio Pro’ is closed to new 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