• I have installed WP today in a MAMP environment to test some plugins.

    I have created some posts with text and images. But when Shortcodes Pro is activated, there is no content which is displaying anymore on the site, just the title of the posts. When I deactivate the plugin, the content displays correctly.

    I have no other plugin activated. Shortcodes Pro is the first one I test.

    What can I do? Shortcodes Pro do exactly what I want, I wouldn’t want to develop my website without it.

    Regards,
    Yulaan

    https://www.ads-software.com/plugins/shortcodes-pro/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have the same problem. Setup a live site mirrored to MAMP, with Shortcodes Pro activated. Posts no longer display (titles do display). Deactivate Shortcodes Pro and posts display per normal.

    Latest version of MAMP (3.0.3), latest WP and Shortcodes Pro, to.

    I have a similar problem. My site on a WAMP with Shortcodes Pro activated is fine, but when I transfer it all to the web no content appears in any page or post. All is solved when I disactivate Shortcodes Pro.

    This is not much of a problem for me, as I have not used Shortcodes Pro yet – I just thought it was a “nice to have”. I just wanted to give feedback.

    I use a child of Suffusion theme and lots of other plugins, but this is the only one that works on the WAMP but causes a problem on the live website.

    The developer don’t seem to care anymore about the plugin. I have the same problem for so long.

    Is there anyone with a fix already?

    On line 50 of inc/class-shortcodespro-base.php replace the following function (just tweaked the regexs slightly)

    function replace_do_shortcode( $content ) {
    			// short shortcode
    			$pattern = '~\[do action\=\"[^\"]*\"\s?[^\]]*?\]~';
    			$content =  preg_replace_callback( $pattern, array( &$this, 'replace_do_shortcode_callback' ), $content );
    			// return $content;
    
    			// normal shortcode/no nesting
    			$pattern = '~\[do action\=\"[^\"]*\"\s?[^\]\/]*\]( [^\[\do\n]* )\[\/do\]~';
    			$content =  preg_replace_callback( $pattern, array( &$this, 'replace_do_shortcode_callback' ), $content );
    
    			return $content;
    		}

    Thanks!
    pnomolos offered a good solution.

    pnomolos you are THE man! Finally, problem solved after soooo long!

    Thank you!

    pnomolos – have an extra credit for being awesome :o)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No content is displaying anymore’ is closed to new replies.