Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wp title tag

1
add_theme_support( 'title-tag' );
Comment

title tag wordpress

<title><?php wp_title(''); ?><?php if (!(is_404()) && (is_single()) || (is_page()) || (is_archive())) { ?> » <?php } ?><?php bloginfo('name'); ?></title>
Comment

how to change widget title tags in wordpress

//change sidebar parameters in child theme//

add_filter('dynamic_sidebar_params', 'twentytwentychild_edit_widget_func');

function twentytwentychild_edit_widget_func($params) {
    $params[0]['before_title'] =  '<h4 class="widget-title subheading heading-size-3">' ;
    $params[0]['after_title'] =  '</h4>' ;
    return $params;
}
Comment

how to change title tag of widget in wordpress


function my_custom_widget_title_tag( $params ) {

    $params[0]['before_title'] = '<h4 class="widget-title widgettitle">' ;

    $params[0]['after_title']  = '</h4>' ;

    return $params;

}
add_filter( 'dynamic_sidebar_params' , 'my_custom_widget_title_tag' );
Comment

PREVIOUS NEXT
Code Example
Php :: how to run multiple seeder at a time in laravel 
Php :: add custom page to wordpress 
Php :: php delete directory 
Php :: env value return null laravel 
Php :: wherejsoncontains laravel 
Php :: php get url after question mark 
Php :: php validate file type 
Php :: how to sent request in php 
Php :: Target class [BannerController] does not exist. 
Php :: destory session in laravel 
Php :: laravel wherein example 
Php :: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version "= 8.1.0". You are running 8.0.8. in /Applications/MAMP/htdocs/schools/vendor/composer/platform_check.php on line 24 
Php :: in_array 
Php :: laravel wherenotin 
Php :: woocommerce remove payment method when totla is 0 
Php :: laravel get file in public folder 
Php :: php string left 10 characters 
Php :: show featured image in post wordpress 
Php :: laravel create coma separated string from query 
Php :: wordpress get id from page title 
Php :: php check if query succeeded 
Php :: file form validation codeigniter 
Php :: fetch method and class in codeigniter 
Php :: stdclass not found laravel 
Php :: get only the first two word from a string php 
Php :: php concatenate string 
Php :: wordpress create shortcode 
Php :: Laravel Eloquent Query Using WHERE with OR AND OR? 
Php :: display image from mysqli database 
Php :: where in laravel 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =