• Resolved elisac.

    (@elisacerruti)


    Hi, Love this plugin. I’ve installed it on 2 sites and on the first one it works like a charm, on the second it got some issues. Trying to add new queries, both tax and post, it doesn’t make anything. I click on the button “add” and nothing happens.
    I’ve already uninstalled it and reinstalled again but the problem persists.
    Please could you provide me with some instructions to fix it?
    Thanks
    Elisa

    https://www.ads-software.com/plugins/w4-post-list/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    OK, This is a JavaScript error caused by some other plugin or your active theme.

    I guess the fastest solution would be to providing me an access to your site, and i will take a look myself. You will find my email right on the plugins “Documentation” page.

    If that’s not possible, below are some questions –
    On the site where “+ add” button not working, were you able to switch between the tabs (List Type, Terms, Posts) ? Does it have the latest version of our plugin ? Did you tried deactivating all other plugins and changing your theme to default ?

    Thread Starter elisac.

    (@elisacerruti)

    Thank you!
    I start answering your questions here, maybe this could be useful to the community.

    On the site where “+ add” button not working, were you able to switch between the tabs (List Type, Terms, Posts) ?

    Yes, everything seems to work fine but the Add buttons.

    Does it have the latest version of our plugin?

    Yes, I’ve the 1.7.9 version

    Did you tried deactivating all other plugins and changing your theme to default?

    Not yet, I’m going to try and tell you as soon as I finish.
    I write to you in PM.
    Thank you for the support.
    Elisa

    Thread Starter elisac.

    (@elisacerruti)

    Got it. It’s the All in One Schema.org plugin.
    Do you think this conflict could be solved?
    Thank you again!
    Elisa

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Good to know that you have found the issues.

    The scenario is something like –
    W4 Post List” is also a custom post type, and for that reason Schema.org display their “Configure Rich Snippets” Metabox on our plugin page too (which it shouldn’t be doing, as our post type is non-public). The Schema.org Plugin use “Media Uploader” (wp.media object) which they use to manipulate with the “Configure Rich Snippets” Metabox fields. But, our List doesn’t need “Media Uploader“, so we do not load the wp.media object. And this is where they trigger errors.

    However, i have found a workaround to bypass their error and make our option panel work smoothly. I will definitely update it on the next release.

    I have also mailed them about the bug, hope they update their plugin.

    Thank you very much.

    Thread Starter elisac.

    (@elisacerruti)

    Thank you very much!
    I just noticed that setting multiple tax query posts the plugin doesn’t work, and only returns the shortcodes of the loop.
    Setting only 1 tax query plugin works fine.
    Thanks again for your support.
    Elisa

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    It should work, however there’s not much documentation to understand how it works. You might be missing something.

    Requirement 1: Display Posts Which have both “CAT1” & “CAT2” category assigned.

    Solution 1:
    Tax Query 1: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT1″
    Tax Query 2: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT2″
    Relation: “AND”

    Requirement 2: Display Posts Which have anyone “CAT1” or “CAT2” category assigned.

    Solution 2:
    Tax Query 1: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT1″
    Tax Query 2: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT2″
    Relation: “OR”

    Solution 2 (alternative):
    Tax Query 1: Taxonomy=”Category” | Operator=”IN” | Field=”Names” | Terms =”CAT1″, (click on +) on the new field, use “CAT2”
    Relation: “Anything”

    The shortcodes are displayed when there’s no result, however, we haven’t yet worked on it to display nothing if the query return zero items. But that will be solved.

    Hope this will helps.

    Thread Starter elisac.

    (@elisacerruti)

    Thank you! I was using the category IDs and the “AND” boolean selector. Now I’ve tried all your solutions but nothing. Of course there is something I’m missing, but really can’t figure out what could be.

    Thread Starter elisac.

    (@elisacerruti)

    Now I’m trying to skip the problem using only 1 tag but it is showing only some of the posts, not all that have the specific tag. That is very strange.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Mail me a login details including what you are trying to achieve, and i will check the issue. sajib1223 at gmail.

    Thread Starter elisac.

    (@elisacerruti)

    ok, thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Issue with Tax and Post Query’ is closed to new replies.