Answers for "how to change page title in wordpress"

PHP
2

wordpress echo the page title

<?php echo get_the_title(post->$ID); ?>
Posted by: Guest on November-30-2020
1

how to add title to wordpress php

// For website name in <title> tag
<?php wp_title(); ?>
  
// For the Post title within the loop
<?php the_title(); ?>
Posted by: Guest on November-23-2019
0

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;
}
Posted by: Guest on August-29-2021
0

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' );
Posted by: Guest on August-29-2021

Code answers related to "how to change page title in wordpress"

Browse Popular Code Answers by Language