WordPress.org

Ready to get started?Download WordPress

Forums

BadgeOS BadgeStack Add-on
[resolved] BadgeOS BadgeStack add-on: Adding tags to badges (2 posts)

  1. Seahawksean
    Member
    Posted 1 year ago #

    I added the BadgeStack add-on to my WordPress site and I'm trying to figure out how to add tags to the quests, quest badges, and levels.

    My theme uses a related post section on my Posts which pulls related posts based on similar tags. I am obviously able to add tags to regular posts but can't seem to figure out where I can add tags to the badge post pages in order to utilize this function.

    Any help with this would be greatly appreciated.

    The link to one of these badges posts is here

    http://wordpress.org/extend/plugins/badgeos-badgestack-add-on/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    you should be able to use the following code to add tags to the post types you need. Not sure which ones you want to add them to, so just replace the "ENTER POST TYPE" spot in the code with the slug you want.

    <?php
    register_taxonomy_for_object_type( 'tag', 'ENTER POST TYPE' );
    ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic