Actually no. Here is the functions.php in its entirety
<?php
// Set path to WooFramework and theme specific functions
$functions_path = TEMPLATEPATH . '/functions/';
$includes_path = TEMPLATEPATH . '/includes/';
require_once ($functions_path . 'admin-init.php'); // Framework Init
// Theme specific functionality
require_once ($includes_path . 'theme-options.php'); // Options panel settings and custom settings
require_once ($includes_path . 'theme-functions.php'); // Custom theme functions
require_once ($includes_path . 'theme-plugins.php'); // Theme specific plugins integrated in a theme
require_once ($includes_path . 'theme-actions.php'); // Theme actions & user defined hooks
require_once ($includes_path . 'theme-comments.php'); // Custom comments/pingback loop
require_once ($includes_path . 'theme-js.php'); // Load javascript in wp_head
require_once ($includes_path . 'sidebar-init.php'); // Initialize widgetized areas
require_once ($includes_path . 'theme-widgets.php'); // Theme widgets
?>
and the theme-widgets.php here
<?php
include( TEMPLATEPATH . '/includes/widgets/widget-woo-social.php' );
?>
and I am trying to make a change in function widget in widget-woo-social.php file
<?php
/*---------------------------------------------------------------------------------*/
/* Address Widget */
/*---------------------------------------------------------------------------------*/
class WP_Widget_Social extends WP_Widget {
function WP_Widget_Social() {
$widget_ops = array('classname' => 'widget_social', 'description' => __('Add social links in your sidebar'));
$this->WP_Widget('woo_social', __('Woo - Social'), $widget_ops);
}
function widget( $args, $instance ) {
extract($args);
$title = apply_filters( 'widget_title', empty($instance['title']) ? '' : $instance['title'], $instance, $this->id_base);
$facebook = apply_filters( 'widget_facebook', $instance['facebook'], $instance );
$twitter = apply_filters( 'widget_twitter', $instance['twitter'], $instance );
$flickr = apply_filters( 'widget_flickr', $instance['flickr'], $instance );
$youtube = apply_filters( 'widget_facebook', $instance['youtube'], $instance );
echo $before_widget;
if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
<div class="socialwidget">
<?php if ( !empty( $facebook ) ) { echo '<a href="'.$facebook.'" class="ico-facebook">'.__('Facebook','woothemes') . '</a>'; } ?>
<?php if ( !empty( $twitter ) ) { echo '<a href="'.$twitter.'" class="ico-twitter">'.__('Twitter','woothemes') . '</a>'; } ?>
<?php if ( !empty( $flickr ) ) { echo '<a href="'.$flickr.'" class="ico-flickr">'.__('LinkedIn','woothemes') . '</a>'; } ?>
<?php if ( !empty( $youtube ) ) { echo '<a href="'.$youtube.'" class="ico-youtube">'.__('Youtube','woothemes') . '</a>'; } ?>
<div class="clear"></div>
</div>
<?php
echo $after_widget;
}
......
......
......
?>