• I am testing a wordpress site with Customizr theme, based on Bootstrap in local with xampp. I created a page where I explain cookies policy.
    I have inserted in it the shortcode [cookie_audit] to show cookie table after some explanation text.
    The problem is that the table content is also automatically showed as posts at the end of the table itself.
    I would like to avoid this.
    Hoping that it could work, I tried to setting as draft each cookies posts, selecting this option in Cookie Law Info panel, but that has no effects.
    What is the problem? I have examined other site’s cookie policy pages that use your plugin but I have not noticed this issue.
    Is there a way to delete some function in some Cookie Law Info php file, or I have to do something else?
    Thank in advance for some help.

    https://wordpress.org/plugins/cookie-law-info/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, this doesn’t happen on my own site so it’s probably your theme or the way you’re writing the post. If you wrote the theme, maybe you’re using a content hook incorrectly? Otherwise maybe you have an on-page plugin that is using a content hook incorrectly.

    See it working here:
    http://www.cookielawinfo.com/privacy-and-cookie-policy/

    Hope that helps

    Thread Starter Dario_Arc

    (@dario_arc)

    Thanks for your reply and for your really interesting and useful plugin. I will try to use the plugin in some other theme to test the results. For now the issue remains.

    Careful with that test: all it will tell you is that the plugin works in another theme, which is most definitely true.

    What you need to establish is why is it not working in your current theme. To do that you’ll need to isolate the plugin and the theme- so switch off all other plugins (all of them- it’s not a valid test if other plugins are also running). Now switch them on one by one and find what the problem is.

    Remember too that it might not be the theme or your plugins, you might be using the shortcode incorrectly or writing the post in a way that stops it from working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with shortcode [cookie_audit]’ is closed to new replies.