Jump to content


Photo
- - - - -

Shortcode in Highlight


  • Please log in to reply
3 replies to this topic

#1 regalcreative

regalcreative

    Member

  • Members
  • 10 posts
  • Country: Country Flag

Posted 28 February 2013 - 09:49 PM

Hi,

Is there an way to use a shortcode within a highlight? When I try it, it just displays the actual shortcode, not the output that should happen from using the shortcode. Thanks



#2 James B

James B

    Advocate

  • Moderators
  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 28 February 2013 - 11:54 PM

Hi there, no unfortunately the shortcodes can't be used in the highlight section, the text areas in there do not accept html.

 

You can use a content box in place of the highlight section, or place the shortcode into a widget or box.



#3 anthalis

anthalis

    Advanced Member

  • Members

  • 60 posts
  • Framework Version:Dev. Latest. Always.
  • Country: Country Flag

Posted 01 March 2013 - 07:05 AM

Hi,

 

As an alternative, if your page structure allows it, you can insert a "highlight-like" area with HTML in your page in the normal content area.

The markup:

 

Please Login or Register to see this Hidden Content

You can, of course, change the h2 and h3 tags to whatever flows naturally for SEO and insert your shortcode within the divs.



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 15163 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 01 March 2013 - 08:59 AM

Hi,

 

Did any of the above suggestions resolve your issue?