This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Tagged: , ,

Automatic adding of pre and code tags

  • Creator
    Topic
  • #12674
    scottb23
    Participant

    So im using the themeblvd maps shortcode, and if I add the code in the visual editor and publish, it gets the <pre and <code tags applied to it, which results in it displaying in a box with some white space at the top and bottom, before the map actually draws in. If i then change over to text editor and remove the codes that were auto-added, the map embeds beautifully. Is there a way to stop these tags getting applied in the visual editor automatically?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #12686
    Jason Bobich
    Keymaster

    I can’t reproduce this on my end. Are you sure you don’t have some sort of plugin that might be interfering in some way? Looking at the code now, I’m not sure how it’s possible that the map shortcode could be outputting a pre or code tag anywhere.

    #12697
    scottb23
    Participant

    Hey Jason,
    I think it was a conflict with a CSS plugin that used shortcodes as a way to then render stuff on the page. I think it was adding those tags as a way to try and ensure it displayed properly, but it broke this instead. I think its fixed for now! 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.