WordPress.org

Ready to get started?Download WordPress

Forums

CM Tooltip Glossary
[resolved] What about the article if and custom categories, and custom tag? ? (1 post)

  1. konayuki
    Member
    Posted 1 year ago #

    I want to use a custom category, the custom tag.

    What about the article if and custom categories, and custom tag? ?

    functions.php
    ---------------
    //category
    $args = array(
    	'label' => 'category',
    	'public' => true,
    	'show_ui' => true,
    	'hierarchical' => true,
    	'rewrite' => array('slug' => 'glossary/c', 'with_front' => false)
    );
    register_taxonomy('glossary_category','glossary',$args);
    
    //tag
    $args = array(
    	'label' => 'tag',
    	'public' => true,
    	'show_ui' => true,
    	'hierarchical' => false,
    	'rewrite' => array('slug' => 'glossary/t', 'with_front' => false)
    );
    register_taxonomy('glossary_tag','glossary',$args);

    http://wordpress.org/plugins/enhanced-tooltipglossary/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.