Title: php, html call or shortcode available?
Last modified: August 31, 2016

---

# php, html call or shortcode available?

 *  Resolved [Shelly K.](https://wordpress.org/support/users/shellyknrg/)
 * (@shellyknrg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-html-call-or-shortcode-available/)
 * Hi. Excellent Plugin. I’m very excited to get it out live and working.
 * I can see that it works in an existing sidebar straight out of the box. I didn’t
   copy home.php or any other file.
    Now I really need it in the header. And this
   theme has no Header Widget.
 * I have a separate Header and Footer plugin that lets me input php and html to
   be injected in the header and footer of site and/or pages.
 * (1) How can I call the WP-Card widgets via php, html and/or shortcode or do I
   put something directly in a template file? And if so, what would that be?
    I 
   tried the following call in the header/footer plugin but it didn’t work like 
   a shortcode – it just put the word ‘wpcardsjumbo’ on the page. `<?php echo do_shortcode('[
   wpcardsjumbo]'); ?>`
 * I made up the shortcode name (wpcardsjumbo) on the Shortcode Setting Toggle in
   Dynamic Widgets -> Edit Options. Is this how it’s supposed to work? Is it as 
   easy as me just making up a name?
 * the site is soldiersrr.com
    It’s under construction, but the wp-cards examples
   are in the sidebar and footer.
 * (2) Also I would like to make the WP-Card popup up by Clicking on a button. Is
   this possible?
 * Thank you so much. I’m having trouble finding a dynamic header and this will 
   work so great. I’m excited to make the header happen.
 * Thank you for your excellent effort and ingenuity on this plugin.
    Shelly
 * [https://wordpress.org/plugins/wp-cards/](https://wordpress.org/plugins/wp-cards/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Shelly K.](https://wordpress.org/support/users/shellyknrg/)
 * (@shellyknrg)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/php-html-call-or-shortcode-available/#post-7168598)
 * Hey Everyone, in case you need this too. I found this on another post.
    Add the
   following code to your header php or the Header Footer plugin
 *     ```
       <?php require('wp-load.php'); get_header(); ?>
       <?php get_footer(); ?>
       ```
   
 * Worked like a charm.
    Love this plugin. Thanks again. It is ideal for so many
   things just like the author explained in his writeup. -S

Viewing 1 replies (of 1 total)

The topic ‘php, html call or shortcode available?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cards_f2f3f1.svg)
 * [WP Cards](https://wordpress.org/plugins/wp-cards/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cards/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Shelly K.](https://wordpress.org/support/users/shellyknrg/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/php-html-call-or-shortcode-available/#post-7168598)
 * Status: resolved