Certain lines added to our wp-config.php file are being removed, every day
Certain lines added to our wp-config.php file are being removed, every day
Certain lines added to our wp-config.php file are being removed, every day
Indicate image sizes for upload by post type
Offloading cron jobs
I’d say the first thing to check is whether or not the cron is actually running properly. Whenever I have issues like this, it’s usually with the cron run itself, not with the code it’s calling. Remove all of the code inside your hooked function and replace it with a single line that sets an … Read more
Q: Are pingbacks sent immediately when a post is published, or are they scheduled as a cron job? If the later is correct, how often does the job run and can I trigger it manually? A: You can install core control (wordpress plugin) to find out more. Q: Are there any other terms for PBs … Read more
The WP-Cron functions are not actually cron functions. Instead of a cron running and executing tasks precisely as scheduled, it waits until the frontend or admin is loaded, checks if any jobs are scheduled and then fires as needed. To execute the cron jobs, WP loads wp-cron.php, which is located in the root folder. My … Read more
You don’t need a plugin for this, a complete cron system is built into wordpress. If you don’t do anything, then wordpress is already running a lazy man’s cron job. Which means that it’s using your page hits to run the cron as close to your schedule as possible. Or you can choose to disable … Read more
If you look at the Cache Images plugin’s thumbnails page on the WordPress plugin directory it looks like this feature already exists within the plugin. In the admin section of your site go to Settings→Media there should be an option to cache images when posts are saved.
First of all, it’s best not to include wp-blog-header.php. Instead, set the cron job to your homepage URL with a ?mycustomcron=true variable appended (eg: http://example.com/?mycustomcron=true. Then we will check for the existance of this variable when the page loads: function wpse_103127_check_cron() { if ( isset( $_GET[‘mycustomcron’] ) ) { // things to do on cron … Read more
Well, I don’t think you can do this with cron. Browser sends request to server and gets response. It isn’t connected permanently to your server. So if you want to refresh page which is already displayed in browser, you have to force browser to send request for this page one more time (do refresh). Another … Read more