ArdorEdor
Forum Replies Created
-
Brian.. I’m interested in this too and wondering if there are any available hacks for this involving a pairing of the icon with the name of the site.
Forum: Fixing WordPress
In reply to: Isolating a Single.php pageFigured it out using this widget.. Thanks!
Forum: Fixing WordPress
In reply to: Isolating a Single.php pageThis is what I put in the loop and it doesn’t work:
<?php in_category( $category, $_post ) ?>
<?php
if ( in_category(‘News’) ) {
include ‘single-cat-9.php’;
} else {
// Continue with normal Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();} ?>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>Forum: Fixing WordPress
In reply to: Isolating a Single.php pageCool thanks! Following off of the link you sent, I’m trying to “Test the current post outside the Loop” using this on my single.php page, but it doesn’t work:
<?php if ( in_category(‘news’) ) {
include ‘single-news.php’;
} else {
// Continue with normal Loop
if ( have_posts() ) : while ( have_posts() ) : the_post();?><?php the_content(); ?>
Do I need to include this somewhere?:
<?php in_category( $category, $_post ) ?>