$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>php - I need to edit a widget, with no dashboard access|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

php - I need to edit a widget, with no dashboard access

matteradmin8PV0评论

What the title says. There's a widget on a website that I need to edit, but I only have ftp access.

I've tried everything to try and locate where the template is for the specific widget I'm trying to edit (yes I tried Ctrl+Shift+F in sublime).

This is the widget that needs to be edited:

<div id="custom_html-5" class="widget_text et_pb_widget widget_custom_html">
    <h4 class="widgettitle">The Inside Edge Service</h4>
    <div class="textwidget custom-html-widget">
         <div class="testimonial-descript">
              <p>I know Mike is a very solid investor and respect his opinions very much. So if he says pay attention to this or that - I will.</p>
         </div>
    </div>
</div>

The theme being used is Divi. The widget is located inside Divi's sidebar module.

I am very desperate, any help is appreciated

What the title says. There's a widget on a website that I need to edit, but I only have ftp access.

I've tried everything to try and locate where the template is for the specific widget I'm trying to edit (yes I tried Ctrl+Shift+F in sublime).

This is the widget that needs to be edited:

<div id="custom_html-5" class="widget_text et_pb_widget widget_custom_html">
    <h4 class="widgettitle">The Inside Edge Service</h4>
    <div class="textwidget custom-html-widget">
         <div class="testimonial-descript">
              <p>I know Mike is a very solid investor and respect his opinions very much. So if he says pay attention to this or that - I will.</p>
         </div>
    </div>
</div>

The theme being used is Divi. The widget is located inside Divi's sidebar module.

I am very desperate, any help is appreciated

Share Improve this question edited Oct 30, 2018 at 22:13 Eli asked Oct 30, 2018 at 22:05 EliEli 691 gold badge2 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

It's a text widget, I think.

If you need to modify title/content text then you need to modify in database (as you've no dashboard access*)

If you need to change div structure for that widget, then you code in child theme.

[*Note: if you got Database access then you can manage dashboard access too.]

Post a comment

comment list (0)

  1. No comments so far