Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display does not respect post_type parameter #309

Closed
jonathanasbell opened this issue Apr 1, 2018 · 7 comments
Closed

display does not respect post_type parameter #309

jonathanasbell opened this issue Apr 1, 2018 · 7 comments
Labels

Comments

@jonathanasbell
Copy link

[catlist name="Buy" post_type="page" post_status="publish"]

I still get Post types when I should ONLY get Page types

@jonathanasbell
Copy link
Author

also [catlist id="48"] does not work at all. I get nothing

@picandocodigo
Copy link
Owner

Is 48 the id for a page? Did you try [catlist id=48 post_type="page"]?

@jonathanasbell
Copy link
Author

Yes. See page asbell.staging.wpengine.com and your shortcode is in the buy and sell section

@jonathanasbell
Copy link
Author

FYI
I tried using id number, category name
I tried with and without double quotes
I tried post_type="page,page"
and when I tried I tried post_type="page,post" I got the same result as I tried post_type="page"
Oddly enough, in the preview screen of the page builder it looks like it works

@klemens-st
Copy link
Collaborator

Oddly enough, in the preview screen of the page builder it looks like it works

This indicates you may be using a caching plugin that interferes with LCP, but to make sure follow this procedure:

  1. Make sure you have the latest versions of WP and LCP installed
  2. Enable debug mode in wp-config.php and make sure there are no errors displayed on your test page
  3. Deactivate all plugins but the LCP plugin.
  4. Switch to a default theme
  5. Check if the issue still exists. If it does, let me know. If it doesn’t:
  6. Start activating your installed plugins (and theme) one by one. Before each element is enabled, check if your issue occurred.
  7. Let me know which plugin (or maybe theme) triggered the issue

@klemens-st
Copy link
Collaborator

Can be closed. No answer for a long time.

@stale
Copy link

stale bot commented Jun 18, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants