Crea eventi

Please visit Source Site Crea eventi The post Crea eventi appeared first on GenerateWP. Please visit Source Site

Love Stories Tax

Please visit Source Site // Register Custom Taxonomy function custom_taxonomy() { $labels = array( ‘name’ => _x( ‘Love Story categories’, ‘Taxonomy General Name’, ‘text_domain’ ), ‘singular_name’ => _x( ‘Love Story…

RE type

Please visit Source Site // Register Custom Taxonomy function property_type_taxonomy() { $labels = array( ‘name’ => _x( ‘Loại bất động sản’, ‘Taxonomy General Name’, ‘text_domain’ ), ‘singular_name’ => _x( ‘Loại…

Disable JSON Rest API

Please visit Source Site The new REST API feature was introduced in WordPress 4.4. This features makes it possible to access your content through an JSON API, which is awesome…

List All Roles

Please visit Source Site This snippet let’s you loop through every role registered in WordPress. If you want to change the capabilities of a role, check out this snippet: Change…

Add Body Classes

Please visit Source Site This code snippet let’s you add CSS classes to your body tag depending on what page you are on. For this to work you need to…

Automatic Title Tag

Please visit Source Site InWordPress 4.1 and up, you can set the title tag automatically by adding this snippet to functions.php. Remember to remove your own title tag from header.php, and…

Show PHP Errors

Please visit Source Site This shows PHP errors for your WordPress theme. It also checks that the user i an admin and error will only be displayed if it’s true….