How to remove date in Recent Post widget?

Ok, first of all never change any of the core files. It will cause issues with updating WordPress. Secondly, there is no date shown in the default Recent Posts widget supplied with WordPress 3.2. What version of WordPress are you using? Are you sure it’s the default WordPress Recent Posts widget?

Changing the order of widgets according to current page?

Use Widget Logic « WordPress Plugins with PHP Code Widget « WordPress Plugins to use multiple widgets with the same function in one sidebar. Or create another sidebar and use the same widget in each; check the twentyten or twentyeleven themes for the sidebar and functions.php code.

activate custom sidebar widgets

You would register the sidebar in the functions.php file with something like this: <?php register_sidebar(array(‘name’=>’custom-content’, ‘before_widget’ => ‘<section>’, ‘after_widget’ => “</section>”, ‘before_title’ => ‘<h3>’, ‘after_title’ => “</h3>” )); ?> And Use it in your theme like this: <div class=”contents”> <?php if ( function_exists(dynamic_sidebar(1) ) ) : ?> <?php dynamic_sidebar(custom-content); ?> <?php endif; ?> </div>

Register new widget

I got it working now with the code below, not sure if it is the best way but it works good /** * Tag LIST widget class */ class WP_Widget_Tag_List extends WP_Widget { function __construct() { $widget_ops = array(‘description’ => __(“Your most used tags in List format”)); parent::__construct(‘tag_list’, __(‘Tag List’), $widget_ops); } function widget($args, $instance) … Read more

Got a problem with a widget

It sticks if you don’t include id_base in $control_ops, when you pass it to WP_Widget in the constructor. Looking at the core code it looks as though id_base is actually the first arg to WP_widget and the $control_ops array should only carry ‘width’ and ‘height’ keys.

Jquery checkbox -show posts with checked tags

Grab and go, buddy! Had fun figuring this one out 🙂 Create a file and upload to your plugins. Call list_ajax_tags() in theme where you want to display these tags. Modify to suit your needs http://pastebin.com/3eZWEv5K (had trouble formatting the code here)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)