-
Hi Kal,
I’ve modified the boc_widgets.php file (in wp-contentthemesaquaincludes) to give additional inputs. I’ve also created a few additional test icons (icon_footer_mobile and icon_footer_fax) which I’ve dropped into the wp-contentthemesaquaimages folder, but I can’t figure out why the additional icons will not display. What am I missing?
Here’s the modified code …
/**
* Contact Info Widget
*/
class contact_info_widget extends WP_Widget {function contact_info_widget()
{
$widget_ops = array('classname' => 'contact_info', 'description' => '');
$this->WP_Widget('contact_info-widget', 'Aqua: Contact Info', $widget_ops);
}function widget($args, $instance)
{
extract($args);
$title = apply_filters('widget_title', $instance);echo $before_widget;
if($title) {
echo $before_title.$title.$after_title;
}
?>
< ?php if($instance): ?>< ?php echo $instance; ?>< ?php endif; ?>
< ?php if($instance): ?>
< ?php echo $instance; ?>< ?php endif; ?>
< ?php if($instance): ?>
< ?php echo $instance; ?>< ?php endif; ?>
< ?php if($instance): ?>
< ?php echo $instance; ?>< ?php endif; ?>
< ?php if($instance): ?>
< ?php echo $instance; ?>< ?php endif; ?>
< ?php
echo $after_widget;
}function update($new_instance, $old_instance)
{
$instance = $old_instance;$instance = $new_instance;
$instance = $new_instance;
$instance = $new_instance;
$instance = $new_instance;
$instance = $new_instance;
$instance = $new_instance;
$instance = $new_instance;return $instance;
}function form($instance)
{
$defaults = array('title' => 'Contact Info');
$instance = wp_parse_args((array) $instance, $defaults); ?>
< ?php
}
}
- Theme support is offered to verified customers only. To post a topic go to your Theme Category and add your question at the page bottom.
Theme Categories
Recent Topics
- Alea updates
- Why "Fortune" theme is no longer available?
- PHP 8.1 Error
- Issue with WPB editor icons
- Issue with Icons and Text Alignment for Arabic Content
- Installing and Activating Plugin Fortuna Portfolio CPT (1/8)
- Testimonials page is blank
- warning boc_framework line 905
- Transparent header issue without changes
- Slider Revolution error