WordPress codex for page
How to get the current page slug?
global $post; $slug = get_post( $post )->post_name;
Having trouble on the auto filling the color of telephone number? Most common color is blue for the links. Here’s the solution below. Just copy and paste this inside to to your . <meta name="format-detection" content="telephone=no">
Change WordPress default email notification. Mostly used in new user registration, the default is `WordPress <wordpress@yourdomain.com>`. In my case I want to change the WordPress Name to my domain name. The output will be `Anthony Carbon <info@anthonypagaycarbon.com>`. The codes below will complete your tasks. add_filter( 'wp_mail_from', 'default_wp_mail_from' ); function default_wp_mail_from( $from_email ){ if( $from_email ==…
[wdes-column-generator]
The7 pagination in custom WP_Query, just copy the code below and paste it in your functions.php. dt_paginator( $query, array( 'class' => 'paginator no-ajax', 'ajaxing' => false ) ); [php] Example: [php] $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array( 'cat' => '8', 'posts_per_page' => 8, 'paged' => $paged ); $query =…
Override InWave Jobs template to the current theme is little bit hard for the WordPress beginners so I want to write tutorials that can help them solving this issue. Before that, just a little background for InWave Jobs. InWave Jobs is created by inwavethemes which I beleive many WordPress users is now using this, easy and very powerful plugin….
How to hide Gravity Form field Label? I have 2 ways to solve the problem. Option 1: via CSS code. #gform_wrapper_1 label.gfield_label { display: none; } Option 2: via PHP code to be placed on your functions.php. add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); Happy coding… 🙂