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

learn more… | top users | synonyms (2)

0
votes
0answers
9 views

Dropdown Menu Widget Plugin Links not Clickable [closed]

I am using oneengine theme with Dropdown Menu Widget plugin but the menu items are not clickable. You can see the problem here: http://goo.gl/l6mShN
0
votes
1answer
15 views

Always show the widget title in a wordpress widget

I'm using the default category widget to show my category list in sidebar. The problem is when I select some category to visit the corresponding category page [ex: football], the widget title [which ...
0
votes
0answers
12 views

How to add/save/retrieve additional fields to all available widgets?

I cant seem to find any complete tutorial that shows how to add / save/ retrieve a fields to any widget. Can someone please show a simple example how to add a simple select , save the data and ...
0
votes
1answer
19 views

Best strategy for providing theme options using customizer

I am making a free distributable theme and I wish I could provide theme options in the best possible way. I have doubts (mostly about widgets) and sidebars. Here we go: Is it a good idea letting the ...
0
votes
1answer
15 views

Widget background images missing on second blog excerpt page

On my main blog page, there are category images on the left-hand side. When I click "next page" at the bottom of the excerpt list, and the second page of excerpts loads, the images are no longer ...
0
votes
0answers
31 views

use add_action('wp_head') in a widget for generating dynamic CSS styles

I have been working on a 'Custom Pop Links' widget for use in a theme which is ready for distribution. User can change the color of a link using a color picker inside widget. Untill now, I used inline ...
0
votes
0answers
7 views

Register Widget Areas from Custom Widget

Is this possible to register sidebar / widget area from a custom widget?. If you have any idea please let me know. I can create it from custom theme and custom plugin. But I want to create from ...
0
votes
0answers
12 views

How to code so the calendar widget so that each day on it is a link straight to that day's post?

I have a blog in which I post no more and no less than once per day. Every day, one post, and they're all named accordingly like this: http://everydaypoetry.net/03/31/2015/03312015/. I'm currently ...
0
votes
0answers
7 views

widget output problem

I created a custom widget, but it's output without any html markup and any css style , and all my variables are surrounded with p tag . any idea ?? public function widget($args, $instance) { ...
0
votes
0answers
10 views

Widget Development: As I add widget to Widget Area, it doesn't work until refresh page

I just created a custom text widget with a bit more styling options in it, but as I tested on widgets page I got some issues. For example as I save anything on that widget, it lost all styling and JS ...
0
votes
0answers
23 views

How can I add widgets to the category page?

At page wp-admin/widgets.php I can personalize the Widgets shown in the homepage of my website. But I suspect I cannot use the same for any other page. I would like to create a page and put inside ...
0
votes
1answer
26 views

Randomizing the RSS Widget

I'm trying to see if there's a way I can make it where the RSS widget can pull in a different feed (one of let's say ten I pick) and displays it in the widget each time the page is refreshed? It's ...
0
votes
1answer
14 views

Wordpress version quick check?

This should be a FAQ but I didn't find it quickly. Logging into my wordpress site as admin on the upper left and lower right it reminds me to upgrade to 4.2.1. This support topic on wordpress.org says ...
0
votes
0answers
16 views

How can I to add css or js to wp_head from shortcodes or widgets? [duplicate]

How can I to add css or js to wp_head generated from shortcodes or widgets?
0
votes
0answers
37 views

Add a sidebar for menu item?

I want to modify the WordPress navigation menu. I have added a custom checkbox in the menu items custommenu. If that is enabled, then I want to remove the submenu items for that item and include a ...
0
votes
0answers
34 views

Sticky Widget with scroll limit

I have a Widget fixed as the visitor scrolls down the page. At a certain point though, the widget needs to 'stop' so wider content is not covered. I found this answer at Stack Overflow (first ...
0
votes
1answer
15 views

Downloading Generated XML File

I'm making a Widget which presents users with categories as drop down list. When user selects category and press download, I want to get all posts under category and download them. I have faced a ...
0
votes
0answers
14 views

Displaying a widget with custom taxonomies

I'm trying to display a widget that would pull all the information from custom taxonomies for the relevant post, like this: http://www.onlinecasinos.fm/reviews/bet365-casino In that example, on the ...
0
votes
0answers
29 views

Post List Widget with custom posts and editing the Read More Link

I actually have 2 questions, one related to the Post List Widget, the other concerns the "Read More"-link. ad 1) I want to show a certain category of posts (only one post at a time) in this widget. I ...
0
votes
0answers
21 views

Multilingual multisite > customisable footer across different sites with widgets?

I'd like to keep the structure of the footer similar across all sites using the same Theme. However, each site would need different content in their footer. Here's a concrete example - for Site A: ...
0
votes
1answer
23 views

Are widget arguments always set inside My_Widget::widget()?

Specifically, are the before_widget, after_widget, before_title and before_title array keys always set inside My_Widget::widget()? I'm wondering if statements such as the following are necessary ...
0
votes
1answer
14 views

How to get data from one wordpress site to another

I have the following sites: 1. Community News site 2. Classifieds site 3. Coupon Site Is there any way I can get data from my classifieds and coupon site on my community news site....like in the ...
0
votes
0answers
31 views

do_action inside of onclick

I'm brand new with making plugins/widgets, and am probably pretty limited to basic in knowledge with php as well. I want to be able to register a function that runs when a button is clicked. The ...
0
votes
1answer
20 views

Widget Script Loads at Bottom of Page

I've been working on a plugin that adds a script to the sidebar when activated. So far, I've been able to display the code, but it loads at the bottom of the page and not in the sidebar. I'm pretty ...
0
votes
1answer
31 views

widgets not working

I pasted my siderbar widget code in widgets.php file function right_sidebar_widget() { register_sidebar( array( 'name' => 'Right Siderbar', 'id' => 'right-siderbar', ...
0
votes
0answers
13 views

Retrieve the real time widget area class

I'm trying to retrieve programmatically the sidebars classes in my developed pluging. I use the global $GLOBALS['wp_registered_sidebars'][1] and try to access the 4th element(class) in the array but I ...
0
votes
0answers
14 views

Show widget location borders for development

I'm taking over a wordpress site, whose template has a high number of widget locations in the appearance section. Is there a way to temporarily turn on the widget location borders so I know where ...
0
votes
0answers
20 views

add_filter('body_class') running from widget even when widget is not loaded on page/post

This should be adding a function to init() to check if the widget is active widget on the front end on a page/post - but even when the widget is not loaded on a page/post, .Widget_FilterProject is ...
0
votes
0answers
20 views

Add TinyMCE to WordPress default text Widget

Wonder if there is any way to add the TinyMCE (limited options) to the textarea of a default "Text Widget" in WordPress, Is there any way to do that ? There are few plugins to do the same kind of ...
0
votes
0answers
17 views

Hide/show radio buttons stop working on save

everyone! Here's my case. I'm developing a little widget, and I was looking for a way to hide/show different DIVs on selecting a set of radio buttons. I found the proper code and adjusted it to my ...
0
votes
0answers
29 views

Wordpress Widget Administration Javascripts do not work?

I have been working on a widget in WP 4.1.1 and cant seem to even get simple javascript to function on the backend unless WP is put into Enable Accessibility Mode. For example in your Form($instance) ...
0
votes
1answer
21 views

Cannot access variables within a widget

I'm currently learning PHP and Wordpress development from a Java background at the moment. How do I access variables in public function Example_Widget() from public function widget( $args, $instance ...
0
votes
1answer
15 views

Display custom widget, added as a shortcode in the correct place

I've created a custom Widget and I would like to add it to the page content as a shortcode. function show_custom_widget() { the_widget( 'WP_Custom_Plugin'); } add_shortcode('custom-widget', ...
0
votes
1answer
22 views

Editor Widget Role

i need to give to editor role the access on widget (or if possibile on a specific widget). I use the code on this question and function but i have a problem. The editor can see the widget and also ...
0
votes
1answer
28 views

I cannot customize custom widgets anymore after moving WordPress website

Originally posted here. The situation is the following one: A colleague of mine built a WordPress theme with some custom widgets which need to be configured through /wp-admin/widgets.php. In the ...
0
votes
0answers
14 views

How know the “admin” blog from wordpress multisite?

I'm try to construtc a multisite plugin and when I've the multisite list with all the blogs, I need to remove from this list the "admin" wordpress multisite. For example: I've the multisites 'ids' ...
0
votes
0answers
14 views

image carousel widget

Is there tutorial how to build widget where you can upload multiple images? I was trying to look some tutorials on widgets but to my surprise there are only few online. Or then my googling skills are ...
0
votes
0answers
21 views

PHP Wordpress Monthly Top Author in Sidebar

Im trying to show List of Top Author by Property Update Count (Monthly) in my sidebar. How to adjust this php code. This php only show AUTHOR list in my sidebar, not sort it by Monthly Property Update ...
0
votes
0answers
26 views

How to display comments with recent comments default widget?

I would like to create custom widget from the default Recent Comments widget to show also the comment content of commenter. How can I do it? class YOUR NEW WIDGET NAME extends WP_Widget { // ...
0
votes
1answer
40 views

How to add a text widget on the posts admin page?

I need to add a text widget on the posts admin page ie, the post editor page. so that I can add some code in the text widget for some purposes. Right now I have used text widget and this can only be ...
0
votes
0answers
6 views

How do I default the widgets in my dynamic sidebars? [duplicate]

Similar to a previous question that was not technically answered: I have a custom theme with dynamic sidebars and custom widgets. I would like to set what widgets are in those sidebars by default. ...
0
votes
0answers
23 views

creating widget of rotating testimonials

Using this article, http://www.wpbeginner.com/wp-tutorials/how-to-add-rotating-testimonials-in-wordpress/ I converted entire code into widget. In widget creation, I have used title option only. Also ...
0
votes
0answers
13 views

Get widgets from particular sidebar

I created a new widget with name rocky_custom_post. It has two instance 'post_id' and 'position'. Post ID is the ID of the posts in WordPress and position is left, right, full. I created a sidebar ...
0
votes
0answers
42 views

Expand Widget Area With Archive DropDown

I have archive drop down widget. but when i open list, these lists are floating over below widgets and not expanding its parent area for drop down list this widget is added by wordpress widget area ...
0
votes
0answers
15 views

transform default widget_category in accordion

Im trying to transform the original widget category from wordpress as accordion; I can find the files which are: default-widgets.php and category-template.php HOwever my back end skills are quite ...
0
votes
1answer
51 views

Check if widget is inside sidebar with PHP

I am creating a custom theme with some widgets. In the theme, to make it easier for my client to update, I am using SiteOrigin's Page Builder plugin, which uses widgets to display content. I am ...
0
votes
2answers
87 views

Get post values of form created by widget in sidebar

I have created this widget function to show a subscription form but from here i am not able to get the the values of input fields when someone submit it. Please help to get post values of the form. ...
0
votes
0answers
17 views

How to add additional for each statement

I am using the function below to display the date of an event (using the Event Espresso plugin). I need to add next to the date, on the same line - the city and state of the event using this for each ...
0
votes
0answers
20 views

How can I build a widget area widget using the built in Wordpress functionalities?

My Home has a Main Area that consists of all sorts of widgets. Now I am looking for a solution where I can add a custom widget area as a widget and then add all the needed widgets inside that custom ...
0
votes
0answers
19 views

twitter widget loads properly in all themes except my own theme?

I've written my own theme for my wordpress website. The problem is that the twitter widget loads properly in all the themes except mine. Below is the attachment of the widget in both the themes - ...