I don’t know how one would define “best”, but a possible approach would be to make your rankings page an actual page within WordPress, then add either a shortcode or a filter on the_content
to populate/fetch a transient from the database. You could alternately save it in an option or as post meta and cron a script to update the option/meta periodically. WP CLI may be of interest to you as well.
Related Posts:
- Add a script as a dependency to a registered script
- Setting up an API “listening” page
- Serving wp-includes (front-end) javascript from a different domain?
- Add conversion/tracking pixel to section for specific post
- How can I selectively print scripts to the footer of certain admin pages?
- WP CLI theme install. Install a private repo?
- change $src from wp_register_script in plugins/themes
- By having WordPress in a subfolder does it mean more script executions?
- Script Code in Text Widget Does NOT Show
- Invision + WordPress integration
- wp_print_scripts runs twice
- How to serve wp-includes javascripts from CDN? [duplicate]
- Register scripts located in child theme?
- How to add GET variable after script url?
- Refused to execute as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type
- Disable load scripts and styles not working
- Socialite not displaying icons [closed]
- Script dependencies generates different outputs
- Renaming the ‘build’ directory generated by @wordpress/scripts for React development
- What are the benefits of using wp_enqueue_script?
- Correct Method to run scripts with dependencies without enqueue?
- dynamically add scripts to WP_Widget widget() method
- Get list of scripts / styles and show file which enqueued them
- How to prevent wordpress from loading old versions of jquery in wp_head();?
- Is it possible to change the attributes of a registered style or script before it fires?
- How to get a jQuery script to run on a page?
- Outputting Canonical Resource URLs Across a Multisite Network?
- wp_register_script multiple identifiers?
- How do I enqueue(or delay loading of) tags in individual page posts?
- Select2 in WordPress
- Unable to load stylesheets and scripts to plugin settings page
- wp_enqueue_script adds only the first script
- Help with enqueing scripts in footer after init action
- How do you load WordPress from an external script when using MultiSite? [duplicate]
- WordPress doesn’t Load JQuery Now? Do I need to enqueue JQuery also?
- Loading jQuery in the footer after removing jQuery migrate?
- Writing scripts using WordPress / WooCommerce classes?
- How to avoid loading same script twice?
- wp_add_inline_script not adding when script_loader_tag filtered
- How can I load an inline script after the enqueued scripts in admin?
- Overwrite or Replace code in WP_Footer
- WXR slicing script
- Insert a button on a page with random number generation
- Why won’t my scripts load?
- Add class to comment form div when comment-reply button is clicked
- Gutenberg Block Development: Trying to add custom js script to npm start command by modifying webpack.config
- wp_dequeue_style and wp_dequeue_script not working on server but does work on local xampp
- php syntax : [ && ] between commands [closed]
- why quotes shown in WordPress?
- How to Access Script Tags in Header
- Enqueuing a script before anything else
- Need to put a script above tag in header.php – WP 5.7.1
- Register Script in Plugin Widget
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- Pass user role to javascript code inside body
- Completely isolate a plugin view so it doesn’t load the theme
- WordPress 5.1 upgrade has lost the parent theme JavaScript
- How to generate/create link automatically on every word of post in wordpress
- WordPress url transformation script
- Script not loading when depending on jQuery
- Automatic WordPress Clone Backup
- Add table to WordPress database
- How can I get my Media Uploader Button to function on 1 click rather than requiring 2 clicks?
- Can I customised default WP table
- What do I need for testing a single script in admin
- WP_ENQUEUE not working with Foundation 5
- JavaScript Libraries in WordPress
- Automatically add a character to field in edit post page
- How do I pass $in_foooter to wp_enqueue_script() without passing other params?
- Removing admin javascript
- Insert data through a script directly in the db
- wp_enqueue_script() not working
- wp_enqueue_script JS code runs too late (after user begins interacting)
- Get localize of a loaded javascript
- Script widget works only in admin view but not in Public
- Add Paypal button redirect to a specific page after completing
- How to add specific script to WordPress webpage that will working with user input and databases
- Remove Stylesheet by URL that has not been enqueued
- Error on clicking ‘Screen Options’ tab only at Products-related editor screen(s) and for specific user
- Embedding CodePen Calorie Script – jquery error
- Setting wp_enqueue_script correctly
- Why can I not deregister my style and script on custom post type?
- Unload a woff file from WordPress
- How do I add this OnClick event script to a custom button I’ve created?
- Adding a “code checker” for my e-learning wordpress site
- Set Post Thumbnail to external URL
- How to use the WordPress API to get links and scripts in and
- Adding javascript to header of MetroMagazine theme
- Delete all blogs on multisite
- Dequeue set-post-thumbnail.min.js
- Auto create description in post
- Is there a way to include some external script to some or all pages in a wordpress site?
- setting featured image is not working while running script in background, works when running that script from browser
- Dynamically determine URI to scripts and styles included with a class which could be added from plugin/theme/child theme/mu plugin
- Correct usage of scripts with shortcodes
- Why is jQuery not working properly? [closed]
- Scripts don’t enqueue after removing plugin
- Loading newest dependency javascript module file in functions.php
- How to defer block.json scripts?