Tagged Questions
1
vote
2answers
36 views
Where do posts get the sidebar from?
I'm trying to add an if statement on the sidebars that are displays in POSTS. I want posts to show a specific sidebar if it's in category x and display a different sidebar if it's not in category x.
...
0
votes
2answers
33 views
How to add the sidebar in all category page
I created custom post type. I created category called product-categories. I listed all categories in sidebar.php. How to show the sidebar in all the category pages listing all the categories. ...
0
votes
1answer
294 views
Display all posts under child sub category in sidebar on post page?
I am trying to make a custom sidebar for my posts in certain categories. It will look something like this.
My category structure looks like this:
Parent 1
Child 1
Sub Child 1
Sub Child 2
Child ...
0
votes
3answers
106 views
Sidebar limiting to 10 posts?
I have the following code inside my single.php page:
UPDATED CODE
<?php if (have_posts()) : the_post();
$post_id = get_the_ID();
if ( is_single() ) {
$cats = get_the_category();
...
0
votes
1answer
143 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
213 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
1answer
165 views
How do I make the category sidebar widget (stock) display the total # of posts including those in subcategories?
Thanks for taking a look at this for me.
You can see the current behavior at http://dev.citylightphilly.com/blog/ -- Here is my specific problem.
We are using a category structure like this:
Events ...
0
votes
2answers
403 views
Differentiate Between Parent & Child Categories
So I'm working with a non-wordpress theme called "Misty" and it uses this code to pull categories:
<li class="sidebox">
<h3><?php _e('Categories','ml'); ?></h3>
<ul ...
2
votes
1answer
758 views
How to show post(excerpt) from specific category on wp page?
I need this on 3 pages, all 3 from different categories, and then to show several post excerpts from all 3 categories in sidebar of home page.
0
votes
1answer
108 views
sidebar troubles, taxonomy trouble
can you help me with two things :
i have different movies, to classify into different "genre", should i use "taxonomies" or the already built in "category"? is taxonomy more appropriate in this ...
0
votes
2answers
506 views
Display most recent posts in category with Twenty Ten theme widget
I am fairly new to WordPress, and I would like to have a list of the most recent posts in a certain category appear in a right-hand panel (I can do this with all posts, but not specific categories)
I ...
2
votes
1answer
641 views
show posts names and links in the sidebar list as categories child
i'm using this plugin to show an exapandable/collapsible widget-menu in my sidebar.
http://wordpress.org/extend/plugins/folding-category-widget
it works very well!
the question, not directly ...