Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #205149

    When creating Portfolio items in then Enfold theme I’m able to specify Tags. I like to use the Tags to specify the location of my projects. Is there a way that I could create a Portfolio page and display the items based on a particular tag? Currently, I’m only able to create Portfolio pages based on a Portfolio Category. Here is an example of my site:

    Also, are the tags used anywhere else in the theme? It doesn’t look like they are displayed on the portfolio page.

    Thanks in advance for the help.


    Hey Design!

    No, that is not possible with the Portfolio Grid element but you can do it using the Blog Posts element. On “Do you want to display blog posts?” option, choose “Display entries from a custom taxonomy”. “Which Entries?” should be “Post Tag”. Choose the Grid Layout for the “Blog Style” option to make it look like the Portfolio Grid layout somehow.



    Thanks for posting that solution Ismael. Is there a way to limit the blog posts to only show Portfolio items? Right now, it only shows all blog posts. Here is the sample page I am working on now which I want to show all of my interior design projects (Portfolio items) with the tag Logan Square (a neighborhood in Chicago).

    Interior Design projects in Logan Square

    • This reply was modified 10 years, 6 months ago by designinside.


    Did you select the “Logan Square” tag under “Post Tag” option?



    Yes, I did. The module appears to be showing all Posts and doesn’t allow me to filter by Post Type (type = Portfolio Entry). Is there any way correct this?



    Try to insert following code at the bottom of functions.php (or insert it into the child theme functions.php file):

    add_filter('avia_post_slide_query','avia_add_post_type_to_query', 10, 2);
    function avia_add_post_type_to_query($query, $params)
    $id = get_the_ID();
    if(7503 == (int)$id){
     $query['post_type'] = 'portfolio';
    return $query;

    You maybe need to replace the id of 7503 with another page id. This entry: has the id 7503.



    That worked perfectly. Is there a way to include multiple page id’s?

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Display Portfolio based on Tag’ is closed to new replies.