Have frontend view update without refresh

Question

I was wondering how would you go about refreshing the home of the wordpress with new content or CSS without the user refreshing?

I have an interface (unlike normal wordpress installs) where it is just a viewer window and there is no user interaction – like a notice board.

I have tried using wordpress heartbeat but as of the most recent update it doesn’t work, and is pushing an incorrect JSON output.

Is there a way to fetch or poll the SQL database from jquery to compare changes and update the front end?

It wouldn’t be constant but would save having an interface refreshing every x seconds.

0
, , , Ahhhhhhhhhhhhhdfgbv 3 years 2019-10-27T06:35:23-05:00 0 Answers 83 views 0

Leave an answer

Browse
Browse