Support » Plugin: ezPHP for WordPress » Code Gets Dirty and Corrupt !!!

  • Resolved dc-rocker

    (@dc-rocker)


    I use this plugin to help me with S2Member. Every time I visit pages that contains PHP code I see the code is dirty and looks like this:

    <!–?php and ending –?> instead of <?php and ?>

    so I remove the weird stuff and save, and everything is good until I open that page in the administrator’s area again.

    what’s going on????

    https://wordpress.org/plugins/ezphp/

Viewing 6 replies - 1 through 6 (of 6 total)
  • KTS915

    (@kts915)

    Try using the shortcodes [php] and [/php] instead. That’s what they are for!

    Thread Starter dc-rocker

    (@dc-rocker)

    I’m using a extremely long list of IF and ELSEIF codes I don’t think S2Member’s short codes support a long list of IF and ELSEIF’s.

    do you know if it’s possible to do an unlimited IF and ELSEIF’s with the short code? I think you can only go 10 levels deep with the short code. right?

    KTS915

    (@kts915)

    Either you’re confused or I am. You started this thread by talking about PHP tags, and I told you to use [php] shortcodes instead, because that is actually the recommended method.

    Now you are talking about s2Member shortcodes. What have they got to do with PHP shortcodes?

    Thread Starter dc-rocker

    (@dc-rocker)

    Sorry I wasn’t clear about all the details. The same people that created S2Member, created EZphp, generally to help S2Member users, and I am incorporating php codes in my S2Member site.
    I ran some experiments and I understand, what you were saying:
    just execute regular php codes, but instead of <?php and ?> use [php] and [/php]. ok that works, and I can use it in the visual editor.
    Thanks

    Does not work with visual composer buttons. : /

    @ofmarconi: That’s to be expected. Visual Composer stores everything within its own space and does not use the regular WordPress methods, so it’s incompatible with many WP plugins. You need to change to a better page builder or, better still, stop using them altogether.

    See https://pippinsplugins.com/wordpress-page-builder-plugins-critical-review/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Code Gets Dirty and Corrupt !!!’ is closed to new replies.