Title: Adding Shortcode Directly Into Template
Last modified: August 22, 2016

---

# Adding Shortcode Directly Into Template

 *  [kickstartsearch](https://wordpress.org/support/users/kickstartsearch/)
 * (@kickstartsearch)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcode-directly-into-template/)
 * I am trying to add the Accordions Tab shortcode into an archive.php page for 
   a custom post type I have created: [https://www.termlifeinsurance.com/conditions/](https://www.termlifeinsurance.com/conditions/)
 * As you see, the “Read More” link is not clickable and showing my content. Here
   is the code I’ve added into the template file:
 * > <?php echo do_shortcode(‘
   > [su_accordion]
   >  [su_spoiler title=”Read More”] Life insurance is an important
   > piece of mind for you and your family, especially if you have a history of 
   > medical conditions. If you have health conditions that increase the likelihood
   > that you might pass away sooner than expected, you might be referred to as “
   > high risk” by the life insurance industry. These health conditions add a certain
   > risk factor to the insurance company, which leads to higher rates for you to
   > obtain a life insurance policy.
   > Just because you might have a “high risk” condition does not mean that you 
   > have no chance at obtaining life insurance or even standard or premium rates.
   > In fact, those that have pre-existing medical conditions can oftentimes find
   > coverage that is not completely out of reach.
   > We have created an extensive list of conditions and behaviors that life insurance
   > companies typically classify as “high risk”. Within each category, we list 
   > the common factors that life insurance companies will take into account and
   > measure. In some cases, we list ways to decrease your likelihood of being classified
   > as high risk by taking steps to increase your health and wellness.
   >  [/su_spoiler][/
   > su_accordion]
   > ‘); ?>
 * Any and all advice is appreciated! Thanks.
    [https://wordpress.org/plugins/shortcodes-ultimate/](https://wordpress.org/plugins/shortcodes-ultimate/)

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

 *  Thread Starter [kickstartsearch](https://wordpress.org/support/users/kickstartsearch/)
 * (@kickstartsearch)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcode-directly-into-template/#post-5777850)
 * Also, I just upgraded to WordPress 4.1 but I’m still having the same issue. Thanks.
 *  Thread Starter [kickstartsearch](https://wordpress.org/support/users/kickstartsearch/)
 * (@kickstartsearch)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcode-directly-into-template/#post-5778090)
 * Hello… Just shamelessly bumping my post here to see if anyone else has a suggestion?
   Is this maybe a Javascript conflict?

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

The topic ‘Adding Shortcode Directly Into Template’ is closed to new replies.

 * ![](https://ps.w.org/shortcodes-ultimate/assets/icon-256x256.gif?rev=2547563)
 * [Shortcodes Ultimate - Content Elements](https://wordpress.org/plugins/shortcodes-ultimate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ultimate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ultimate/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ultimate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ultimate/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [kickstartsearch](https://wordpress.org/support/users/kickstartsearch/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/adding-shortcode-directly-into-template/#post-5778090)
 * Status: not resolved