Add new Admin User for WordPress directly in database
If you have no access to “/wp-admin” area of your WordPress: Connect to the database or PHPMyAdmin or console: mysql -uUSER...
Read MoreEmbed “Advanced Custom Fields PRO” (ACF PRO) plugin in your own WordPress plugin
If you want to distribute you own paid WorPress plugin with “Advanced Custom Fields PRO” embedded: Create in your plugin...
Read MoreHow to setup Template for custom post type from plugin in WordPress
function custom_template_from_plugin($path) { global $post; if( $post->post_type == 'custom_post_type' ) {...
Read MoreEnqueue WP Styles with versioning to avoid cache when updated
/** * Enqueue styles and scripts */ function enqueue_styles() { wp_enqueue_style( 'my-style', PLUGIN_URI.'my.css', array(),...
Read MoreWP Admin custom column
/* * Add columns to exhibition post list */ public function add_acf_columns ( $columns ) { return array_merge ( $columns, array (...
Read More