http://codex.wordpress.org/Template_Tags/wp_list_cats
See the info on the ‘child_of’ parameter. If they are using my plugin, then they’re probably doing something like:
<ul>
<?php for($i='A';$i!='AA';$i++) { ?>
<li><h3 id="<?php echo $i; ?>"><?php echo $i; ?></h3><ul>
<?php szub_alpha_list_cats('child_of=1&first_char=' . $i); ?>
</ul></li>
<?php } ?>
</ul>
Just change the ‘child_of’ value to the ID of the parent category you want to limit this to.
The menu they have along the top just provides anchor links to the separate sections (IDs) on the page. Nothing PHP or “java” about that — just basic HTML.
yes u are right i everything works fine.also the anchor link code is something like this
<div class=”letters”>A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0 – 9</div>
now i will ask another thing.in that site(wonderland) there is a category marken and its lots of child categories.but i couldn’t see them in the category list.ofcourse this is a good think.my question is this “how can they secret the marken category and its child categories? i want to do exactly what they did.
thanks for ur help 😉
also i want to learn
at the top
# Home
# Marken
# Wissen
# Rechtliches
# Best case
# Agenda
# Galerie
# Kontakt
# Archiv
# About us
# Sitemap
there are theese kind of pages.how they include this php files to that pages.?