Widgets are configurable elements used to dynamically build sections of a WordPress theme.

learn more… | top users | synonyms (1)

0
votes
1answer
207 views

How to customize wordpress sidebar widget

This is how i registered my sidebar: register_sidebar(array( 'name' => 'Post Sidebar', 'before_widget' => '<div class="widgetdiv"><div id="%1$s" class="widget ...
0
votes
1answer
283 views

Upgraded to 3.3, My Widgets Disappeared

I upgraded to 3.3 an my widgets went bye-bye. Here's the code I'm using... anybody else having this problem? This code worked perfectly fine for me before the upgrade. <!-- Enable Widgets ...
0
votes
1answer
153 views

Why is registering a sidebar for each page causing my sidebars to reset?

I have the following code in my functions.php if ( function_exists('register_sidebars') ){ $pages=get_pages(); foreach($pages as $page){ ...
0
votes
1answer
193 views

WP 3.3 RC1 new switch_theme() method foobars sidebars

I've been testing the new 3.3 RC1 code against my plugin and I've found a significant difference in the switch_theme() function that foobars my ability to preset widgets dynamically. The problem ...
0
votes
1answer
35 views

Last x Posted Categories?

Is there a widget available that will list the latest x categories according to posting date, essentially providing a list of the most recently active topics?
0
votes
2answers
622 views

Setting text widget to one page only

I've tried several methods of trying to add my text widget to only one page (my about page) and everything fails! Currently I have a plugin that lets you choose with a text box which page you want the ...
0
votes
2answers
158 views

How to add captcha to publish widget

I want to add a captcha challenge to the "publish post" widget in "add new post" to prevent spam posts. This is because my site is open to registrations and posting. Could someone please suggest how ...
0
votes
1answer
52 views

Widget internal hooks and functions

I am working on my 1st plugin, of some ideas to re-do the interface to how widget's are manage d and organized. Anyhow. I am struggling to get this information, either that or understand it. Create ...
0
votes
2answers
91 views

How to Catch Last Widget box From Same Widget Area?

is there any Way to Catch Last widget box or div from same widget area?? i mean i have 4 widgets in footer widget area but due to design issue my 3rd widget box style+width is different.so i want to ...
0
votes
1answer
422 views

Jquery checkbox -show posts with checked tags

Using jquery, How do I show a checkbox with the list of tags in the sidebar, and only show posts of the checked tag? I cant seem to find this anywhere
0
votes
2answers
635 views

modify a output of a widget

I'm to implement a theme in wordpress. Is possible modify a output (html) of widget in wordpress? For example, the "recent comments widget"?
0
votes
1answer
499 views

How to show avatar of current logged in user in a widget

I have a php widget, and I need to show the avatar of the current logged in user, and I'm calling this code: <?php echo get_avatar(); ?> But its only outputting the default avatar. Is there a ...
0
votes
1answer
203 views

change widget to display excerpt instead of content

For the life of me I can not figure out how to get this widget (built into the theme) to show the excerpt instead of the post content. Can you guys take a look at it for me please. Any help would be ...
0
votes
2answers
180 views

Modify pages widget and make a plugin?

I would like to make a plug-in that adds a widget. I would like it to be based on the current pages widget but add the ability to select either include OR exclude by drop down or checkbox then list ...
0
votes
2answers
573 views

How to exclude categories from a sidebar with active widgets in it?

Is there a way to exclude certain categories from a widgetised sidebar? I've got categories that are associated with custom post types and ones associated with my blog - I don't want to display the ...
0
votes
1answer
55 views

Got a problem with a widget

i am trying to build a widget that would display a list of top authors on sidebar.. This is not my first widget but it is my second one so my apologies if i am way off.. The problem is that when i ...
0
votes
1answer
182 views

Wordpress category filters as subcategories

I want to develop a course database available in certain countries. Name of country will be set as top most category name. Then it will be sub-categorized alphabetically, subject, degree level and ...
0
votes
2answers
76 views

Widget control - putting a slideshow in the widget area

I am trying to put a slideshow in the widget area of my wordress theme... do you know of anyway to do this instead of html in the widget area? Thanks Kevin
0
votes
2answers
243 views

Register new widget

I have a widgetized area and I am trying to add a new widget that can be added to my widget area, I need the code below to be the widget output <ul> <?php $args = array( 'taxonomy' => ...
0
votes
1answer
225 views

activate custom sidebar widgets

Hey guys I'm trying to activate a sidebar for wp widgets. So my HTML looks like this: <aside id="leftSidebar"> <section> <h3></h3> <div ...
0
votes
1answer
83 views

Editing Help Section

I was trying to find the contextual help section for all the admin pages so I could add some additional text. The main pages I need to hit are the "Pages" page and the "Widgets" page but I'm not sure ...
0
votes
2answers
174 views

Changing the order of widgets according to current page?

I would like to change the order of the widgets, for instance: Front-Page: Recent Posts Recent Comments Single Post: Recent Comments Recent Posts Is it possible to achieve this?
0
votes
1answer
304 views

How do I customize the positioning of Wordpress widgets?

I want to create new sidebars, footers, etc. where I'll be able to move widgets. Can I try just try to edit the main CSS file to accomplish this or is it more complicated?
0
votes
1answer
326 views

Where (what direcory) are the default Wordpress Widget Codes stored?

Of course we all know there are a few widgets ready by default to drag into a sidebar, but where are these stored? I'd like the copy the code of the Categories and modify it slightly to show my ...
0
votes
1answer
284 views

How to remove date in Recent Post widget?

I am stuck with this. I open the file default_widget.php inside wp-icludes folder, i want to remove the date displayed by the default recent post widget. I cannot find it! Pls help!!
0
votes
1answer
253 views

Limit archive widget results

Is there a way to limit the amount of months shown in the Archive widget? I don't want to use a drop-down list (I can manually add a drop down in my footer so people can get the full archive). I'm ...
0
votes
1answer
463 views

Pages with 2 Columns

I've had a look at many of the available plugins but they all seem to be too difficult to use or do not provide enough flexibility. Plugins I've already tried: WP Post Columns Magazine Columns WP ...
0
votes
1answer
303 views

wp_footer hook running twice

I have created a widget that have to run some code using the wp_footer hook as well. But if you extend the WP_Widget, the wp_footer runs twice! Has someone already past for the same issue? Here is an ...
0
votes
1answer
695 views

SELECT field options disappear when saving widget

I'm having an interesting problem that I can't seem to solve. While creating a widget, I have created a select field with options that can be chosen on the widget screen. It all works perfectly fine, ...
0
votes
1answer
106 views

changing the style of sidebar

I am just a newbie in wordpress.I want the colour of the sidebar widget will be different in different pages. As the id and class are both same in every pages don't know how to change that.Is there ...
0
votes
2answers
272 views

How can I detemine the parameters needed by the_widget()?

I'm working with an old (now unmaintained) widget, which only allows one instance. Since I want to have a different sidebar on the homepage and I want this widget on both sidebars, I figure I need to ...
0
votes
1answer
481 views

Wordpress widget value not save?

all Now i create a widget plugin, here i have problem the checkbox problem, dont have save the value, then i search form Net, and found the answer, but now i dont have understand the means of (bool). ...
0
votes
1answer
85 views

Wordpress text filed input only inter value?

All Now i am using WordPress, here right now i have a problem How can i valid my text filed input only inter value. Here is my code <p> <label for="<?php echo ...
0
votes
1answer
176 views

What happened to my Inactive Widgets?

I have purchased the DynamiX theme, and I'm trying to use it for the first time. I was looking at the widgets, and I saw some neat customized (Dynamic maybe?) widgets in the Inactive Widgets section. ...
0
votes
1answer
127 views

How to unregister a widget from a child theme

I was wondering if there was a way to unregister a widget that gets declared in the functions.php file of a parent theme from a child theme, I understand that the child's function.php file gets loaded ...
0
votes
1answer
149 views

Vimeo Feed gived dead link with RSS widget?

I have RSS widget on my home page (footer) pointing to a RSS feed from Vimeo. The videos pull in fine, and the links for these work. The orange RSS icon also takes you to the actual RSS feed. ...
0
votes
1answer
387 views

Change number of widget columns in dashboard?

I removed some widgets from the dashboard in the wrong way (using unset() on $wp_meta_boxes) and as a side effect my dashboard widget area is now split into 4 columns, but with just the first 2 having ...
0
votes
1answer
119 views

Truncate Widget Title

I'm using a function: function widget_new_title($title) { echo word_limiter($title,20); } add_filter('widget_title','widget_new_title'); to limit the characters for widget title but my problem ...
0
votes
1answer
806 views

Enabling Default Widgets in a Custom Theme

In custom theme development, how does one enable default built-in widgets? Note I mean default built-in widgets, not custom ones. I tried the following example for a WP 3.12 blog by placing it in my ...
0
votes
1answer
269 views

Countdown Widget

Can someone recommend me a nice countdown widget plugin for Wordpress? I've been using the Countdown widget under Blogger and it's exactly what I need. A simple number from now until date or from ...
0
votes
1answer
178 views

Preset Widgets ONLY after site is initially created

I want to preset some widgets using functions included in my theme ONLY after a site is initially created (my theme is the default for all new sites in my instance of WordPress). I DO NOT want my ...
0
votes
2answers
2k views

A form in a custom widget

I'm trying to build a contact form custom widget. So i would like to display a contact form with a WordPress widget and send a message. No problem to display the form with my widget but when i click ...
0
votes
1answer
455 views

Problem with WP_Query loop and search term

I have a custom query to display random posts in my sidebar like this: $newQuery = array( 'post__in' => get_option('sticky_posts'), 'post_type' => 'ad_listing', 'posts_per_page' ...
0
votes
1answer
104 views

Listing all sidebars

How to list all existing sidebars? I want to show them all in the drop down list (so each item should have also the right value).
0
votes
1answer
600 views

My plugin creates custom widgets, How can I programatically add them to existing sidebar widget areas?

OK, I can create the code to add custom widgets to the widgets manager. Check. My next challenge is to, in the same plugin, during activation, check for the existence of my theme, and if active, ...
0
votes
1answer
352 views

jQuery slider widget similar to cnet.com

I'm building a WP theme that requires a splash graphic "slider" widget (similar to what you see on cnet.com). I'd like to build one myself, mainly so I can have full control over the bits, but if ...
0
votes
1answer
609 views

How put links in wordpress dynamic sidebar?

i would like put link after each widget in dynamic sidebar. I thinks is possible if i use static sidebar, but i don't found any tutorial for this. Thanks you
0
votes
2answers
942 views

How to show multiple instances of the WP125 Widget?

I have multiple sidebars, based on different pages. How can I get the WP125 widget to show on all of them?? Once I add it to one sidebar, it is unavailable to put on others (like many other widgets by ...
0
votes
1answer
1k views

recent comments filter by author, page, category

is there any way to display recent comments in a widget area only for one page? = Comments that are belongs to one page. comments of one category but not from admin ( or some other user ) I want ...
0
votes
2answers
1k views

How to list all custom post types in a custom widget?

I tried the Following (whihc lists custom post types called Static Content): <?php add_action("widgets_init", array('Widget_name', 'register')); class Widget_name { function control(){ ...