Hello, I would like to know how I can name one of the widgets that I have, I am attaching a photo, I want to replace the word VIDEOBRAND with Bets.
I hope your help and HAPPY NEW YEAR
https://www.radiomarcabarcelona.com/goodnews-design/WIDGETS.png
Hello Anamaria, I have found the file that you indicate and I have searched for everything that contains the word “widgets” and I have only found what I attached to you. I CANNOT find the word VIDEOMARK that gives name to the widget that I want to rename.
Where can I keep looking?
Thank you
/* —————————————————————————-
* register the default footer sidebars
*/
add_action( ‘widgets_init’, function (){
register_sidebar(
array(
‘name’=>’Footer 1’,
‘id’ => ‘td-footer-1’,
‘before_widget’ => ‘<aside class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<div class=”block-title”><span>’,
‘after_title’ => ‘</span></div>’
)
);
register_sidebar(
array(
‘name’=>’Footer 2’,
‘id’ => ‘td-footer-2’,
‘before_widget’ => ‘<aside class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<div class=”block-title”><span>’,
‘after_title’ => ‘</span></div>’
)
);
register_sidebar(
array(
‘name’=>’Footer 3’,
‘id’ => ‘td-footer-3’,
‘before_widget’ => ‘<aside class=”widget %2$s”>’,
‘after_widget’ => ‘</aside>’,
‘before_title’ => ‘<div class=”block-title”><span>’,
‘after_title’ => ‘</span></div>’
)
);
}, 11);
// This points to the post format archive template( like video post format )
add_filter( ‘archive_template’, function( $taxonomy_post_format ){
if ( is_tax( ‘post_format’ ) ) {
$taxonomy_post_format = TDC_PATH_LEGACY . ‘/taxonomy-post_format.php’;
}
return $taxonomy_post_format;
Hello,
So, if you have created the sidebar before and you set the title, now you can’t changed it.
Also, please check this topic https://wordpress.stackexchange.com/questions/2998/changing-name-of-sidebar-widget
Thank you!