Skip to main content


This topic contains 0 replies, has 1 voice, and was last updated by  Sinan Karabulut 1 year, 2 months ago.

Viewing 1 post (of 1 total)
  • Author
  • #264769

    Sinan Karabulut


    I have a custom post type called portfolio.
    In my home page there is a shortcode from my theme which calls recent portfolio items.
    But instead of calling recently added portfolio, i need to call specific portfolio categories with thumbnails (not posts just category previews) and show them.
    You can check my site from and you will see this recent works column with product thumbnails which i need to change to list of portfolio categoris with thumbnails. I’ ve already installed a plugin for category thumnails.

    How can i make this happen ? I am not pro so can you please describe easily ?

    Following code is from my post_types.php;

    add_action( 'init', 'create_post_types' );
    function create_post_types() {
        global $smof_data;
        // Portfolio post type
        register_post_type( 'us_portfolio',
                'labels' => array(
                    'name' => __('Portfolio', 'Vittoria'),
                    'singular_name' => __('Portfolio Item', 'Vittoria'),
                    'add_new' => __('Add Portfolio Item', 'Vittoria'),
                'public' => true,
                'has_archive' => true,
                'rewrite' => array('slug' => $smof_data['portfolio_slug']),
                'supports' => array('title', 'editor', 'thumbnail'),
                'can_export' => true,

    Thanks a lot

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star