Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter joehash

    (@joehash)

    Nevermind, figured it out.

    Had to add custom fields.

    Thread Starter joehash

    (@joehash)

    Here 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 -->
    Thread Starter joehash

    (@joehash)

    I removed the comments

    Thread Starter joehash

    (@joehash)

    That did the trick! Thanks a lot!

    Thread Starter joehash

    (@joehash)

    `<?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(); ?>

    Thread Starter joehash

    (@joehash)

    Ahh, thank you both.

    The define(‘RELOCATE’,true); coommand worked. Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)