latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Short code not getting parsed in HTML editor

Home Forums Community Forum Short code not getting parsed in HTML editor

This topic contains 5 replies, has 2 voices. Last updated by  Bruce 3 years, 9 months ago.

Topic Author Topic
Posted: Monday Apr 8th, 2013 at 5:47 pm #46867

Here’s the Page.

https://rate-your-customer.com/membership

It shows the short code and not the form. Any help would be appreciated, thanks.

List Of Topic Replies

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Wednesday Apr 10th, 2013 at 1:22 am #47006
Bruce
Username: Bruce
Staff Member

Thank you for reporting this important issue.

I’ve seen this happen in certain themes that don’t support the do_shortcode filter. Can you try reverting back to a default WordPress theme, and see if the shortcode shows up then?

Posted: Wednesday Apr 10th, 2013 at 2:16 pm #47105

Alright, so that was it. I reverted back to a default theme that came with WordPress. Thanks.

echo do_shortcode( $content );

I added that too my page.php file and now all is working.

I have one other, non related, question to ask. I’ve researched this a lot on a bunch of different forums and can’t seem to find a sound answer. When I save any post, page, or widget it adds backslashes into the database thus creating backslashes everywhere…. I’m willing to modify core WordPress if you know where the data isn’t getting inserted into the database if you might not know another, simpler, less core editing process.

Posted: Wednesday Apr 10th, 2013 at 6:03 pm #47118
Bruce
Username: Bruce
Staff Member

I have one other, non related, question to ask. I’ve researched this a lot on a bunch of different forums and can’t seem to find a sound answer. When I save any post, page, or widget it adds backslashes into the database thus creating backslashes everywhere…. I’m willing to modify core WordPress if you know where the data isn’t getting inserted into the database if you might not know another, simpler, less core editing process.

Your theme should be stripping slashes to keep this from happening. It’s weird that’s you’re having these issues, these are standard things that all WordPress themes should have. Are you using a custom theme? If you are I’d recommend contacting the designer and seeing if they can go back over it and make sure that nothing else like this is happening.

Posted: Wednesday Apr 10th, 2013 at 7:54 pm #47138

I purchased the template from Templatic. It’s called GeoPlaces so it’s done by professionals but either way I’ve activated every other theme in my themes directory, default, twentyten, twentyeleven… I’ve disable every plug-in except from s2member and I downloaded WordPress 3.3.1 (my current version) from the WordPress archive and overwrote every file in wp-admin, wp-includes, and the root directory.. I’m still getting backslashes. I’ve also disabled magic quotes in my php.ini file. It would be great to know where the data gets inserted into the database so I can just fix it my self. More then anything I’m a PHP developer so I know my way around the code.

Posted: Thursday Apr 11th, 2013 at 1:46 am #47159
Bruce
Username: Bruce
Staff Member

I’ve disable every plug-in except from s2member and I downloaded WordPress 3.3.1 (my current version) from the WordPress archive and overwrote every file in wp-admin, wp-includes, and the root directory.. I’m still getting backslashes. I’ve also disabled magic quotes in my php.ini file.

It’s definitely normal to have WordPress save your Posts/Pages with backslashes to keep queries from failing. Do the backslashes show up in the Add/Edit Post screen?

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

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.