Hi,
hoffe bin in der richtigen Abteilung. Es geht um folgenden Blog:
emats’s Fotogalerie - bin berade am aufbauen. Undzwar ist "Fotografien" das Widget "Kategorien" . Ist es Möglich eine 2 Kategorien Abteilung zu bauen. Sodass anstatt Fotografien noch "Wallpaper" dazu kommt das wieder untergeordnete Kategorien hat.
Hoffe das ihr versteht was ich meine.
mfg sven
2es Kategorien Widget
-
emats -
2. Februar 2008 um 18:31
-
-
- Gerade eben
- Anzeige
Hallo!
Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.
- ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
- ✔️ Deutsche Server & DSGVO-konform
- ✔️ Persönlicher Support (kein 0815-Ticket-System)
-
poste mal deine sidebar.php
-
Sidebar
PHP
Alles anzeigen<div id="links"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('left menu') ) : else : ?> <?php if (function_exists('wp_theme_switcher')) { ?> <li><h2><?php _e('Themes','nature'); ?></h2> <?php wp_theme_switcher(); ?> </li> <?php } ?> <li><h2><?php _e('Pages','nature'); ?></h2> <ul> <?php wp_list_pages('sort_column=menu_order&depth=-1&title_li=');?> </ul> </li> <li> <h2><?php _e('Categories','nature'); ?></h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2><?php _e('Archives','nature'); ?></h2> <ul> <?php wp_get_archives('type=monthly&limit=12'); ?> </ul> </li> <?php endif; ?> </ul> </div><!--Ende linke Seite--> <div id="rechts"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('right menu') ) : else : ?> <li> <h2><?php _e('Search','nature'); ?></h2> <ul> <li> <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div> <input type="text" name="s" id="s" size="15" value="<?php echo wp_specialchars($s, 1); ?>" /> <input type="submit" value="<?php _e('Search'); ?>" /> </div> </form> </li> <?php if ( is_404() || is_category() || function_exists('is_tag') && is_tag() || is_day() || is_month() || is_year() || is_search() || is_paged() ) { ?> <li> <?php if (is_404()) { ?><li> <?php } elseif (is_category()) { ?> <?php _e('<p>You are currently browsing the blog archives for the category','nature'); ?> ‘<?php single_cat_title(''); ?>’.</p> <?php } elseif ( function_exists('is_tag') && is_tag()) { ?> <?php _e('<p>You are currently browsing the blog archives for the tag','nature'); ?> ‘<?php single_tag_title(''); ?>’.</p> <?php } elseif (is_day()) { ?> <?php _e('<p>You are currently browsing the blog archives for the day','nature'); ?> <?php the_time('l,'); ?> <?php the_time('j. F Y'); ?>.</p> <?php } elseif (is_month()) { ?> <?php _e('<p>You are currently browsing the blog archives for the month','nature'); ?> <?php the_time('F Y'); ?>.</p> <?php } elseif (is_year()) { ?> <?php _e('<p>You are currently browsing the blog archives for the year','nature'); ?> <?php the_time('Y'); ?>.</p> <?php } elseif (is_search()) { ?> <?php _e('<p>you have searched the','nature'); ?> <?php bloginfo('name'); ?> <?php _e('for','nature'); ?> ‘ <?php if (function_exists ('the_search_query')) { the_search_query(); } else { echo wp_specialchars($s); } ?>’.</p> <?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <?php _e('<p>You are currently browsing for the archive','nature'); ?> <?php echo get_settings('name'); ?>.</p> <?php } ?> </li> <?php }?> </ul> </li> <li> <h2><?php _e('Syndication','nature'); ?></h2> <ul> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS','nature'); ?>"> <?php _e('Posts','nature'); ?> (RSS)</a></li> </ul> </li> <li> <h2><?php _e('Calendar','nature'); ?></h2> <ul> <li><?php get_calendar(); ?></li> </ul> </li> <li> <h2><?php _e('Meta','nature'); ?></h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="[URL="http://validator.w3.org/check/referer"]Validation Results - W3C Markup Validator[/URL]" title="<?php _e('This page validates as XHTML 1.0 Strict','nature'); ?>">Valid XHTML</a></li> <li> -
ok hier
PHP
Alles anzeigen<div id="links"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('left menu') ) : else : ?> <?php if (function_exists('wp_theme_switcher')) { ?> <li><h2><?php _e('Themes','nature'); ?></h2> <?php wp_theme_switcher(); ?> </li> <?php } ?> <li><h2><?php _e('Pages','nature'); ?></h2> <ul> <?php wp_list_pages('sort_column=menu_order&depth=-1&title_li=');?> </ul> </li> <li> <h2><?php _e('Categories','Kategorie 1'); ?></h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2> <?php _e('Categories','Kategorie 3'); ?> </h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2> <?php _e('Categories','Kategorie 2'); ?> </h2> <ul> <?php if (function_exists('wp_list_cats')) { wp_list_cats('sort_column=name&hierarchical=0'); } else { wp_list_categories('hierarchical=0'); } ?> </ul> </li> <li> <h2><?php _e('Archives','nature'); ?></h2> <ul> <?php wp_get_archives('type=monthly&limit=12'); ?> </ul> </li> <?php endif; ?> </ul> </div><!--Ende linke Seite--> <div id="rechts"> <ul> <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('right menu') ) : else : ?> <li> <h2><?php _e('Search','nature'); ?></h2> <ul> <li> <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div> <input type="text" name="s" id="s" size="15" value="<?php echo wp_specialchars($s, 1); ?>" /> <input type="submit" value="<?php _e('Search'); ?>" /> </div> </form> </li> <?php if ( is_404() || is_category() || function_exists('is_tag') && is_tag() || is_day() || is_month() || is_year() || is_search() || is_paged() ) { ?> <li> <?php if (is_404()) { ?><li> <?php } elseif (is_category()) { ?> <?php _e('<p>You are currently browsing the blog archives for the category','nature'); ?> ‘<?php single_cat_title(''); ?>’.</p> <?php } elseif ( function_exists('is_tag') && is_tag()) { ?> <?php _e('<p>You are currently browsing the blog archives for the tag','nature'); ?> ‘<?php single_tag_title(''); ?>’.</p> <?php } elseif (is_day()) { ?> <?php _e('<p>You are currently browsing the blog archives for the day','nature'); ?> <?php the_time('l,'); ?> <?php the_time('j. F Y'); ?>.</p> <?php } elseif (is_month()) { ?> <?php _e('<p>You are currently browsing the blog archives for the month','nature'); ?> <?php the_time('F Y'); ?>.</p> <?php } elseif (is_year()) { ?> <?php _e('<p>You are currently browsing the blog archives for the year','nature'); ?> <?php the_time('Y'); ?>.</p> <?php } elseif (is_search()) { ?> <?php _e('<p>you have searched the','nature'); ?> <?php bloginfo('name'); ?> <?php _e('for','nature'); ?> ‘ <?php if (function_exists ('the_search_query')) { the_search_query(); } else { echo wp_specialchars($s); } ?>’.</p> <?php } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <?php _e('<p>You are currently browsing for the archive','nature'); ?> <?php echo get_settings('name'); ?>.</p> <?php } ?> </li> <?php }?> </ul> </li> <li> <h2><?php _e('Syndication','nature'); ?></h2> <ul> <li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('Syndicate this site using RSS','nature'); ?>"> <?php _e('Posts','nature'); ?> (RSS)</a></li> </ul> </li> <li> <h2><?php _e('Calendar','nature'); ?></h2> <ul> <li><?php get_calendar(); ?></li> </ul> </li> <li> <h2><?php _e('Meta','nature'); ?></h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/check/referer" title="<?php _e('This page validates as XHTML 1.0 Strict','nature'); ?>">Valid XHTML</a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a href="http://wordpress.org/" title="<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>"><abbr title="WordPress">Wordpress.org</abbr></a></li> <?php wp_meta(); ?> </ul> </li> <?php if ( function_exists('wp_tag_cloud') ) : ?> <li> <h2><?php _e('Tag Cloud','nature'); ?></h2> <ul> <li><?php wp_tag_cloud('smallest=8&largest=18'); ?></li> </ul> </li> <?php endif; ?> <?php if (function_exists('wp_list_bookmarks')) { wp_list_bookmarks(); } else { get_links_list(); } ?> <?php endif; ?> </ul> </div><!--Ende rechte Spalte-->musst dann per exlude schauen welche seiten du wo haben willst und welche nicht
-
Erklären
Kann mir das vllt jemand genauer erklären?
-
Kann mir das vllt jemand genauer erklären?
wenn du widgets in die sidebar ziehst geht das nicht
ein WIdget ist ein automatisertes Helferlein,
magst du mehr als die Widgets können , musst Du Dir entweder einen coder zahlen der das kann oder Du kennst wem der wem kennt, ders kann,
oder Du verzichtest auf Widgets und traust Dich in der sidebar.php was zu ändern?
wenn du die sidebar.php deines Themes zuerst in einen anderen Ordner auf deinen PC speicherst hast du eine Sicherung, wenn was schief geht beim Ändern.
WordPress Theme - wie teilt man die Anzeige der Kategorien auf-wp-list-categories
lg
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!