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

learn more… | top users | synonyms (2)

0
votes
0answers
14 views

Hide pages + widget edit

I have 2 questions on this site i have this item i was wondering how can I make this item not show in the widget area or any other part of the site but still be accessible if some1 has the link to it ...
0
votes
0answers
16 views

Ajax interfering with widget back end Javascript

I have a plugin that creates a widget that allows users to click a button and select an image. I have noticed that immediately after the widget is dragged and placed into a widget area, two Ajax ...
0
votes
0answers
22 views

Moving widgets panel in Customizer one level up

When adding widgets into the sidebars using the Customizer, there is one unnecessary step till you get to panel with the "Add a Widget" button. Three steps: Widgets → Sidebar → panel with ...
0
votes
0answers
31 views

How to add an “All” category to the tag cloud?

I'm using the tag cloud widget in my sidebar that displays my categories and would like to include an "All" link at the top. Any ideas how to accomplish this? Note, I would like to keep using the tag ...
0
votes
0answers
21 views

Creating a custom sidebar section - adding widgets causes “Errors”

http://www.new.techmoney360.com/keek-provides-updates-on-peeks-product-launch/ - is an example of the work I'm doing right now. An example of a sidebar area I'm tying to achieve http://www.vice.com/...
0
votes
0answers
36 views

widget_sidebar not working

I'm trying to add a widget to my customizer. But it is not being added, it doesn't matter which code I try to add from the WP examples but they're all not showing up. add_action( 'widgets_init', '...
0
votes
0answers
57 views

WP 4.4+ Responsive Image Markup in Text Widget?

I'm slowly wrapping my head around the new responsive images features in WP 4.4. I've got it fairly well figured out now for our CPTs & default page/post content images. But is there a way to ...
0
votes
0answers
18 views

How to remove extra space from li of wordpress widget?

I am building a some WordPress widgets. During this I am facing some problems. When I am using <ul> <li> then my layout taking some margin or padding, but when I am using <td> or <...
0
votes
0answers
10 views

Widget not notifying customizer of changed value when updated via Javascript

I'm developing a wordpress theme that relies heavily on widgets for flexibility. I'd like to use the wp media javascript library to add images to some of these widgets instead of just having a text ...
0
votes
0answers
34 views

Custom file with special code of category widget

Is any way to define custom code/file of standard class-wp-widget-categories.php for my theme? In standard WP class-wp-widget-categories.php list is printed in simple <ul> tag. I need to add ...
0
votes
0answers
29 views

Advanced Custom Field in dashboard

I'm looking for a way to add a dashboard widget that has a ACF text and image field in it. I want a client to be able to quickly update a text field right from the dashboard. Any ideas on how to ...
0
votes
0answers
18 views

Edit recent post widget

Is possible to add featured image from post to widget area too, for only 1st post, if yes please advise Like this site: http://postimg.org/image/etwxba4nz/ I have asked the theme author, he's answer ...
0
votes
0answers
17 views

Handling dozens of sidebars

We have the job to realize a page with custom sidebars. Sidebars can be created on the fly on post an page edit screens, to add a custom sidebar on each page. The client wants to use this to add ...
0
votes
0answers
18 views

In need of help with a “Notes” section

I am in the process of developing an educational website where each post is a topic of information or a "Module". I would like to give our students the ability to write down quick notes and items to ...
0
votes
0answers
49 views

Refresh the Customizers preview after editing fields

I'm using ACF fields on a few custom widgets. While using the Customizer to edit fields, they will save on change but the preview will not refresh. Calling wp.customize.previewer.refresh() will ...
0
votes
0answers
39 views

How to add a dynamic image as a widget in dashboard

I'm trying to add an image as a widget on the dashboard screen like this: This is an ads image, which will be seen only by users with read role and that too will be changed every month. Already I ...
0
votes
0answers
193 views

Widget Text - how to get the content with the_widget function?

I added some text with a title called 'Follow Me' in my WP text widget and I want to get this text by using WP code, so I following this guide: the_widget( 'WP_Widget_Text' ); But nothing is being ...
0
votes
0answers
21 views

Widget form is not saving value that retrieved based on taxonomy terms

Custom Post Type: employee Taxonomy: department Here is the code:for widget form function form( $instance ) { // Output admin widget options form if ( post_type_exists( 'employee' ) )...
0
votes
0answers
18 views

Check over a small apply button widget I have made for WP Job Manager

I have made a small widget that displays the apply button in the page sidebar. I am still quite new to WordPress widget development and am wondering if somebody would be kind enough to have a look ...
0
votes
0answers
21 views

taxonomy terms are not retrieving

My custom post is "employee" Its taxonomy is "department" I made a widget for showing taxonomy terms. but it is not working. What did I miss? class Employee extends WP_Widget { function ...
0
votes
0answers
40 views

How to hide default sidebar widgets?

I'd like to hide/not display all default widgets(Search, Recent Posts, Recent Comments, Archive, Categories and Meta) which are inserted into custom sidebar when the theme is installed. (Removing them ...
0
votes
0answers
13 views

Widget that allows image selection

I'm trying to develop a widget that allows the user to select an image to display on said widget. Right now, i'm getting the image from the library and displaying it's thumbnail on the widget's ...
0
votes
0answers
35 views

Can anyone explain this Widget output code?

I'm trying to read and understand a widget from a Wp theme. This widget basically allows the user to display up to 3 featured pages with their corresponding featured images or thumbnails. I ...
0
votes
0answers
51 views

How can I use wp_widget_rss_output to show my site's feed in the dashboard?

I have a dashboard widget working and I'm trying to use wp_widget_rss_output to display the site's rss feed in that area. The problem is that the only thing showing up is an error. ...
0
votes
0answers
11 views

Cloudfare Rocketloader ignore help

in cloudfare i enabled rocket loader and its super charged my site however few widgets etc has become a problem. my footer widgets have turned white here is the code i got <footer id="footer" ...
0
votes
0answers
19 views

Script in sidebar blocks other widget's load

in my Sidebar, before the widget generated from Wordpress, I have this PHP script that fetches the latest threads from my vBulletin 4 Forum: <div class="box newtopics"> ...
0
votes
0answers
69 views

How to get variable IDs from OOP in jQuery?

I created image widget and tried to use $variable ($this->get_field_id('widget_image') in jQuery. Unfortunately, I cannot get it in jQuery. It shows Uncaught ReferenceError: object_name is not ...
0
votes
0answers
83 views

Wordpress Widget: How to pass $this->get_field_id() to javascript

I would like to pass $this->get_field_id() from widget to jquery. How can I do? Now, I tried to do like this with no luck. var Id = $('.media').attr('id'); console.log(Id); Result: widget-...
0
votes
0answers
11 views

How to remove Help tab and the Widget empty border

I only need to know using code in my functions.php, how to remove the Help tab and the Widget border when it's empty. I found answers here but the date is old and things are changed so, i want an ...
0
votes
0answers
11 views

widget titles are hidden when logged out

At some stage of my development i recognized that the titles of the widgets disappear when user logged out of my site. Any Ideas how to debug this error? Might be is_user_logged_in at some point ...
0
votes
0answers
13 views

WordPress Custom Widget Media Upload

OK I am not a programmer and after reading lots of tutorials I have managed to make one custom widget that just works with texts. Now in this code of mine I want to make a media uploader. Can anybody ...
0
votes
0answers
60 views

Error extending widget class defined in another plugin

I am trying to extend a widget class from another (widget) class in a 3rd party plugin - so hierarchy like this: 3rd_Party_Widget extends WP_Widget (in 3rd party plugin) My_Widget extends ...
0
votes
0answers
21 views

How do I keep WP content in sync with an external spreadsheet or document?

I've been thinking about this and googling solutions for a couple days and haven't made much progress, so I figured I'd get some suggestions. I have an intranet site built in Wordpress that has a ...
0
votes
0answers
47 views

Create new sidebars trough admin post/page metabox

I have this bit to register sidebars dynamically: function my_custom_sidebars() { $sidebars = get_option('my_theme_sidebars'); // get all the sidebars names if ( ! empty($sidebars) ) { // add a ...
0
votes
0answers
15 views

widgets have disappeared from sidebars

I disabled a few plugins (widget logic, tinymce advanced, black studio TINYMCE, remnove widget titles ). I also swapped themes. When I everything backthe widgets I had created have disappeared from ...
0
votes
0answers
25 views

Widget Admin page and Javascript enqueuing

I am authoring a WP Widget plugin, and am having problems enqueuing javascript onto the Widget Admin page. The Javascript works when the page is first loaded or refreshed, but when you click "Save" on ...
0
votes
0answers
18 views

Order of sidebars in Appearance > Widgets

How do you change the order that the sidebars appear in the Appearance > Widgets page? I have code like: register_sidebar(array( 'name' => 'Home 1', ... register_sidebar(array( 'name' ...
0
votes
0answers
27 views

Menus Removed from Custom Widget Area

I’m hoping someone out there can help me out with this issue I’ve been scratching my head about for some time now. At my place of employment we have a WordPress site on our intranet, running a child ...
0
votes
0answers
15 views

Stop responsive widgets realigning on website

I've been trawling the net but can't find a lot. Essentially my website is using the customizr theme with site origin page building blocks to create it what it is. I'm trying to stop the widgets (2 to ...
0
votes
0answers
37 views

how to prevent google from indexing the calendar widget results?

I added WordPress calendar widget to my website. after that when i search google for my website i see the results pages indexing my calendar instead of the posts. for example this would be my google ...
0
votes
0answers
64 views

Add and remove fields

I'am trying make a wordpress widget. It should add an remove field on click, but it doesn't work. Another field will not displays on page. Can you help me please? (sorry for my english, I am not very ...
0
votes
0answers
19 views

How do I move a widget in the header?

I am using the Divi theme with the Divi booster plugin. The plugin give me the ability to add a widget into the header below the main menu. I would like to move the widget to above the main menu. Here ...
0
votes
0answers
22 views

Wordpress custom widget into sidebar not showing

I'm trying to add my custom fb_widget to the sidebar. The default widgets can be added. Below is the code for the widget: /** * Adds FB_Widget widget. */ class FB_Widget extends WP_Widget { /**...
0
votes
0answers
29 views

Updated widget options in old_instance

I need to compare the old instance of a name parameter with one the user inputs. If it's different, then I do some other magic. However, the if condition never returns false, despite inputting a ...
0
votes
0answers
210 views

How to display most popular posts from certain category in sidebar?

Assume I have a menu based on categories (jazz, rock, classic). I would like to display most popular posts (in sidebar widget) depending on which page I am (on jazz page I would like to have most ...
0
votes
0answers
91 views

Uncaught error when calling .select2() on widget update in WordPress widget.php

Uncaught query function not defined for Select2 s2id_widget-daily_deal_widget-__i__-select_product displays when calling .select2() on widget update in WordPress widget.php jQuery(document).ready(...
0
votes
0answers
134 views

Add HTML wrapper around widget content

I'm using genesis as my framework but i need help to to add some html markup on my register widget. I know by default its add html mark up but I want to add more inside of it how would I do that? //...
0
votes
0answers
95 views

Use custom taxonomy to filter posts dynamically in widget

I am making a travel agency website for a client. I am making a widget that will show related packages (a custom post type) for whichever location page they're on. My results show that the widget ...
0
votes
0answers
36 views

Display the id list of active widgets of same sidebar?

The condition is i have to check the id of active widgets of one sidebar and hide some widgets based on id of the listed widgets.Any ideas ...
0
votes
0answers
84 views

Add and remove fields in wordpress widget

I am trying to make field adding and removing wordpress widget. I made it in html jquery, but I don´t know, how can I transform it to wordpress widget. Can You help me please? My jquery and html code:...