the_post(); ?> <?php $custom_fields = get_post_custom(); ?> <?php if (isset($custom_fields['BX_post_type']) && $custom_fields['BX_post_type'][0] == 'mini') { ?> <hr class="low" /> <div class="minientry"> <p> <?php echo BX_remove_p(get_the_content()); ?> <div class="info"> <?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?> <a href="<?php the_permalink(); ?> " class="permalink" title="Permalink"><?php the_time('M j, \'y'); ?> <!--, <?php the_time('h:ia'); ?> --></a>
* 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>
<?php $custom_fields = get_post_custom(); //custom fields ?> <?php if (isset($custom_fields["BX_post_type"]) && $custom_fields["BX_post_type"][0] == "mini") { ?> <hr class="low" /> <div class="minientry"> <p> <?php echo BX_remove_p($post->post_content); ?> <?php comments_popup_link('(0)', '(1)', '(%)', 'commentlink', ''); ?> <a href="<?php the_permalink(); ?> " class="permalink" title="Permalink"><?php the_time('M j, \'y'); ?> <!--, <?php the_time('h:ia'); ?> --></a> <!--<em class="author"><?php
?> <?php if (is_home()) { /** * 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'. */ $about_short = get_page_by_path('about_short'); $about = get_page_by_path('about'); if ($about->post_status == 'publish') { $more_url = '<a href="' . get_bloginfo('url') . '/' . get_page_uri($about->ID) . '" class="more">' . __('More...') . '</a>'; } if ($about_short->post_status == 'publish') { $about_title = $about_short->post_title; $about_text = BX_remove_p($about_short->post_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"; } } ?> <?php if (!function_exists('dynamic_sidebar') || !dynamic_sidebar()) {