Widgets are configurable elements used to dynamically build sections of a WordPress theme.
1
vote
2answers
490 views
Latest/Recent posts widget title link
I have been struggling with this for a few hours now...
I want to add a link to my recent posts widget title.
I have tried a number of options given in forums but nothing seems to work.
Tried ...
0
votes
2answers
24 views
Showing related posts (custom post type) outside of the loop
I'm trying the following (it's a sidebar widget in the Single New template):
<ul class="featured-jobs">
<?php
$postid = $post->ID;
$categories = ...
0
votes
2answers
22 views
user definable sidebar per page
I'm searching for a solution where the user can define some sidebar widgets for himself (only text and images). The user should have the possibility to choose a different sidebar for a different page.
...
0
votes
2answers
51 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
2answers
145 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
2answers
38 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 ...
1
vote
1answer
194 views
How to show different widgets on different pages in a user friendly way
I'm looking for a plugin to let users choose which widgets appear on individual pages.
There's some solutions out there, none of which that I've found are truly easy for a non-technical user. I've ...
0
votes
1answer
8 views
Neaten content — different widget or CSS change?
I want to neaten up the content in a widget. I'm not sure if I should use a different widget, or get a change to the CSS made, or something else...
On a largish screen on this site: ...
0
votes
1answer
29 views
Options page for widget
I started developing a plugin which only required a few options. But over time the number of settings grew, and I want to move most of them to a separate page. I've seen quite a few tutorials about ...
0
votes
1answer
31 views
How Do I include/Import a Custom Widget from the Parent theme into My Child Theme?
I'm trying to make a small modification to a custom widget that was included with a clients parent theme.
Whenever I remove the parents version of the widget (for testing purposes) the child version ...
0
votes
1answer
17 views
Run an action only when Widget actually instantiated (not just registered)
Suppose you have a widget that depends on a metabox being added to, say, your Posts. An easy way to do this is to simply add the add_meta_boxes action to your Widget's constructor and off you go. When ...
0
votes
1answer
37 views
How to change links in the 3 main categories, on widget category, to a javascript function call
I'd like to know..
How could I change my 3 main categories links, so they call a javascript function?
I'm using Snapshot Theme from WooThemes.
Here's the current state of the website:
...
0
votes
1answer
17 views
call coupon press advanced search widget anywhere in theme?
I am working on a parent child Coupon Press Wordpress Website. I am able to call it's New Advanced Search Widget in sidebar but I want to call it anywhere in the website like I have created a page ...
0
votes
1answer
22 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
22 views
Using a loop to build and update widgets
So I have a widget Im making which allows users to update 4 switches. Each switch has the same fields, name, description, price, amount so I decided to build the widget using a for loop instead of ...
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 ...
0
votes
1answer
93 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 ...
0
votes
1answer
71 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
1answer
108 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
1answer
92 views
How do I use wp_editor() in widget form?
I'm trying to use the built-in Rich-text (wp_editor()) editor in Wordpress for my widget, but I can't seem to find any simple way to use it..
I know you can use it, as Black Studio TinyMCE can do ...
0
votes
1answer
86 views
Putting a wordpress custom post into a widget
I have just recently created a widget in my Wordpress theme that inserts a widget into the sidebar.
Its based upon the text widget. However the html content is hard coded into the widget and it has ...
0
votes
1answer
79 views
Saving widget gets an undefined variable
I am developing a widget for cached feeds. The widget itself works exactly as I want but I noticed that if I were to delete the widget and then add a new one (or simply just add a new one) on the ...
0
votes
1answer
77 views
WAMP to XAMPP WordPress transfer
I want to switch a WordPress site from a wamp localhost to xampp localhost. Using the Tools > Export, I saved the WordPress content to an XML file. I did not create a similar backup of the MySQL ...
0
votes
1answer
129 views
how to implement a language switcher widget / plugin for users
I'm needing to create an option for the users to change the language of the site. So, for example there would be a dropdown with languages that the user can choose from and this would change the ...
0
votes
1answer
44 views
Problem with single posts not showing correct category sidebar
I'm looking for something very specific: I'm using a plugin called "Category and Tag Specific Widgets" to create category-specific html in the sidebar of each category. This only works if I click on ...
0
votes
1answer
76 views
Wordpress plugin not eching popular posts
I created a plugin in wordpress to show popular posts, but this is not returning the post and number of comments properly.
Even I have comments in my post(approved as well, so this is not the case) ...
0
votes
1answer
35 views
Registering multiple copies of a widget
I'd like to be able to register multiple copies of the Quick Search Widget in the code below, so that I can have it multiple sidebars. The code has been taken from a plugin I've downloaded
function ...
0
votes
1answer
46 views
Passing widget options to external script
I am trying to pass some widget options to an external script using wp_localize_script. I know how to pass the variables and how to use them within the script, but how do I extract the widget options ...
0
votes
1answer
276 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
31 views
How to create a widget on witch a registered user can create a checklist
I have no idea where to start.
I want to create a widget. with the following features
show a button to create a checklist.
Show a list of already created checklists created by the user.
Mark ...
0
votes
1answer
26 views
Wordpress Hide Widget If $_Session Is Active?
I was wondering if there is an easy solution to add some php "if" code when my website tries to show the widgets and if it has $_SESSION I set on homepage (based on the source of which they came) not ...
0
votes
1answer
1k views
Woocommerce Product Category Widget - hide categories that have no products in stock
I'm using WooCommerce on my Wordpress site, and have a widget in the sidebar showing all product categories. It's setup to hide empty categories, and that works well. However, it still shows ...
0
votes
1answer
65 views
Trying to output a “Most visited blogs” list in wordpress multisite
Does anyone know how to get a "most visited" list out of Wordpress Multisite?
I got alot of bloggers and have been looking for a way to output a top 10/20 list of most visited blogs, but cant find ...
0
votes
1answer
85 views
Author Link in Recent Posts Widget
I want to add author link into the recent post widget. For example if any user post on my web from his LinkedIn ID (which I have allowed) so in Recent Posts where it shows, <time> By: ...
0
votes
1answer
27 views
How to stop comments widget conflicting with theme comments
I have a widget that retrieves and displays the latest comments for a WordPress site. It displays the comment author, Gravatar, comment and date / time.
The function to display the comments is in a ...
0
votes
1answer
81 views
Best practice to include custom user styles in widgets
What's the best way to include custom user styles in widgets? For example adjust colors for buttons, borders etc. without having the user to develop a complete new stylesheet.
0
votes
1answer
62 views
How To Disable Category Hierarchy In Categories Widget?
I want to disable all category's hierarchy in default categories widget. With a code in functions.php . But how? Thanks in advance.
0
votes
1answer
64 views
Display a widget on a specific type of archive
I have two sidebar widgets, I need to display 1 widget on the archive pages for the standard post categories and the other widget needs to show on just the archive pages for a specific custom post ...
0
votes
1answer
57 views
An issue with register_sidebar and the admin interface
Okay, I'm sure there is an simple explanation for this problem... it's just that I can't see it right now.
Here is my code adding widget sidebars:
add_action('widgets_init', ...
0
votes
1answer
48 views
Strange widget behavior
I've created widget by simple copying one of the default widgets class and modifying it.
The strange thing is in the widgets admin area, this widget is not shown. When I searched the page source code ...
0
votes
1answer
45 views
Radom post image/link based on custom taxonomy
How would I make a widget to display a random post's image and permalink? I would like it to pull from a specific custom content type and only posts have set the custom field of "featured" to "yes".
0
votes
1answer
38 views
I would like to display different text on different pages
I have at the very top of my page a line of text within a h1 tag thet I use for seo reasons. the text and html around it is written in my header.php. but I would like to write differnet txt so it ...
0
votes
1answer
39 views
Custom widget breaking widget section in admin menu
I am building a child theme at http://habitat.erniehigh.com for a client. I need to add custom widget that shows recent posts by category. I have built similar widgets elsewhere using basically the ...
0
votes
1answer
127 views
page url in shortcode
I have a problem.
I'm using a custom shortcode to try to get the url. If the shortcode is inside a post then it gets the post url. When I open the post on a category list, this post shortcode works ...
0
votes
1answer
112 views
Wordpress RSS widget and Yahoo Pipes
My RSS widget seems to be having a mind of its own! I am using a yahoo pipe to combine multiple feeds into one feed. The output RSS is being fed into the RSS Widget. I have modified the pipe to have ...
0
votes
1answer
33 views
Imported blog page layout messed
http://uma.lohray.com/weblog/moots-part-ii/
is a blog I imported from blogger. The front page is fine, but when one clicks to read a blog post, the end of the post has parts of the right side bar ...
0
votes
1answer
80 views
Edit the Publish Widget Options
Another noob question - under the 'Publish' widget in a default vanilla installation of WordPress 3.3.1, we would like to 'simplify' the Publish widget/
Specifically, we would like to have no 'draft' ...
-1
votes
1answer
109 views
Simple subscribe widget form
Im looking over internet for some simple solution of email subscription widget but no luck.
Or they are too complicated and paid, or they are relaying on some external email functions.
Im no ...
-1
votes
1answer
24 views
Problem on register/login widgets
I have downloaded and uploaded, activated successfully the plugin : Sidebar login of wordpress.org, which can be found here : Sidebar login
In the picture description of sidebar login(in the link ...
-1
votes
1answer
76 views
Extending Widgets - Exclude # of posts field from Recent Posts Widget
I am currently using this code to extend WP_Widget_Recent_Posts, but I would like to exclude the field that gives the user the ability to show how many posts they want. I have a set number in my ...

