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/
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://ww.wp.xz.cn/plugins/shortcodes-ultimate/
The topic ‘Adding Shortcode Directly Into Template’ is closed to new replies.