Close

Account

Documentation

Forum

Menu

how to make category-names be showed on the page

  • Post count: 10
    sammoshaw
    July 9, 2014 at 7:16 pm #1403

    I want to let my visitors choose different parent categories or child categories in one page.So the names of categories must be showed on the page below the navigation bar.How can i do it?thanks

    Post count: 10
    sammoshaw
    July 9, 2014 at 7:23 pm #1405

    I mean categories list.

    Post count: 2684
    Rai
    July 10, 2014 at 8:51 am #1415

    Hi sammoshaw,

    At the moment categories is not shown on single page. May I know which page template that you use? Or is it portfolio template? I need to know the exact template so I can assist you to modify few lines of code 🙂

    Thank you

    Post count: 10
    sammoshaw
    July 10, 2014 at 3:56 pm #1449

    THANKS.let me make an example.I have several different categories of employees.no matter in portfolio or bolg.I want to show the all categories below the navigation.it looks like some e-commerce website.Hope you could understand.
    THANKS!

    Post count: 2684
    Rai
    July 11, 2014 at 7:19 am #1484

    Hi @sammoshaw,

    To show categories of portfolio you will need to add this line on php file:
    <?php the_terms( $post->ID, JEG_PORTFOLIO_CATEGORY, 'Category: ', ', ', ' ' ); ?>

    To add those line I need to know which template that you want to use.
    Perhaps this template: http://jkreativ.jegtheme.com/photography/portfolio/reading-in-library/ ?

    Thank you

You must be logged in to reply to this topic.