Pages Navigation Menu

Add new Admin User for WordPress directly in database

Posted by on Dec 4, 2018 in | 0 comments

If you have no access to “/wp-admin” area of your WordPress: Connect to the database or PHPMyAdmin or console: mysql -uUSER...

Read More

Embed “Advanced Custom Fields PRO” (ACF PRO) plugin in your own WordPress plugin

Posted by on Dec 4, 2018 in | 0 comments

If you want to distribute you own paid WorPress plugin with “Advanced Custom Fields PRO” embedded: Create in your plugin...

Read More

How to setup Template for custom post type from plugin in WordPress

Posted by on Dec 4, 2018 in | 0 comments

function custom_template_from_plugin($path) { global $post; if( $post->post_type == 'custom_post_type' ) {...

Read More

Enqueue WP Styles with versioning to avoid cache when updated

Posted by on Dec 3, 2018 in | 0 comments

/** * Enqueue styles and scripts */ function enqueue_styles() { wp_enqueue_style( 'my-style', PLUGIN_URI.'my.css', array(),...

Read More

WP Admin custom column

Posted by on Dec 2, 2018 in | 0 comments

/* * Add columns to exhibition post list */ public function add_acf_columns ( $columns ) { return array_merge ( $columns, array (...

Read More