Enable shortcodes and markup in Slider content overlay?

Community Forums Forums Design Tips and Tricks Enable shortcodes and markup in Slider content overlay?

This topic is: resolved

This topic contains 4 replies, has 2 voices, and was last updated by  jorwesflow 12 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #58084

    jorwesflow
    Participant
    Post count: 18

    Is there a way to enable shortcodes and markup from a post’s content to make it through to the Responsive Slider content overlay? I want to throw in a button shortcode as my ‘read more’ link.

    http://www.openroaddetailing.com/draft/

    • This topic was modified 12 months ago by  jorwesflow.
    • This topic was modified 12 months ago by  jorwesflow.
    • This topic was modified 12 months ago by  jorwesflow.
    • This topic was modified 12 months ago by  jorwesflow.
    http://www.openroaddetailing.com/draft/
    #58088

    braddalton
    Participant
    Post count: 9210

    Try this:

    https://gist.github.com/braddalton/5995879


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #58096

    jorwesflow
    Participant
    Post count: 18

    Awesome, the button shortcode is working. But html markup doesn’t seem to be. Check out the third slider. In the editor, that text is in <h3> tags, and clearly is just plain text when appearing in the slider.

    #58103

    braddalton
    Participant
    Post count: 9210

    You can modify the HTML tags in the code to suit your needs. Paste the text in your editor and grab the HTML tags it uses which you can replace in the PHP code so they work in excerpts.


    Specializing In StudioPress Child Theme Customization.
    500+ StudioPress Tutorials

    #58107

    jorwesflow
    Participant
    Post count: 18

    Ah of course. I just copied and pasted, didn’t even look at it. Simple enough! Thanks, Brad.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.