• Resolved uridium75

    (@uridium75)


    Hi,

    Custom Global Variables is also a very useful and convenient WP plugin to display predefined informations as global variables in all your WP pages.

    While PHP scripts was working well with [insert_php] tags and simply echo “[cgv yourvariable]” which had just presented the content of the predefined variable on the pages correctly, the new snippet mode just shows [cgv yourvariable] on the pages, so it would not translate.

    Is there any solution to make it work?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello,

    Use
    do_shortcode('[cgv yourvariable]');
    in your PHP snippet.

    Thread Starter uridium75

    (@uridium75)

    Hello Webtemyk,

    Thank you again for the kind support. That’s it! Now everything is working with the newly edited snippets and [insert_php] tags are completely removed.

    Formerly I had used this do_shortcode command a couple of times but somehow had forgot because of the rare use.

    Hace a nice day!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Global Variables (CGV) problem’ is closed to new replies.