How to handle html/shortcodes in secondary title
-
Regarding:
<?php echo get_secondary_title(); ?>
The actual secondary title it produces on my website is “<i class=”fa fa-wrench” aria-hidden=”true”></i>” which is supposed to be parsed and rendered into an icon (see Awesome Fonts project).
But when the secondary title is displayed (with Auto Show = off), it is unparsed/unrendered. How should I modify my PHP to allow “<i class=”fa fa-wrench” aria-hidden=”true”></i>” to be parsed and rendered into an icon in the secondary title?
(Please note I’m PHP illiterate so please be explicit and unassuming in your answer.)
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
- This topic was modified 7 years, 3 months ago by .
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to handle html/shortcodes in secondary title’ is closed to new replies.