• Resolved Anonymous User 13302461

    (@anonymized-13302461)


    Hello. I’m using EZPHP on my site as I have very dynamic content and want to use PHP includes in sliders.
    Is there any way I can do this? The code is displaying instead of being run. E.g.,

    So on the web page I see this [php]include’latestNews.php’;[/php]
    instead of it displaying the included text.

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Don’t know – I’ve never heard of EZPHP before.
    Can anybody else help?

    Did you tick the ‘Allow Shortcodes‘ checkbox within your slider settings?

    Thread Starter Anonymous User 13302461

    (@anonymized-13302461)

    Hi. Thanks for the idea, I tried that (wasn’t enabled) but it still does not work.

    Maybe I will ask the EZPHP developers if they are still about. Or try a different PHP plugin.

    Thanks

    Plugin Author simonpedge

    (@simonpedge)

    You can try this plugin – this does work:
    https://wordpress.org/plugins/post-snippets/

    So the snippets you create can contain PHP.
    You created snippets under “Settings->Post Snippets”.
    Make sure you tick the ‘Shortcode” and “PHP Code” boxes for your snippet.

    Thread Starter Anonymous User 13302461

    (@anonymized-13302461)

    Thanks but unfortunately it doesn’t work.

    I can’t for the life of me get that plugin to process any PHP. It just shows the code and I’ve tried a few different ways.

    Not to worry. Maybe something on my site is preventing it from working. I will keep trying.

    Thank you.

    Plugin Author simonpedge

    (@simonpedge)

    Ok, good luck! 😉

    Thread Starter Anonymous User 13302461

    (@anonymized-13302461)

    Solution for now.
    iframes work and I can put a php file in the frame.

    Just in case this helps anyone else 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘EZPHP code doesn’t run in slider.’ is closed to new replies.