baffleinc
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Child Theme not showing up for activation in Network AdminFail. Was looking at the wrong part of the list alphabetically- didn’t know that child themes get grouped with parent themes. Cheers.
Forum: Plugins
In reply to: [Maintenance Mode] Maintenance mode screwed my site :(To reiterate my problem, maintenance mode breaks all my sub-pages. All my top level pages work, however anything that is a child page comes up with the deleted maintenance mode template (which I’d made custom). what can I do about this?
I’ve searched for .maintenance files, and any stray index.html files. NADA.
please help, I’d like to have this site ready by tomorrow night.
~Harley
Forum: Fixing WordPress
In reply to: Multiple Loopsuse a category foreach to get the category id, then add it into the query_posts() (add this just before the endwhile of the main posts:
<?php foreach((get_the_category()) as $category) { $category_id = $category->cat_ID . ''; $category_name = $category->cat_name . ''; } ?>then in your sidebar:
<h2>Other posts under <?php echo $category_name; ?></h2> <?php if(have_posts()) : query_posts('cat='.$category_id); ...OR
<h2>Other posts under <?php echo $category_name; ?></h2> <?php if(have_posts()) : query_posts('cateogry_name='.$category_name) ...That should work fine. Just make sure the first segment of code is within the main Loop!