create metabox to activate slider

Don’t bother with the checkbox and metabox, that’s limiting: You’re only able to have a single slider, and have to add code for every new slider to add a new checkbox Data gets stored in post meta as a custom field, but querying posts by their post meta is super expensive and slow So I … Read more

Buik update custom field values from external API

I suggest using a WordPress cron job, in the form of a real server cron job (by default WordPress cronjobs are executed when a user visits the website). Setting up a cron job (the easy way): https://kinsta.com/knowledgebase/wordpress-cron-job/ Real cronjob via server crontab: https://easyengine.io/tutorials/wordpress/wp-cron-crontab/

Remove default WYSIWYG editor without removing custom fields editors

WordPress has the remove_post_type_support function that can be used with this purpouse, you can learn more from https://developer.wordpress.org/reference/functions/remove_post_type_support/ Just an example borrowed from codex /** * Remove excerpt support from posts. */ function wprocs_custom_init() { remove_post_type_support( ‘post’, ‘excerpt’ ); } add_action( ‘init’, ‘wpdocs_custom_init’ );

Custom Field not saving in WordPress

The post meta form is limited to displaying 30 keys by default. To change the value, use the postmeta_form_limit filter: add_filter( ‘postmeta_form_limit’, function( $limit ) { return 50; } ); Also consider adding a custom meta box, where you can set up dedicated fields instead of having to select a key each time.