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

learn more… | top users | synonyms (1)

0
votes
1answer
202 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
784 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
164 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
54 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
93 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
436 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
1answer
563 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
2answers
202 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
619 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
57 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
222 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
79 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
246 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
252 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
85 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
188 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
407 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
353 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
296 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
266 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
499 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
352 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
777 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
284 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
493 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
198 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
151 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
153 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
401 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
123 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
902 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
273 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
181 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
467 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
106 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
614 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
374 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
631 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
964 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(){ ...
0
votes
1answer
567 views

Add SideBar/Widgets Just Below the Post

I have created and registered side bar in function.php and using it another place. It's working fine. Now I like to use it just below the post. I have installed some plugins -Bookmarks, related ...
0
votes
1answer
1k views

My Custom Widget does not save in sidebar

I created a custom widget, but it's not saving if I click on save. When I refresh the page it is not saved. My code looks like follows <?php /** * Plugin Name: Sending a Contact SMS * ...
0
votes
1answer
459 views

Wp-admin widgets have no title texts

In wp-admin when I enter widgets I see their bars, but the titles of widgets are missing. only :Something remain visible and the others are gone. What happened? How do I fix that? Edit: Found it ...
0
votes
2answers
2k views

widgets in footer?

Can i use dynamic_sidebar('first-footer-widget-area'); directly in footer.php?Any change to made in functions.php page? I am using twenty ten theme.
0
votes
1answer
151 views

Why aren't my Follow Me links working?

I've been working o my website and I just noticed that most of the links from my Follow Me plugin are broken. The feed link works fine, but everything else leads to a 404. I can see what's wrong ...