Widgets

Posted in: Newspaper
Post count: 204

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

Post count: 27744

Hello,

I think that you have a child theme and you need to go in there to change them.
In the theme files is here td-composer/legacy/common/wp_booster/td_wp_booster_functions.php

Thank you!

Post count: 204

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;

Post count: 27744

Hello,

Did you check if you have a child theme? Did you use a plugin for classic widgets?

Thank you!

Post count: 204

Hello Anamaria, I think I don’t have a child theme, and I am using classic widgets
What do I have to look at then?
Thank you very much for the help

Post count: 27744

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!

Post count: 204

ok, thanks
happy New Year

Post count: 27744

Happy New Year, too!

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.