• Resolved WP CMS Ninja

    (@billiardgreg)


    Ok so I am writing a plugin with multiple shortcodes in use. Inside the functions I am using the proper return html syntax. Yet for some reason some of the shortcodes all that is happening is output of the actual shortcode in the content. I have even tested with calling two shortcodes on one page and put the one that hasnt been working first on the page and the second one is showing correctly?

    If anyone has run into this issue before and/or might know of a solution it would be greatly appreciated.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I had a similar issue since WP 3.5 update…
    I had created [clear-both] shortcode to output :
    <div style="clear:both;"></div>
    This allow me to render content just after an image, this add a return line feed after the image. So the text goes at the bottom.

    Since WP 3.5 update, the shortcode [clear-both] appeared in the content instead of the output code.
    I remove the “-” from the shortcode in my functions.php, then the shortcode works.

    If this could help you…

    Thread Starter WP CMS Ninja

    (@billiardgreg)

    the short code in question is all loeercase with no punxuatiin. i have even tried making it more but that of course didnt work.

    Thread Starter WP CMS Ninja

    (@billiardgreg)

    more simplr that is.

    Thread Starter WP CMS Ninja

    (@billiardgreg)

    Not sure why it wasn’t working but in trying to debug it I found that there where a couple extra files left in the folder that should not of been, as well as in testing I duplicated the function and shortcode call. So I fixed those issues and it appears to be working the way it should now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Shortcode Issue in Content’ is closed to new replies.