joehash
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Pages/Categories not showing up on main pageNevermind, figured it out.
Had to add custom fields.
Forum: Themes and Templates
In reply to: Pages/Categories not showing up on main pageHere is the top menu code from the header.php file-
<div id="topmenu"> <div id="nav"> <ul> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $cPageID = get_the_ID();?> <?php $parentID = get_root_parent( $cPageID ); if ($parentID) $cPageID = $parentID; ?> <?php endwhile; endif; ?> <?php $my_query = new WP_Query('post_type=page&meta_key=menu&meta_value=yes&showposts=6&orderby=menu_order&order=asc'); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <li class="<?php if(get_the_ID()==$cPageID) {echo 'current';} ?>"><a href="<?php the_permalink() ?>" class="<?php if(get_the_ID()==$cPageID) {echo 'active';} ?>"><?php the_title(); ?></a><span class="descmenu"><?php $values = get_post_custom_values("menu-details"); echo string_limit_words($values[0], 25); ?></span></li> <?php endwhile; ?> <?php wp_reset_query();?> </ul> </div><!-- end nav --> </div><!-- end topmenu -->Forum: Fixing WordPress
In reply to: Getting rid of lines at the bottom of postsI removed the comments
Forum: Fixing WordPress
In reply to: Getting rid of lines at the bottom of postsThat did the trick! Thanks a lot!
Forum: Fixing WordPress
In reply to: Getting rid of lines at the bottom of posts`<?php get_header(); ?>
<div class=”col1″>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class=”post-alt blog” id=”post-<?php the_ID(); ?>”>
<!–<h2><a title=”Permanent Link to <?php the_title(); ?>” href=”<?php the_permalink() ?>” rel=”bookmark”><?php the_title(); ?></a></h2> –>
<h2><?php the_title(); ?></h2>
<p class=”post_date”><?php _e(‘By ‘,woothemes); ?><?php the_author_posts_link(); ?><br><?php the_time(‘F j, Y’); ?> </p>
<?php
if(woo_get_embed(’embed’,595,420))
{
echo woo_get_embed(’embed’,595,420);
}
?>
<div class=”entry”>
<?php if (get_option(‘woo_image_single’) == “false”) woo_get_image(‘image’,get_option(‘woo_single_width’),get_option(‘woo_single_height’),’thumbnail alignright’); ?>
<?php the_content(__(‘<span class=”continue”>Continue Reading</span>’,woothemes)); ?>
</div></div><!–/post–>
<?php if (get_option(‘woo_author’) == “true”) { ?>
<?php } ?>
<div class=”navigation”>
<?php if (function_exists(‘wp_pagenavi’)) wp_pagenavi(); else { ?>
<div class=”alignleft”><?php previous_posts_link(__(‘« Newer Entries ‘,woothemes)) ?></div>
<div class=”alignright”><?php next_posts_link(__(‘ Older Entries »’,woothemes)) ?></div>
<br class=”fix” />
<?php } ?>
</div><div id=”comment”>
</div>
<?php endwhile; ?>
<div class=”navigation”>
<?php if (function_exists(‘wp_pagenavi’)) wp_pagenavi(); else { ?>
<div class=”alignleft”><?php previous_posts_link(__(‘« Newer Entries ‘,woothemes)) ?></div>
<div class=”alignright”><?php next_posts_link(__(‘ Older Entries »’,woothemes)) ?></div>
<br class=”fix” />
<?php } ?>
</div><?php endif; ?>
</div><!–/col1–>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Installing WordPress
In reply to: Changed blog address, now I can’t loginAhh, thank you both.
The define(‘RELOCATE’,true); coommand worked. Thank you.