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

learn more… | top users | synonyms (2)

0
votes
1answer
480 views

How to add Ajax to the default widget calendar to support next/previous months loading?

I want to customize or replace the default calendar, similar to the default widget, but with Ajax next and previous months loading. Ideally I would like to be able to do that (red dots are dates ...
0
votes
1answer
201 views

Want to add more option in “Sexy Login”

I am using Sexy Login in my new website. Its a beautiful plugins. But i need to add some more options. I want to add more button for both who are logged in & who are not logged in like "Write New ...
0
votes
1answer
210 views

How do I exclude portrait pictures from the nextgen gallery sidebar widget?

I have a gallery that contains both landscape and portrait pictures and want the gallery to be displayed in the wordpress sidebar. The problem is that the thumbnails of the portraits are scaled into ...
0
votes
2answers
27 views

How to test if the widgetized area has any widgets?

I making a widgetized footer with three widgetized areas (footer1, footer2, footer3), The problem is that even if there's no widgets assigned to any widgetized footer area, the footer is still there ...
0
votes
1answer
27 views

prevent custom widget file names from showing in Appearance > Editor

I've setup a few custom widgets for my theme, and when I go into Appearance > Editor, the widget file names are showing up in the list of files that can be edited. How can I prevent these widget file ...
0
votes
2answers
190 views

Add html after the first widget in a sidebar

Just wondering is it possible to add HTML code after the fisrt widget in a sidebar so that it would only show once and not repeat after a second or third widget is added? This is what I have so far: ...
0
votes
1answer
47 views

Accessing widget information

I'm trying to access widget information saved in the wp_options table. I printed it out: add_filter('the_content', function(){ $res = get_option('widget_my_widget'); print_r($res); }); And ...
0
votes
1answer
86 views

Trouble accessing a multidimensional array to add classes to default WordPress widgets

I've been writing up a function to assign classes to default WordPress widgets that I choose. After a bunch of research and modifications, I came up with the function below. A quick explanation of ...
0
votes
1answer
38 views

Stuck with sidebar registering

I tried to add a custom page to my Wordpress template. That part is good. What I´m stuck with is a common sidebar that appears although I registered a custom sidebar for it. I am calling the ...
0
votes
1answer
74 views

Can / should a widget plugin define its own Widget Area?

Should a plugin be able to add a widget area above the_content? (Without requiring template/theme changes.) What would be the best way to do this? Doubts: widgets typically echo output to the screen; ...
0
votes
1answer
290 views

How to add a recent post function to a text widget I created for practice?

I am currently being trained to create widgets and my mentor has asked me to create a text widget then add the ability to display the 5 most recent posts (all categories) on it. I am a little stumped ...
0
votes
1answer
1k views

disable default widgets in Responsive theme

Theme: Resposive I have added "Widget Context" and has set it to show a widget only on the start side. This works perfectly BUT on all other sides there shows a default widget "Home Widget 1" with a ...
0
votes
1answer
3k views

How to add social buttons like facebook and twitter in the footer of a theme?

Hi I own the blog camilamfotografia.com.br and I'd like to add social buttons in the footer or in the navigation menu to link my site to facebook twitter flickr pinterest etc... I have tried without ...
0
votes
3answers
1k views

Using wp_dropdown_categories in widget options

I have a product search widget when you select certain products a hidden field is shown. I would like to set a custom category in my widget options that is then used for displaying my hidden field. ...
0
votes
2answers
63 views

How can I re-register my blogs widgets?

I deleted my wp_options database file in error. I replaced it with a clean install file. Now my widgets are still present in my widgets area but none are recognized by wp. Am I right in thinking ...
0
votes
1answer
133 views

event organiser not loading in main content area

there is possibly a very simple answer for this, but im afraid im a novice at this stuff :( on my wordpress site Im using the event list shortcode in the main content area and the calendar in the ...
0
votes
2answers
358 views

Widget queries even when there are no sidebars?

I'm trying to reduce my database queries. I don't have any sidebars or widgets set but I noticed the following query SELECT option_value FROM wp_options WHERE option_name = 'widget_pages' LIMIT 1 ...
0
votes
1answer
106 views

Replace the “widgets” label in the backend

Is it possible to replace/modify the "Widgets" label in the backend by an other label ? ... and do the same thing for the "Widgets" title in the widget page. Is there a filter or another solution ?
0
votes
1answer
138 views

Issue with checked() echoing on to page

This is kind of a weird one. I'm in the process of building a widget that goes through posts of type product and displays a list of checkboxes in the admin panel to display/show the products in the ...
0
votes
2answers
543 views

In widget, the value of select field doesn't get updated, changes after saving

I'm building a simple widget which will allow the user to select a post among a list of posts. For some reason, when I select an option, I believe it actually gets selected but the option doesn't ...
0
votes
1answer
761 views

Hide widget if user is logged in without plugin

I would like to be able to hide a widget in the front-end if the user is logged in and only display the widget when the user is not logged in. I have found a plugin that does this called Widget Logic ...
0
votes
1answer
150 views

Extend a plugin to include a widget option

I currently have a plugin (not a widget) that allows people to use shortcode to put the results on their web pages and posts. Some people have asked for a widget option, so the output can go in the ...
0
votes
1answer
61 views

Any advice on customising this twitter feed?

I'm really having trouble locating the documentation for the Recent Tweets widget anywhere. It's not a plugin and appears to be native. All I want to do is to be able to move the tweet_time underneath ...
0
votes
1answer
146 views

Is there a Image Gallery which will load all my posted Images like twitter's image grid?

Many of my wordpress posts have images in them for my personal blog. I have been searching for a good way to display all of the images from all of the posts in a grid layout on a page. Similar to the ...
0
votes
3answers
1k views

Any available action to add content before and after sidebar ?

Hiz As the title says, i am looking for inserting a function's output before sidebar's first widget, and one in the end after teh last widget, is it possible? thanks in advance.
0
votes
2answers
84 views

Creating a widget that displays the content of a page

I have a page that displays information from a query (I placed the output of the query in a custom page template and have the information display that way). How can I put this information into a ...
0
votes
1answer
507 views

How to automate setup of theme, pages, widgets, etc for a new site in multi-site?

I have a large MultiSite network, and each page is designed a bit differently. I'm looking to write some custom code to automate the setup of a new blog as much as I can. Things I'm looking to do ...
0
votes
1answer
261 views

Removing widget without using unregister_widget

I want to remove some plugin widget showing from wp-admin/widgets.php but i dont want to use unregister_widget because i am using this widget automatically from php files.. Basically i dont want ...
0
votes
1answer
239 views

Recent Posts widget missing current_menu_item class

Unlike the (WP standard) Custom Menu widget, the Recent Posts widget does not add the current_menu_item class when a post is selected (being displayed). This seems like a major oversight, am I ...
0
votes
1answer
46 views

How to place my g+ or fb plugin at the bottom of post or page?

I recently installed the google+ and facebook widget plugins to my pages and I do not like it's current position. I'm not sure where to begin looking.. Thanks.
0
votes
2answers
203 views

How to use variables from widgets in other pages?

I have a widget where I set some custom url's like register or login. I want to use those variables declared in a widget outside of the widget, in other pages (page templates). How can I save or use, ...
0
votes
1answer
163 views

Text Widget to Show database fields based on post

I am wondering whether this is possible: I would like a widget which displays fields taken from a database table I have created. Table contains information about the location of the post. ...
0
votes
1answer
109 views

Catagorized hierarchy menu for PAGES!

Yes, I am a noob at all this so please excuse my ignorance! So, for the past couple of days, I've been searching for a drop down page menu widget, but I would like to have the pages separated into ...
0
votes
1answer
981 views

Add a widget to a static front page

I'm using a premium theme, which I purchased and would like to add a social widget to the static front page. I've made a static page with a image slider my home page. An example of the page can be ...
0
votes
1answer
39 views

Last Update time in widget

I have a widget which can be updated every time with few values and admin update it on daily basis now how to get its last update time.
0
votes
1answer
614 views

How to style the RSS wordpress?

I am using the default rss feed widget but want to style it. My question is -where to add my piece of code to style the default wordpress rss widget?
0
votes
1answer
512 views

Custom field outside the loop and inside an array

I am trying to use a custom field inside a widget so it's therefore outside the loop. Taking it a step further, the theme I have is using an array to generate listings which makes it hard for me to ...
0
votes
1answer
141 views

How to use multiple instances of Deal or Announcement With Countdown Timer Plugin Widget

I have a widget called the deal or announcement with countdown timer I want to use multiple instances of the widget at the same time; however, the widget does not allow multiple instances. Is there a ...
0
votes
1answer
95 views

Distinguish between different widgets of the same type

I'm playing a little with wordpress widgets and I trying to do something like this: I created a sidebar and a widget to display a slider with latest posts. The jQuery loader is something like this: ...
0
votes
2answers
701 views

Don't display a sidebar widget when on a specific page

I am trying to stop latest blog items from displaying in the blog section of my site. I have used the following code: <?php if ( is_page('blog') ) { ?> <h2>Don't display ...
0
votes
2answers
2k views

How to exclude categories from get_categories() select list inside a widget admin panel

I have a widget that I need to add a category select list to. The end user should be able to select a category and I need to save the category ID with the widget. I've hit a stumbling block in that I ...
0
votes
2answers
862 views

Adding dashboard widgets to show - custom post type stats, information from other plugins

I have a website and i need to be able to edit the dashboard widgets so it shows relevant information to the website. At the moment all that is showing is the right now widget. Inside this widget, i ...
0
votes
1answer
392 views

links to Media Library content in sidebar per page

I have a bunch of PDF files in my Media Library and I want to show the relevant ones on a per-page basis in the sidebar. So on the 'About Cats' page, I want ILoveCats.pdf and cat-food.pdf from the ...
0
votes
1answer
1k views

Truncate custom post type content

I am customizing a widget used for displaying testimonials. The widget is working fine, except it shows all content and i want to limit the text/characters so the footer of the website looks balance. ...
0
votes
1answer
229 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
295 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
166 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
204 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
36 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
880 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 ...