11
moin schimmi,
vielen dank ;-) das war genau das was ich brauchte. hast du denn einen eigenen blog ?
cu uwe
vielen dank ;-) das war genau das was ich brauchte. hast du denn einen eigenen blog ?
cu uwe
<hr class="low" />
<!-- subcontent ................................. -->
<div id="subcontent">
<?php /**
* Pages navigation. Disabled by default because all new pages are added
* to the main navigation.
* If enabled: Blix default pages are excluded by default.
*
?>
<h2><em>Pages</em></h2>
<ul class="pages">
<?php
$excluded = BX_excluded_pages();
wp_list_pages('title_li=&sort_column=menu_order&exclude='.$excluded);
?>
</ul>
<?php */ ?>
<?php if (is_home()) { ?>
<?php
/**
* If a page called "about_short" has been set up its content will be put here.
* In case that a page called "about" has been set up, too, it'll be linked to via 'More'.
*/
$pages = BX_get_pages('with_content');
if ($pages) {
foreach ($pages as $page) {
$page_id = $page->ID;
$page_title = $page->post_title;
$page_name = $page->post_name;
$page_content = $page->post_content;
if ($page_name == "about") $more_url = '<a href="'.get_page_link($page_id).'" class="more">More</a>';
if ($page_name == "about_short") {
$about_title = $page_title;
$about_text = BX_remove_p($page_content);
}
}
if ($about_text != "") {
echo "<h2><em>".$about_title."</em></h2>\n";
echo "<p>".$about_text;
if ($more_url != "") echo " ".$more_url;
echo "</p>\n";
}
}
?>
<h2><em>Categories</em></h2>
<ul class="categories">
<?php wp_list_cats('sort_column=name&hide_empty=0'); ?>
</ul>
<h2><em>Links</em></h2>
<ul class="links">
<?php get_links('-1', '<li>', '</li>', '', 0, 'name', 0, 0, -1, 0); ?>
</ul>
<h2><em>Feeds</em></h2>
<ul class="feeds">
<li><a href="<?php bloginfo_rss('rss2_url'); ?> ">Entries (RSS)</a></li>
<li><a href="<?php bloginfo_rss('comments_rss2_url'); ?> ">Comments (RSS)</a></li>
</ul>
<?php } ?>
<?php if (is_single()) { ?>
<h2><em>Calendar</em></h2>
<?php get_calendar() ?>
<h2><em>Most Recent Posts</em></h2>
<ul class="posts">
<?php BX_get_recent_posts($p,10); ?>
</ul>
<?php } ?>
<?php if (is_page("archives") || is_archive() || is_search()) { ?>
<h2><em>Calendar</em></h2>
<?php get_calendar() ?>
<?php if (!is_page("archives")) { ?>
<h2><em>Posts by Month</em></h2>
<ul class="months">
<?php get_archives('monthly','','','<li>','</li>',''); ?>
</ul>
<?php } ?>
<h2><em>Posts by Category</em></h2>
<ul class="categories">
<?php wp_list_cats('sort_column=name&hide_empty=0'); ?>
</ul>
<?php } ?>
</div> <!-- /subcontent -->
Zitat von Gustafsson ich steige da nicht durch was disabled by default ist und wo man es einstellt ???
<?php /**
* Pages navigation. Disabled by default because all new pages are added
* to the main navigation.
* If enabled: Blix default pages are excluded by default.
* */
?>
<h2><em>Pages</em></h2>
<ul class="pages">
<?php
$excluded = BX_excluded_pages();
wp_list_pages('title_li=&sort_column=menu_order&exclude='.$excluded);
?>
</ul>
<?php ?>
Thema | Autor | Forum | Beiträge | Letzter Beitrag |
---|---|---|---|---|
Seitentitel Spam? | Ich bins | SEO | 19 | 07.08.2017 01:32 |
Welche SEO Agenturen sind empfehlenswert? | WebZauberer | SEO | 5 | 12.06.2016 09:26 |
Welches Tool soll ich nehmen? | Kai84 | SEO | 6 | 25.07.2015 10:51 |
Formular versendet SPAM E-Mails | tobi | PHP und MySQL | 10 | 11.07.2015 18:01 |
Auswahlfeld mit Hinweis | tobi | PHP und MySQL | 14 | 11.05.2015 10:13 |
Phpmailer in existierendes Formular einbinden | tobi | PHP und MySQL | 27 | 26.04.2015 14:06 |
Platzierung von div Containern | tommik | HTML und CSS | 16 | 18.07.2014 19:47 |