Support » Plugin: Cr3ativ Portfolio » Template Tags

  • Resolved c05338

    (@c05338)


    Hello,

    I\’m building a custom wordpress theme for a customer and need fast help.

    1. How to show the current category of the post?

    For example this used with blog posts:

    <?php
    
    $category = get_the_category();
    
    echo $category[0]->cat_name;
    
    ?>

    What about Cr3ativ Portfolio?

    2. How to show related posts of this single post as a navigation as well show the current?

    3. How to build and modify the portfolio page that shows all portfolios related to certain category and also one page the shows all portfolio to all categories with pagination and effects?

    https://wordpress.org/plugins/cr3ativ-portfolio/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author akyusa01

    (@akyusa01)

    We already have ‘related posts’ on the single page in the latest version of the plugin. The Portfolio index page that will show all portfolio items will be by using one of the templates provided, you just need to make sure that template is in your theme’s root directory. If you want to show only by category, just add that as a ‘menu’ item by going to ‘screen options’ from the Appearance > Menu and making sure ‘Portfolio Category’ is ticked and then you can drag/drop your categories to your menu just like you do page. If you use a breadcrumb plugin such as ‘Breadcrumb Nav XT’ this will show your portfolio categories in the breadcrumb based on the setting you have selected from the plugins settings page under ‘Custom Post Types’.

    Plugin Author akyusa01

    (@akyusa01)

    Closing due to inactivity.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Template Tags’ is closed to new replies.