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

learn more… | top users | synonyms (1)

0
votes
0answers
17 views

Hide Widgets depending on Custom Field Value

I have Wp-Types Toolset as my WP building blocks and with it I created a Custom Field Group called Featured Listings. Within the group I have a field called Featured Ads and that has Radio Button ...
-1
votes
0answers
39 views

Is it possible to dynamically add widget areas?

I am creating a very custom and unique theme that uses posts as sections for the front page. The posts all have a configured style to them, so I am wondering if it is possible to dynamically create ...
3
votes
2answers
105 views

How to add color picker to widgets?

I have some problems adding the wpColorPicker to a Widget. Does anyone have a working sample? It only works when I click on 'Save' or reload the page, but when I drag a new widget to the area it will ...
0
votes
1answer
27 views

Tabbed navigation in widget backend

I have just created a widget and i am trying to implement a tabbed navigation in the wp backend but it just seems more difficult than writing all the php code! The categories metabox is an example of ...
2
votes
1answer
156 views

I need some direction on how to have a sidebar based on meta rather than page

I'm working on a plugin that allows the user to create "page/post types", customize the type style, then tag a page/post with that type. All of this works. My problem is this plugin also needs to ...
0
votes
0answers
35 views

Avoid duplicate posts from sidebar widget on homepage?

In a normal dynamic sidebar of a theme's homepage template the sidebar widgets display lots of duplicate posts on the front page. It shows "recent posts" and posts from certain categories in main ...
0
votes
1answer
80 views

Adding widgets to header and footer from plugin

i created 4 header and 4 footer widgets using a site spesific plugin, the reason been that when i change themes, i keep all of my widgets. i created two files, one for the header widgets and one for ...
2
votes
1answer
30 views

Trying to wrap <span> around first word of multiple word strings with a widget_title() filter, only works on two word strings and not more than two

I am trying to wrap a around the first word of multiple word widget titles. I have used the answer from here: ...
0
votes
1answer
28 views

How to remove calendar widget?

I just want to remove calendar widget from the dashboard. How can I do that?
0
votes
0answers
25 views

Get Related Posts (custom post type) of Custom Taxonomy, Most to Least?

I'm working on an image page feature which retrieves the MOST related posts ("image" custom post type). So images with most terms in common should be listed first. But this does not seem to be ...
0
votes
0answers
28 views

How to select more than one date from calendar [closed]

i m using jQuery UI Widgets plugin to select date from the jquery calendar but it only allow to select only singledate. i want to select more than one date in calendar .can anyone help me how to do ...
0
votes
0answers
8 views

Reuse form function of widget in an option page

Can I reuse the form function of a widget in an option page to use it to store default values for the widget and its shortcode?
2
votes
2answers
38 views

How to delete cached transients from a widget instance properly?

So I have created this widget which pulls a number of posts. And the query is being cached via transients. But I need the transient to be deleted whenever a post is saved so the query can be ...
0
votes
0answers
19 views

wordpress pages sidebar widget missing on homepage

http://www.dual-diagnosis.org.uk/ The Sidebar widget with my links in on the right is missing from the home page, it appears everywhere else just not here, any ideas?
3
votes
1answer
56 views

Should I use set_transient or update_option?

I want to store some Twitter API data in WordPress. After every hour, I want to fetch new data from Twitter, and update only if the data is successfully retrieved from API (sometimes the API gives ...
0
votes
0answers
23 views

Adding a widget breaks my child theme - *But I'm not calling any widgets!*

I'm trying to design a child theme, based off of twentytwelve, and I'm running into a puzzle I can't even figure out how to troubleshoot. Basically, my theme explodes when I enable any widgets. It ...
2
votes
1answer
52 views

How to store widget fields data as an array?

I am creating a widget, it needs to store about 10 IDs. Right now I'm using following field method to store each of the ID in a separate field. It stores data of each field in a separately in the ...
0
votes
0answers
38 views

Wallpress responsive page element with widgets

Recently, I use a free responsive themes from designwall.com named wallpress (http://www.designwall.com/wordpress-theme/wallpress/). I'm a wordpress beginner, so there are several stuffs I still ...
0
votes
0answers
36 views

PHP script working in PHP page but not PHP widget [closed]

I have this code : <html> <form method="post" action=""> <div align="center"> <p><b> What to see if the server is online rite now just add the server Address and Port ...
0
votes
1answer
66 views

Show or hide custom menu widget in side bar conditionally

I have been trying and searching to accomplish this. I have the "custom menu" widgets "Members Area", "Admin Area" in side bar, assigned menus to them. Fine, they display. I want to show "Admin Area" ...
0
votes
0answers
59 views

Widgets not restored from backup

I've done a little searching here to try to find what I need but most people seem to have these issues when they're moving a site or changing the sql. I'm doing neither so I can't figure out why ...
0
votes
0answers
22 views

Copy Widget Settings because of changed IDs

I want to update a customers blog to a child theme that is based on a newer version of the actual deployed theme. My problem is, the developers of the theme changed the IDs of sidebars. In the old ...
1
vote
1answer
71 views

How to insert widget areas specific to certain pages (or posts, etc.)?

I am developing a theme the pages of which (as well as posts) are so different from the home page that I want different widgets on their sidebars.Is there a way to do it? I'm calling the sidebar on ...
0
votes
0answers
27 views

Move Widget Meta Box From Appearance to Pages

Is it possible to relocate the widget/sidebar meta boxes that normally appear at Appearance > Widgets so that they appear as a meta box on a specific page's Page Edit dashboard page? Here's what ...
2
votes
2answers
111 views

javaScript in <head> section of WP API

How do I place the following javaScript in the <head> section of the Wordpress Widgets API menu screen? <script type="text/javascript"> jQuery(window).load(function() { ...
0
votes
0answers
45 views

I need to create a dashboard widget with input field and will display the text as shortcodes in posts

Hi I need to make automated price updater of my learning materials (e-books, videos, posters etc.) and it's such a drag every time I need to change prices on them to open every single posts because ...
0
votes
0answers
20 views

Widget Management/Sidebar Strategy for CMS sites

I've been mulling of this question for a while and try out different approaches for each site: What is a flexible approach to managing widgets on a CMS sidebar that is easy to use and maintain as well ...
0
votes
1answer
41 views

accessing wordpress serialized data outside wp

I've never worked with serialized data... I need a little help with how to load "text" widgets title and content in php script outside wordpress... my script just connects to database (including ...
0
votes
1answer
132 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
2answers
80 views

Remove “Content” and “Discussion” from Right Now Dashboard Widget

How do I hide "Content" and "Discussion" element in the "Right Now" dashboard widget? Here's a screenshot:
0
votes
0answers
27 views

Any way to duplicate an entire sidebar?

I was an early adopter of Wordpress, in 2004. It has come a long way, but the Widgets admin panel has not. I have to make multiple (maybe 20-30+) sidebars for one site, and so I'm facing the prospect ...
7
votes
3answers
309 views

How Can I Add the “Insert From URL” Tab to a Custom 3.5 Media Uploader?

I've inserted a WP 3.5 media uploader into a widget by running this JavaScript when a button is clicked on: var frame = wp.media( { title : 'Widget Uploader', multiple : false, ...
0
votes
0answers
47 views

Widget won't show up on the front end

I have a question very similar to one I recently posted, where instead of the widget not showing up at all, it now shows up in the admin area, you can drag it, and any other widget over to the sidebar ...
0
votes
0answers
33 views

custom siderbar with custom cat post widget does not include content

I am trying to make a template with a left sidebar. In that sidebar I want to insert custom cat post query using a text widget so I can format it correctly the way I want. However when I do The ...
0
votes
2answers
39 views

My widget won't show up [closed]

I have built a widget class such as (using pear naming standards): class CoreTheme_Adminpanel_Widgets_Download extends WP_Widget{ function CoreTheme_Adminpanel_Widgets_Download(){ ...
1
vote
1answer
15 views

Archive - same title for the first two posts

I created an archive page called archive.php Here I include header / footer and this code: <?php if (have_posts()) : while (have_posts()) : ?> <h1 class="entry-title"><a ...
-1
votes
1answer
86 views

Sidebar Slideshow widget with text

Can anyone suggest me some good sidebar slideshow widget? I need to add some text file along with each sides and show the image along with the text. ...
0
votes
1answer
83 views

How to create wordpress widget that is fixed position on the home page

I want to create a video plugin which is fixed on the home page when user scrolls. I know there is a wp_float plugin . But I want to try build new plugin
0
votes
0answers
23 views

Widget options disappear when dragged to widget areas

When dragging a widget to a sidebar, it gets added, the throbber spins for a second and then all of the options within the widget disappear. So, the frame for the widget is there, but it's just empty. ...
0
votes
2answers
132 views

Get all posts by post_author

I am creating a back-end dashboard where I need to show all the post assigned to current user by the wp admin. I assign user role to Author and while creating post (as a wp admin) just assign ...
0
votes
0answers
17 views

Sidebar If Query

I have this query which I'm using in the sidebar, but when I place it in a php widget, the whole sidebar disappears... Any ideas? global $wp_query; $postid = $wp_query->post->ID; if ( ! empty( ...
1
vote
1answer
41 views

How do I rebind event after widget save

I am writing a widget who's form elements have a click event attached to. I bind it using jQuery. However, after clicking save, the bindings gets lost. That is, clicking those elements doesn't ...
1
vote
1answer
55 views

RSS dashboard widget not showing visuals

I am using a RSS feeds widget on my dashboard as shown in this Q&A. Problem is feeds doesn't show up any visual like images or videos. I verified this by looking raw feeds which I used. Here is a ...
2
votes
2answers
99 views

Different rss feeds in a single dashboard widget

I am using this snip of code to get rss feed on my dashboard as widget. It becomes problematic when it displays 5-6 different rss feeds which makes me run down deep. How can I add 6 different feeds ...
0
votes
1answer
43 views

Widget where it can make changes to the container

Is it possible to create a widget where it can make changes to the container? An example is like this: <!--- widget-container ---> <div class="wdget"> <div ...
0
votes
0answers
44 views

Widget Display Options

in regards to my previous question. I am playing around with the widgets page and have added a google maps feature to the "Pages Sidebar" Tab. the google maps feature displays on the contact page, ...
0
votes
2answers
37 views

widgets in contacts only

I have a few pages listed in my top menu. these are: contacts, My account and messages. I have added a map to the "Pages Sidebar" tab in admin. But it seems to add the map to all 3 pages listed above ...
0
votes
0answers
94 views

Facebook plugin activated, widget in sidebar yet doesn't show on page - stumped

I have the official Facebook plugin v.1.3 on my website. The plugin is activated, the Facebook Like Box widget can be moved into the sidebar and all options set, yet it doesn't show up in my sidebar. ...
0
votes
1answer
101 views

How to register custom menu widget

I'm trying to register a custom menu widget programmatically with wp_register_sidebar_widget, but it doesn't appear in wordpress. I'm using remote call of that method (xml-rpc). Referring to codex I'm ...
0
votes
2answers
53 views

How to make widget title accept php?

I am trying to make widgets accept php, but without resorting to plugins. So far I have enabled php for the widget_text but cant make it work for widget_title. I am using the following code in ...

1 2 3 4 5 16