tabby42
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Latest news section, display correct category?My own questions here are answered at the designer’s site here.
Forum: Themes and Templates
In reply to: Latest news section, display correct category?I’m also having this problem. Above the lead article it says “no categories”. I can’t get it to note the correct category, but I can get rid of the problem by removing the following code from ui.tabs.php:
<h3> <?php // this is where the name of the Lead Story category gets printed wp_list_categories('include=1&title_li=&style=none'); ?> </h3>And it seems like it’s fine to remove that code, but I was afraid it was related to my next problem, which is that the lead article is duplicated on the front page: It appears in the lead article tab and then again in the rightcol under its category (and if I categorize it as a feature article, as well, it shows up yet a third time under featured articles).
It seems like I need a don’t-duplicate command in there, but I’m not sure how to do that, especially since I’d have to reference what’s showing up in the lead tab, not just earlier on the same page.
But this also seems like such a basic issue that everyone else must have resolved already.
I totally love this theme and am so grateful to its designer, but I’m a little confused about why there aren’t more support forum discussions. I mean, a ton of people must be using this theme.
Maybe all the answers are in that $17 book and everyone else is quietly working on their sites, but that’s just so weird. If I was going to pay for free stuff, I think I’d prefer to pay the designer of the theme!
Forum: Everything else WordPress
In reply to: branford magazineYou have to go into the main index template (click on Appearance/Editor and then index.php on the right) and, where it says “array,” fill in the ID numbers of the categories you want to display.
By default, it displays categories 3, 4, 5, and 6 (as you can see from the code below). So change those numbers.
// enter the IDs of which categories you want to display $display_categories = array(3,4,5,6); foreach ($display_categories as $category) { ?> <div class="clearfloat"> <?php query_posts("showposts=1&cat=$category"); $wp_query->is_category = false; $wp_query->is_archive = false; $wp_query->is_home = true; ?>You can find a category’s ID number if you click on categories and then click on the one in question and look at the URL, which should end in a number — that’s the ID.