lmlm
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Make top level menu links inactive?thanks guys, since i am building a brand new theme, apparently i needed to force the menus to show up in my wp-admin. this simple code did the trick:
<?php register_nav_menu(); ?>Forum: Themes and Templates
In reply to: Make top level menu links inactive?i am under “Appearance”, however there’s only 3 options available: Themes, Widgets and Editor
Forum: Themes and Templates
In reply to: Make top level menu links inactive?hello. i am dealing with the same issue, however i can’t find the “custom links” box. i’m using wp 3.0.1
what i am missing? thanks!
Forum: Hacks
In reply to: Next/Prev Page _not_ Next/Prev Postanyone, please can you help? my current code is
<?php while ( have_posts() ) : the_post() ?> <p>1<?php wp_link_pages('link_before=&link_after='); ?>2</p> <?php endwhile; ?>and that just returns
<p>12</p>Forum: Hacks
In reply to: Next/Prev Page _not_ Next/Prev Poststill no result, this:
<p><?php wp_link_pages('link_before=&link_after='); ?></p>generates and empty paragraph:
<p></p>Forum: Hacks
In reply to: Next/Prev Page _not_ Next/Prev Posti have read and tried that many times, however since i am trying to put together a brand new theme, it doesnt work. i read it must be placed within the loop (i am using the default loop.php file from twentyten) and then the code in my sidebar is:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <p><?php wp_link_pages('before=<p>&after=</p>'); ?></p> <?php endwhile; else: ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php endif; ?>what am i doing wrong? thanks!