Widgets are configurable elements used to dynamically build sections of a WordPress theme.
0
votes
1answer
11 views
Add a select-option to the default widgets
I would like to add an extra feature to one of the default widgets so that the user can choose from the select-field to either align the widget to the left, center or to the right.
How would I be ...
-1
votes
0answers
14 views
category widget in wordpress
I have about 2000 video post to be posted. and lot many no. of categories for those videos.
I just do not want the category list to keep growing on and making my page lengthier. Could anyone suggest ...
0
votes
2answers
33 views
Widget redirecting to home page
Am trying to create a widget that searches for names. The searching and all that is fine, but when I hit submit, I get returned to the front page. I tried messing with the action="", but no matter ...
0
votes
1answer
32 views
Override WordPress Widget CSS Classes?
I'm attempting to style lists in the sidebar (you know, <ul><li>) and I'm curious how to also make widgets adopt this class. Each widget seems to have its own class assigned to it by ...
1
vote
1answer
31 views
How do i export the HTML from text widgets?
I placed HTML in several text widgets which where lost after i deleted all inactive widgets and changed themes but i have found the data in the tables.
The only problem, its mixed in with all this ...
0
votes
2answers
30 views
making footer widgets responsive
i have 4 footer widgets in the theme i'm working on. it works great. the only thing that i cant get to work is the responsiveness of the widgets. The 4 footer widgets keep on showing up next to each ...
0
votes
0answers
21 views
Getting a “Cannot modify header information - headers already sent by…” after duplicating widget
This probably isn't the smartest way to go about it, but I'm very close to launch and the client wanted a news widget displayed two ways. Our theme's news widget displays a settable number of news ...
0
votes
0answers
26 views
Custom “Latest News” widget wipes out the site
I want to register a custom "Latest News" widget, which would be teh exact copy of the default "Recent Posts" widget, with minor modifications.
Here's the original code, taken from the ...
-1
votes
2answers
34 views
Code for Recent Posts Widget
I want to make changes to code of the Recent Posts widget – could anyone please tell me where that code is located?
Thank you in advance!
0
votes
1answer
16 views
Log-in/Current user information widget?
I would like to allow my Wordpress users to log in through a widget which, after logging in, would be replaced with the user's information (i.e. avatar, profile link, logout link etc). How may I ...
0
votes
1answer
18 views
How to Get Admin Settings for a widget when using the_widget() with custom widget
I have searched around for an answer to this question and I found this: Manual display of widget which gave me a solution of:
if(function_exists('the_widget')) {
$instance = get_option( ...
1
vote
2answers
18 views
Disable widgets on specific posts
I run a horror related blog. Google is upset with me for displaying adsense in a sidebar widget for one specific post number (4603) that contains an article about an 18+ topic. How can I disable the ...
0
votes
1answer
39 views
Widget Development - Displaying dropdown content
I'm using the following code to create a widget to select a post from a dropdown - which works fine in the backend, but I can't figure out how to display this on the frontend...
<?php
class ...
-2
votes
2answers
34 views
How to use widget on page or post?
I am just using Random image Widget, it's for image gallery. Please anybody tell me that how can I use this widget functionality on my website page or post?
0
votes
3answers
49 views
Validating widget's configuration data on Admin page
I have a simple widget that needs its width and height set by the user, so that it is displayed properly on the blog.
The thing is: on the Administrator/Appearance/Widgets page, if the admin user ...