Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #173128

    Hello,
    I need to add a category description text, which should be displayed below the list of categories in a portfolio page, when you click on a category name. I have figured out that the filtering of the items for each category is obtained via javascript but I don’t know what to do. My javascript knowledge is very basic. Have a tip?

    #173403

    Hi filippocorretti!

    This is a bit complicated. You can hire a freelance developer to modify the portfolio sort function for you.

    Regards,
    Ismael

    #173484

    Ok thanks for the reply! Another question: is there a simple way to hide the subcategories from the list of categories in the portfolio page or I’m out of luck?

    #174111

    Hello!

    I didn’t test this code mod but iot should be possible. Open up /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php and replace

    
    if(empty($display_cats) || in_array($current_item_cat->term_id, $display_cats))
    

    with

    
    if($current_item_cat->parent > 0) continue;
    if(empty($display_cats) || in_array($current_item_cat->term_id, $display_cats))
    

    Best regards,
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Enfold Category description’ is closed to new replies.