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

    (@jbgupdraft)

    Hi,

    Thanks for contacting us! While I don’t have a working example of something like this that I can share, I wanted to share how I would approach this type of situation to achieve what you’re looking for.

    1. First I would determine if the ticker plugin has any REST API Endpoints. If it does then a custom javascript script could be loaded on the front-end to call that endpoint and then update an HTML element that is on the page.
    2. If there is no built-in REST API endpoint with the ticker plugin, I would register a WP Rest API endpoint with PHP code that when called will fetch the data from the database or using a PHP function that the ticker plugin might expose and then send that data back to the front end.
    3. When registering the custom WP REST API endpoint I would also ensure that there are nonce checks in place for security purposes and if any user input is sent to the API I would ensure to sanitize the data.
    4. Once the custom API endpoint is up and running, a small custom javascript script can be written that calls the API and updates an HTML element on the frontend of the site.

    If you don’t have any development experience I would recommend engaging with a web developer for this type of task as hopefully it should be fairly straight forward for them to implement this custom functionality on your site.

    Plugin Support vupdraft

    (@vupdraft)

    As we haven’t heard from you in a while, I am closing this thread.

    Please feel free to start a new thread if you have any further questions concerns

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.