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

learn more… | top users | synonyms (1)

0
votes
2answers
182 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
366 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
347 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
290 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
264 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
486 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
336 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
747 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
281 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
488 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
191 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
143 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
151 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
396 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
122 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
861 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
272 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
459 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
105 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
607 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
367 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
621 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
954 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
553 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
450 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 ...
0
votes
2answers
545 views

How to embed form data within the 'Add new post'

I want users to be able to use a car template in new posts. The template will include items such as a photograph of a car, make, model, number of doors, colour of car, etc. Users will not want to use ...
0
votes
1answer
170 views

How to use stack flair on my site?

I want to add stack flair on my WordPress site. How can I use that? I want to put it in the right hand side column. Can anyone help me with this?
0
votes
1answer
215 views

Wordpress Local to Live and The Missing Widgets!

I have just finished my local dev of a wordpress woo theme for a client which has extensive sidebar customization and widgets. Ive done a full mysql export and import via phpmyadmin. However when I ...
0
votes
1answer
472 views

Is there any plugin to show number of clicks on the link?

I have a post having different links. I have to show number of clicks on each link. Is there any link to show number of clicks on the link?
0
votes
1answer
166 views

“Folding” links in the blogroll

I've got a site (this one) with too many links in the blogroll. I want to keep them there, but to maybe have them "fold" in the menu (after some of them showing without the unfolding of the menu) ...
0
votes
1answer
402 views

Widget constructor: about $id_base and $options

in the book professional wordpress, they use something like $options = array( 'classname' => 'pp_widget', 'description' => '...' ); $this->WP_Widget('pp_widget', ..., $options); ...
0
votes
1answer
50 views

In a specific blog, the K2 theme does not have a Text Widget

I have a WPMu installation on a closed network, and one blog is using the K2 theme, but the Text Widget is not offered as an option. When I switch the theme to Default, the Text Widget is offered. ...
0
votes
0answers
7 views

Infinite scroll on sidebar widget

I am trying to add an infinite scroll functionality to a website i am building, but i want to add it to a sidebar widget. I have a widget that shows a list of recent posts, and i would like to add an ...
0
votes
1answer
12 views

How to filter the widgets like calendar and archives based on category in WordPress

Thanks for the reply now the news page and blog page of my website has sidebars to specific to those, but now the new problem raised on the widgets side. Specifically Calendar and Archive widget are ...
0
votes
0answers
7 views

Jetpack infinite scroll on widget

I would like to add the jetpack infinite scroll (other options would be good as well), to a sidebar widget that shows "additional posts". So instead of paginating (ajax) the whole page, i only want to ...
0
votes
1answer
8 views

Changes in widget customizer not triggering 'save and publish'

I'm making some of our widgets customiser friendly, so they work on the customise page and support widget previews. Usually when you update a widget the save button becomes usable and changes to 'save ...
0
votes
1answer
17 views

Remove all widget instances [on hold]

A project of mine will display data with help of widgets. The user can set the source of the information and each widget will display info from a certain category, which means that in case the source ...
0
votes
0answers
8 views

How to include WP_Widget from another file in main plugin file?

I tried to use the code bellow in my main file: define( 'MYPLUGINNAME_PATH', plugin_dir_path(__FILE__) ); include MYPLUGINNAME_PATH . 'class/class-widget.php'; Then I have a file ...
0
votes
1answer
16 views

adding image in the header of my dev widget

i want to add an image to the header of my widget in a div tag like so: <div class="header" align="center"> <a href="http://www.link.com"><img name="Header" ...
0
votes
0answers
18 views

Custom widget not appearing on front end

I have the following widget location defined in my theme's functions.php: register_sidebar( array( 'name' => __( 'Opening Hours', 'transparent' ), 'id' => 'sidebar-hours', ...
0
votes
1answer
26 views

Using AJAX in WordPress Widget

The past few days I've been Googling and searching for answers to no avail. I'm building out a "Featured Content" widget where the user can easily (via ajax/jquery) search for posts. Is it possible ...