Tagged Questions
0
votes
3answers
33 views
New Theme creation
I am looking into creating my first ever WordPress theme. I want to move my current look and feel that I have created via html / css into WordPress.
What I would like, is to have a list of ...
0
votes
1answer
49 views
How to differentiate the homepage structure from the category page structure in WordPress template?
I am very news in WordPress world and I am finding some difficulties with creation of a personal template.
I want implement a blog like this one (that is using WordPress): ...
1
vote
1answer
79 views
How to get the url to tag & category base set by the user?
I'm searching for half an hour now on how to get the url/permalink base in Wordpress (the 'category' and 'tag' value set in the backend). Could you please point me in the right direction?
I want to ...
1
vote
2answers
59 views
Edit the markup of categories list
I want to list x number of categories. I'm using wp_list_categories function, it generates the following markup
<li class="cat-item cat-item-1"><a ...
0
votes
1answer
30 views
Disable sticky option for specific categories
Is there a way to disable the sticky option on posts in specific categories?
0
votes
1answer
202 views
How to call custom category field data in theme?
I am trying to add two custom fields to my categories (which I have done thanks to this answer - Any examples of adding custom fields to the category editor?)
And now I need to call them within my ...
0
votes
1answer
102 views
WordPress 3.5 how to determine if user is on category listing or category edit screen?
I have a custom bit of code that I need to place on the category edit screen but not on the manage categories screen.
Prior to WordPress 3.5, I was able to set a global $action variable to check for ...
4
votes
2answers
504 views
Posts in multiple Categories different single.php
I am smashing my head against some code.
Here is the situation:
I have one post in 3 different categories, this post has to be visible in "category 1" with the single1.php, in "category 2" with ...
1
vote
1answer
72 views
Should I use custom menu, C.P.T. or theme options, or something else for this?
On many sites ( particularly CMS style business sites) there are 2, 3 4 or sometimes more boxes usually containing a title, icon and some text. These appear under the header linking to strategic parts ...
0
votes
2answers
283 views
How to detect /category and /tag base pages?
In a theme I'm building, I have this structure for detecting what type of page something is. However, if I visit mydomain.com/category/ or mydomain.com/tag/, all I get is the "nothing found" message I ...
0
votes
1answer
124 views
Category names on CPT archive pages [closed]
I purchased a theme and I'm trying to customize the "blog archive" pages for the Portfolio CPT that's included with the theme. The theme is:
...
-1
votes
2answers
947 views
category.php + pagenavi + custom post types + /page/2 = 404 errors
I'm seriously going to go crazy if I dont figure this out. I have tried a million different things from googling,a nd I've been staring at this same problem for days now.
Pagination for a custom ...
1
vote
1answer
85 views
Woo Framework: woo_cat_featured not populating
In framework settings:
$options[ 'featured_cat' ] = array( "name" => "Featured Category",
"desc" => "Featured Posts will display in the main rotator on the homepage.",
...
0
votes
1answer
831 views
wp_nav_menu not appearing for a couple pages
I solved the problem with the page, the correct answer is ptriek's comment below
Well I'm having a bit of an odd problem here, wp_nav_menu works on all pages EXCEPT my category pages (probably my ...
0
votes
1answer
371 views
Category Archives: Show posts categorized in parent category only
When I view a category page in 2010 theme, it shown posts categorized in:
the category visible in url
child categories of 1.
I want to restrict the results to 1. only.
Please help.
0
votes
1answer
1k views
get_query_var() and permalinks
I have a permalink structure that looks like this,
%category%/%postname%
I have a category.php template coded up and and trying to pull of the post of a certain category, so for example my URL may ...
0
votes
1answer
275 views
How to custom category template based on category?
My blog have 2 categories: Photos and Texts.
I would like do customize the category template so that when it renders Photos post's, I want to show a thumbnail gallery and when it renders Texts ...
-1
votes
2answers
211 views
Change from all posts to specific categories post on main page?
How do I change my index.php to display only the desired categories posts in the main page ?
I tought that changing this would workout but instead it just print nothing:
query_posts( ...
0
votes
1answer
365 views
1 post per category on homepage and counting those posts
What I'm trying to do on my homepage is to pull the latest post from each of 6 categories but then I need the variable $counter to increase (+1) for each post so that I can style them properly.
I've ...
0
votes
1answer
120 views
List categories of a post hierarchically?
Let's say I got the following categories:
Style
|
+ Shoes
+ Pants
If I make a post and put it in the Style and Shoes category, it will list them alphabetically instead of hierarchically. So ...
5
votes
3answers
2k views
Plugin for custom sort order for categories?
I'd like to employ a sort order option in my theme to allow categories to be sorted similar to pages. Can anyone recommend a plugin that does this?
0
votes
1answer
499 views
Exclude parent categories from the_category() within the loop
I have typical parent and child categories setup as follows:
Food
potatoes
corn
beats
Sports
soccer
football
hockey
etc.
In my index.php template I'd like to list the categories of the ...
1
vote
2answers
266 views
Category specific themes?
My client wants to implement a special appearance to each of our category pages. Kind of like child themes... she wants to shift the background image, change a few graphics, and tweak the colors ...
1
vote
6answers
706 views
Append HTML to an LI of wp_list_categories
Im currently using <?php wp_list_categories('child_of=4&title_li='); ?> to echo out a list of my categories. I'm wondering how I could append some html (specifically an » to the end ...
0
votes
1answer
292 views
Post thats in Two Categories, only want to display name for one
In my Wordpress site I've created, I'm having issues hiding or not displaying one of the category titles I set up. I'll try to explain better.
Wordpress Admin Side
I have a post that is in two ...
1
vote
3answers
296 views
filter “inactive” categories from wp_list_categories?
I'd like to add a checkbox to the category editor screen to allow the category to be "deactivated" (perhaps while the site owner works on the category content and posts). Once I've done this, what are ...
0
votes
2answers
460 views
Archives and Categories in Custom Menu
What is the easiest way to place the Archives and Categories lists within my menu under a parent tab. I'd like both of the lists, such as "Archives" leading to the "archives" sub-menu, and the same ...
1
vote
2answers
11k views
How do I make the category template display full posts instead of partial posts?
I'm using Wordpress 3.0.1 with the Twenty Ten theme. I'm trying to change the way the posts in the Category view are displayed (i.e. by going to a url like mywebsite.com/category/mycategory). ...