kevinadams
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Fixing WordPress
In reply to: Include Home in list of pagesHere is a workaround for widgets.php
/* Default Widgets */ function wp_widget_pages( $args ) { extract( $args ); $options = get_option( 'widget_pages' ); $title = empty( $options['title'] ) ? __( 'Pages' ) : apply_filters('widget_title', $options['title']); $sortby = empty( $options['sortby'] ) ? 'menu_order' : $options['sortby']; $exclude = empty( $options['exclude'] ) ? '' : $options['exclude']; if ( $sortby == 'menu_order' ) { $sortby = 'menu_order, post_title'; } $out = wp_list_pages( array('title_li' => '', 'echo' => 0, 'sort_column' => $sortby, 'exclude' => $exclude) ); if ( !empty( $out ) ) { ?> <?php echo $before_widget; ?> <?php echo $before_title . '<img src="wp-content/themes/absurd/images/pages.png">' . $after_title; ?> <ul> <?php echo $out; ?> </ul> <?php echo '<ul><li><a href="http://www.yourblogaddress.com">Home</a></li></ul>'; ?> <?php echo $after_widget; ?> <?php } }Forum: Themes and Templates
In reply to: Changing sidebar widget titles to imagesHere is a workaround
Forum: Plugins
In reply to: Modify widget titleHere is a workaround
Forum: Fixing WordPress
In reply to: Images on Widget’s Title or HTMLHere is a workaround
Forum: Plugins
In reply to: Changing a Widget title to an ImageHere is a workaround
Viewing 5 replies - 1 through 5 (of 5 total)