Title: PHP Shortcode
Last modified: May 24, 2018

---

# PHP Shortcode

 *  Resolved [benhartwich](https://wordpress.org/support/users/yoursql719/)
 * (@yoursql719)
 * [8 years ago](https://wordpress.org/support/topic/php-shortcode-22/)
 * Hi,
 * is it possible to place the cookie notice banner by a php shortcode? Unfortunatelly
   the bar is not rendered on my site. The css and javascript is inserted, but the
   div is missing. Is there any call, which the theme needs to automatically insert
   the cookie div?
 * Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [dFactory](https://wordpress.org/support/users/dfactory/)
 * (@dfactory)
 * [8 years ago](https://wordpress.org/support/topic/php-shortcode-22/#post-10317445)
 * It doesn’t need a shortcode.
 * The plugin works with every theme that is made following basic theme development
   rules as for example: wp_head() and wp_footer() functions
 * Can you share your site url?
 *  Thread Starter [benhartwich](https://wordpress.org/support/users/yoursql719/)
 * (@yoursql719)
 * [8 years ago](https://wordpress.org/support/topic/php-shortcode-22/#post-10317501)
 * Thanks for your answer, wp_footer() was missing.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/cookie-notice/assets/icon-256x256.png?rev=3549327)
 * [Compliance by Hu-manity.co](https://wordpress.org/plugins/cookie-notice/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-notice/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-notice/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-notice/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-notice/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-notice/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [benhartwich](https://wordpress.org/support/users/yoursql719/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/php-shortcode-22/#post-10317501)
 * Status: resolved