goshko
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Different footer background on different category pageshere is a working variant of the code:
<style type="text/css" media="screen"> <?php if ( in_category('cat1') ) { ?> #footer { background: #fff url("<?php bloginfo('stylesheet_directory'); ?>/images/cat1_img.jpg") center top no-repeat; } <?php } elseif( in_category('cat2') ) { ?> #footer { background: #ccc url("<?php bloginfo('stylesheet_directory'); ?>/images/cat2_img.jpg") center top no-repeat; } <?php } else { ?> #footer { background: #ddd url("<?php bloginfo('stylesheet_directory'); ?>/images/cat3_img.jpg") center top no-repeat; } <?php } ?> </style>Forum: Fixing WordPress
In reply to: Different footer background on different category pagesi see, i think i’ll be able to figure it from here, thanks a lot guys π
Forum: Fixing WordPress
In reply to: PageOfPosts disregards <–more–> tagthanks a lot, mate
Forum: Fixing WordPress
In reply to: Categories / Permalinks structurei was also fiddling with pages, will try your idea, although you’re right it’s more of a workaround than a solution..
Forum: Fixing WordPress
In reply to: Categories / Permalinks structurei really hope someone can help with this.
Forum: Fixing WordPress
In reply to: limit category hierarchy“Just One Category” plugin is exactly what I was looking for, unfortunately it breaks the recent posts widget on the sidebar for some reason, is there a way to fix this?
From what I read in the Codex about Permalinks, nested categories show up as archives only in the main URI of the blog, is there some plugin that makes category structure show up like it is in the posts? what i mean is if i make the subcategory “swing” in the category “jazz”, and post “armstrong” in “swing” > this gives me the url http://www.blog.com/jazz/swing/armstrong but if i go to http://www.blog.com/jazz/swing/ i get “Not Found” the “swing” category is nested in main blog URI ie http://www.blog.com/swing/ which is kind of illogical. so is there some plugin that sets this structure right?
Forum: Fixing WordPress
In reply to: limit category hierarchyok, thank you for your time, will check these
Forum: Fixing WordPress
In reply to: limit category hierarchyfrom what i got, i changed Archives Page Template (archives.php) which has the <?php wp_list_categories; ?> and added the depth=1 and hierarchy=true parameters, that didn’t do anything, meaning all the posts from the subcategories were still present in the main category, and i have only the subcategory checked.
and for some reason all categories i create as a subcategory like if i have ‘stuff>some’ don’t show in the url like ‘www.my.com/stuff/you’ (this url shows not found) but like ‘www.my.com/you’, although if i post something in ‘you’ the post has this url ‘www.my.com/stuff/you/post’, i really am at a loss here?!
Forum: Fixing WordPress
In reply to: limit category hierarchyhmm, still can’t figure out how and where to use this parameter in order to change the way posts in categories are displayed, wp_list_categories() is the only place i found you can put the parameter but that just shows a list of my categories and i need to change the way posts are showed in a category, i also tried changing category.php and category-template.php but can’t make it work π
Forum: Fixing WordPress
In reply to: limit category hierarchywill check it out, thank you
Forum: Fixing WordPress
In reply to: limit category hierarchyi really hope someone finds a solution to this problem π
Forum: Fixing WordPress
In reply to: limit category hierarchyI also am interested in solution to this problem. I wasn’t able to find any plugin either..
Hope someone replies.