Skip to main content


The forums ran from 2008-2020 and are now closed and viewable here as an archive.

  • This topic is empty.
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)
  • The forum ‘Back End’ is closed to new topics and replies.