Pages Navigation Menu

Use multiple Google Analytics trackers on one page

Posted by on Dec 5, 2018 in | 0 comments

1. In the same block of code Plugins “linkid” and “displayfeatures” in below code are as example only. You can...

Read More

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