• I have a small php program, 3 files.

    On my old site a file called display.php displayed information on my main page, and updated every 30 seconds

    Can someone suggest a way I can get that to display on my wordpress site?

    • This topic was modified 2 years, 5 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did the update happen on page, i.e the user got the change 30 seconds later without refreshing?

    It would a a lot easier to advise if we could see the display.php you can link to a code share system like gist hub.

    Is the display in a fixed place, e.g. header or footer, or do you want to display on specific pages / posts.

    Are you a developer?

    Thread Starter Frank

    (@phasar40)

    I’m not a developer
    The code automatically refreshes every 30 seconds
    I want it to display on my landing (main) page

    The code automatically refreshes every 30 seconds

    How does this do it – does it include javascript? As mentioned, sharing the code really helps.

    The simplest way for a non developer but you still need a touch of coding skill would be to create a shortcode that ‘returns’ the output of the php file.

    This may get you started
    https://generatewp.com/shortcodes/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update a PHP file on my site for WordPress’ is closed to new replies.