Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Any activated plugin's short code not working while I listing all post from specific custom type,

it's display short code as it is, but short code is not executing,

my custom post coding is below:

add_action( 'init', 'create_eyeu' );
    function create_eyeu() {
        $eyeu_translation = get_option(THEME_SHORT_NAME.'_gdl_eyeu_slug','eyeu');

        $labels = array(
            'name' => __('eyeu', 'gdl_back_office'),
            'singular_name' => __('eyeu Item', 'gdl_back_office'),
            'add_new' => __('Add New', 'gdl_back_office'),
            'add_new_item' => __('Add New eyeu', 'gdl_back_office'),
            'edit_item' => __('Edit eyeu', 'gdl_back_office'),
            'new_item' => __('New eyeu', 'gdl_back_office'),
            'view_item' => __('View eyeu', 'gdl_back_office'),
            'search_items' => __('Search eyeu', 'gdl_back_office'),
            'not_found' =>  __('Nothing found', 'gdl_back_office'),
            'not_found_in_trash' => __('Nothing found in Trash', 'gdl_back_office'),
            'parent_item_colon' => ''

        $args = array(
            'labels' => $labels,
            'public' => true,
            'publicly_queryable' => true,
            'show_ui' => true,
            'query_var' => true,
            //'menu_icon' => GOODLAYERS_PATH . '/include/images/eyeu-icon.png',
            'rewrite' => true,
            'capability_type' => 'post',
            'hierarchical' => false,
            'menu_position' => 5,
            'supports' => array('title','editor','thumbnail','custom-fields'),
            'rewrite' => array('slug' => $eyeu_translation, 'with_front' => false)

        register_post_type( 'eyeu' , $args);

            "eyeu-category", array("eyeu"), array(
                "hierarchical" => true,
                "label" => "eyeu Categories", 
                "singular_label" => "eyeu Categories", 
                "rewrite" => true));
        register_taxonomy_for_object_type('eyeu-category', 'eyeu');

share|improve this question
Are you using a custom loop to output your custom post type? If so, can you share that code? –  Will the Web Mechanic Dec 28 '13 at 9:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.