Okay
  Public Ticket #1392093
Portfolio Query Error
Closed

Comments

  •  3
    tonypantello started the conversation

    On my portfolio page in the options, I selected "build a custom query" to set what portfolio items will show. However, even though "Signature Projects" is not checked, it is still showing on the page. Can you investigate why this query is not working? Thanks.

  • [deleted] replied

    Hi there,

    Can you please share your Wordpress credentials and the exact page URL, because I need to login to your site and test this issue. To include your credentials click Insert Credentials button in editor toolbar. (See how) so your reply will be marked as private.

  •   tonypantello replied privately
  • [deleted] replied

    Hi Tony,

    You are using an old version of our theme 2.1.3, the latest version for the moment is 2.1.5 (see release notes), please update your theme first and then the premium plugins too. 

    After you update the theme, there is a chance that we also updated some of the plugins that we offer. To update those plugins to the latest version that we support, just go to Appearance > Install Plugins.

    Then if your problem is still active we will check it again.

    Thanks!

  •  3
    tonypantello replied

    Hi there - I've updated to the latest version and still seem to be experiencing the same issue. Let me know if you can find the cause. Thank you.

  • [deleted] replied

    Hi tonypantello,

    I have debugged this issue and realized that WordPress queries works this way:

    Since you have assigned to a portfolio item multiple categories (i.e. Walnut Commons has Residential and Signature Projects categories) your query implies that all categories are selected except "Signature Projects".

    The Signature Projects has term_id = 41:


    (view large version)

    and Residential category has term_id = 40


    (view large version)

    The query is made upon all categories except 41:


    (view large version)

    And because (for example this item):


    (view large version)

    It is included in the query for the following reason: it contains the category with term_id = 40.

    The same applies to all portfolio items that fulfill the condition in the query.

    I hope I was clear on my explanation.