• Hi there, I have several Visual Composer shortcodes inserted into a snippet, and it was fine for a few days, and then all of a sudden it stopped working. If you could shed some light on this for me as I use this plugin for everything, even having bought a license key, I would greatly appreciate it.

    For example, I have a file called test.snippet.php, and the code looks like this”

    echo "[vc_row][vc_column width=\"1/1\"][vc_column_text]This is a test.[/vc_column_text][/vc_column][/vc_row]";

    Instead of doing what it normally does and output the proper thing, it actually shows all of the shortcode to the page like this;

    [vc_row][vc_column width=”1/1″][vc_column_text]This is a test.[/vc_column_text][/vc_column][/vc_row]

    I am completely at a loss, I am scrambling to resolve this. Thank you so much for the great plugin.

    https://www.ads-software.com/plugins/php-snippets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here, Did you ever solve this?

    Daniel Skowronski

    (@danielskowronskigmailcom)

    We had similiar issue, you can try to put do_shortcode after echo, e.g.

    echo do_shortcode("[vc_row][vc_column width=\"1/1\"][vc_column_text]This is a test.[/vc_column_text][/vc_column][/vc_row]");

    Regards,
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Visual Composer Shortcodes In Snippet’ is closed to new replies.