The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
150 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
-2
votes
1answer
638 views

Remove Sidebar for Pages on Canvas Wootheme [closed]

In the Canvas WooTheme you can add custom CSS code. I need some code to hide the sidebar on all pages (or specific pages if possible). But I need to keep it on all posts. I don't just want it ...
0
votes
3answers
1k views

How to create another sidebar to be shown on another page?

I've created my wordpress theme from the default Twenty Eleven theme, and I want to show a different sidebar on a few pages. I found this tutorial: ...
0
votes
0answers
18 views

How do I set the pages on my blog so a sidebar appears on each blog post? [duplicate]

Possible Duplicate: Worpress twenty eleven sidebar on Pages How do I set the pages on my blog so a sidebar appears on each blog post? (With 'pages' on my site, I can pick 'Default ...
0
votes
1answer
150 views

How to remove the 'Archives' title and list and the 'Meta' title

How can I remove the 'Archives widget' and the 'Meta widget' from the pages on my blog -- for example, on this page: http://richardclunan.com/ ? And how can I remove those from every page but keep ...
1
vote
2answers
781 views

Where is the content of widgets stored in mysql table

I have the cPanel access to a website but no wordpress login info. So I wants to change a widget content in the website. How can I change it through phpmyadmin. Where are that widgets sidebar data ...
3
votes
1answer
91 views

Determining a Widget Instance and Sidebar Location?

When using the filter: add_filter('widget_display_callback', 'function_name'); function function_name($instance) { /* Some Code */ return $instance; } Is it possible to determine the sidebar ...
0
votes
2answers
385 views

Conditional tags issue for multiple is_page() conditions in sidebar.php

I've been pulling my hair out today trying to get this right. Basically I have a sidebar, which makes requests to individual files (such as sidebar-home.php, sidebar-residential.php) and different ...
0
votes
2answers
171 views

Creating a different side bar for single posts than for main page.

How can I create a different side bar for single posts than for main page? At the moment I have 2 working one for pages and one for the blog thanks this is how it looks in funtions.php // Register ...
4
votes
2answers
611 views

Get sidebar parameters (before_widget, before_title, etc.) from within a widget

Is it possible to dynamically get sidebar parameters from within a widget? That is, I am trying to access the before_widget/after_widget/before_title/after_title/name parameters of the containing ...
1
vote
1answer
73 views

Random image from tag/custom type on sidebar

How would I pull a single random image from custom post type "athletes" and the custom image field "athletethumbnail" to be displayed in my sidebar? (I have PHP enabled for my text widget on sidebar.) ...
2
votes
1answer
228 views

How to generate and display widgets areas dynamically?

I want display different content in sidebar for every category, but as I create new ones I have to create the area for it. How can I have widget areas for every category and also display them on theme ...
1
vote
2answers
130 views

Accessing Media/Files outside the_content

I'm building a site and each post has a PDF file attachment. Is there a way I can access that file outside the_content() on a single post page? I'd like to put the file attachment in a sidebar and not ...
0
votes
3answers
386 views

Any available action to add content before and after sidebar ?

Hiz As the title says, i am looking for inserting a function's output before sidebar's first widget, and one in the end after teh last widget, is it possible? thanks in advance.
0
votes
1answer
64 views

How can I use Page editor for two separate templates?

On some of my pages (not posts) in my Wordpress site, I need to include a sidebar that display s information relevant to the main content of the page the user is on. I can choose, using Edit Page in ...
1
vote
3answers
610 views

Get number of widgets in sidebar

How can I get the number of widgets that are active on a specific sidebar? Is there a core function for this? I want to add a class to each widget on a sidebar based on how many of them are ...
0
votes
2answers
1k views

Exclude current post ID from loop in sidepbar.php

Currently all the below bit of code is doing is showing 3 random posts from the same category that the current page resides in. So if the current page falls in the artists category, for example, show ...
0
votes
2answers
58 views

Different sidebars not changing

I dont understand why my sidebar isn't changing over to the second one on the other pages. I've gone in an told the pages that if your not on this page show sidebar 2. So the home page and blog page ...
0
votes
1answer
180 views

Widget not saving to sidebar area [closed]

I am still learning WordPress while in the process of creating a new theme for myself. On the homepage, I want to display two widgets in the main content area. I have set up two sidebars (Homepage A ...
0
votes
1answer
173 views

why is the current page title being output?

this is in my sidebar.php file, which is pulled in in the header.php file (is this bad practice?). anyways, the last item in the list is the current page title, despite my query_posts with an args of ...
0
votes
1answer
58 views

Why is my sidebar not being rendered? [closed]

All, I'm working on a simple theme for a site and have come across a perplexing thing. My index page definition is here: http://pastebin.com/WSdfA0Mw When it renders, it looks like: ...
2
votes
1answer
356 views

Best practices: Custom theme sidebar menu - hardcode or widget?

Is it best to hardcode a sidebar menu using functions.php or sidebar.php OR use the custom menu widget? Are there times when each is appropriate?
1
vote
1answer
132 views

How to add a list of all galleries to my sidebar?

I'm using Wordpress 3.3.1 and trying to figure out how I can modify my sidebar to include a list of all the galleries. I see wp_get_posts and the like...but nothing for galleries?
0
votes
1answer
196 views

How do I store get_sidebar in a varaible? [duplicate]

Possible Duplicate: how do I get_sidebar into a varaible? I found how do I get_sidebar into a varaible? but the goal was different than mine, so the answers don't apply. I want to get a ...
0
votes
2answers
102 views

Can you have seperate sidebars for multiple taxonomy archives?

I have a site that uses multiple query taxonomy archives. i.e www.sitename.com/taxonomy1/taxonomy2/taxonomy3 Is there a plugin or method to create a dedicated sidebar for each queried taxonomy ...
1
vote
1answer
135 views

Add a select box to all widgets

I would like to add a default select box to all widgets placed in the sidebars of my site. This would allow to choose the color of the associated widget. Do you know how i can make this ? I know how ...
1
vote
1answer
205 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
3answers
662 views

How Do I Display A Custom Field In The Sidebar Of All My Pages?

I'm using the Types Plugin for Wordpress and created a custom field. I would like to display this custom field in the sidebar of all of my pages. The problem is that it only displays in the sidebar of ...
1
vote
1answer
549 views

How to create a linked tag list in my sidebar

I'm looking for a solution to display a tag list that shows how many times the tag has been used in posts as well as link to a list of results. I found a php code snippet you posted on the Wordpress ...
0
votes
2answers
46 views

Sidebar doesnt get updated?

I was trying to edit a theme by updating the style.css of it. But I also needed to add some manual html to the sidebar like ul li's . I maintained the order and updated the html od sidebar within the ...
0
votes
1answer
91 views

Displaying number of drafts in Posts section of admin sidebar

Is there a WP plugin to show the number of drafts in the Posts section of the admin sidebar in the same way that the number of available updates is shown? I’m looking for something like the following ...
4
votes
5answers
1k views

Sharing Dynamic Sidebars across Multisite Blogs

I'm trying to find away to retrive a dynamic sidebar from one blog and print it on another blog in the same install of Wordpress Multisite. I have tried switch_to_blog($blog_id); ...
0
votes
1answer
55 views

Issue with sidebar widgets not showing when I do custom queries

I'm having issues with this. I have 2 while loops, each getting different custom post types. They both work fine, except, my sidebar content i.e. widgets, is not appearing. I think this is because ...
2
votes
1answer
223 views

Adding a widget programmatically

I want to add widgets to my wordpress site programmatically. I tried the following code from the codex docs: class MyNewWidget extends WP_Widget { function MyNewWidget() { // Instantiate ...
1
vote
2answers
1k views

How to wrap the widget content with a div or get the widget title outside?

Is there a way to get the widget title outside of the widget area like this: <ul> <li> <h2 class="widgettitle">The title here</h2> <div class=""widget> ...
2
votes
2answers
572 views

customizing recent posts

Im working on my first wordpress blog and trying to avoid plugins if at all possible for a lot of what doesn't really need to have a plugin. I am slightly familiar with php ( I don't understand it but ...
3
votes
1answer
638 views

How to add author details in the post sidebar?

I would like to add author details in the sidebar instead of bottom of the post? Can anyone tell me how to do that? As of now i'm using like this in the loop <?php $curauthor = ...
0
votes
3answers
193 views

Show different sidebar on taxonomy pages when a default is set

My theme holds below code in sidebar.php. I want to now make sure I can show a different sidebar when someone is viewing a custom taxonomy. //Default sidebar $selected_sidebar_replacement = 'Sidebar ...
0
votes
1answer
329 views

Alternative for is_taxonomy() to workaround theme's default sidebar

My Wordpress theme is using some code in the "sidebar.php" file that tells it that some pages should always use the default sidebar. This was fine until I found that each and every custom taxonomy ...
1
vote
0answers
84 views

How to call widget by widget's id?

Is it possible to call widgets using it's id? for example I have a sidebar. In this sidebar I put meta widget and tag cloud widget. I have got their id's ($widgets_list): 'meta-2' and 'tag_cloud-2'. ...
3
votes
1answer
426 views

Manual display of widget

I currently have a widget that needs to be manually displayed on the front page. The rest of the pages it shows up in the widget sidebar, (this is accomplished with 'Widget Logic') but on the front ...
0
votes
1answer
311 views

Unable to call specific dynamic_sidebar

I've created a sidebar called "Mountain". I can add it through the Wordpress back-end except for on the Taxonomy page. There I wanted to hard code it by replacing: <?php if ...
1
vote
1answer
1k views

Sub-Pages only of menu items in current branch using a custom menu

Although I did a thorough research I could not find a solution. Only solutions coming close. My custom menu ("top") shows this structure (you see a part of it): page 1 subpage 1.1 category A ...
2
votes
2answers
145 views

Dynamic content in a widget

I have to make a widget from where the user will be able to add a few images and then I will show only some of them, randomly, and it will be automatically changed on page refresh. The problem is that ...
0
votes
3answers
116 views

what is the best way to add things to a side bar

I have a user that is wanting to be able to add items to the side bar (images / text) I'm rather new to wordpress development - fulltime c# developer, so I'm at a loss for a solution. Can anyone ...
0
votes
1answer
175 views

Getting post and attached image from subdomain

I Recently installed wordpress as subdomain on my main website. Now i have two installations: www.example.com and www.example.com/store/. Now i want my Main domain to show recent posts from subdomain ...
1
vote
1answer
787 views

How to create my own sidebar in Twenty Eleven child theme?

When I go to configure widgets in Twenty Eleven theme, there are 5 "sidebars" available: Main sidebar Showcase sidebar 1st col of footer 2nd col of footer 3rd col of footer In a child theme, I'd ...
5
votes
2answers
822 views

Add the sidebar/widget editor to the post edit screen?

There are (among others) two common ways of customizing the sidebar on an individual post: Create a new sidebar for the post, using code or plugins like Custom sidebars, WP Custom Sidebar, Per Page ...
0
votes
1answer
192 views

Conditionaly exclude post from certain category from homepage sidebar?

how to exclude posts from one category to not show on sidebar on homepage only when I explicitly dont want that particular post, in all other cases post will be displayed. I had try with plugin "WP ...
0
votes
1answer
200 views

How to create menu spread over four lines including images

I would like to create a dynamic WordPress menu using wp_nav_menu() divided over four lines or rows as the static website http://tinyurl.com/82trdjw. I think I should either force the menu to do this ...

1 2 3 4 5 8