tudorbob
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Special CategoryThanks will look through that.
Forum: Themes and Templates
In reply to: Post image on homepageThanks for that I have tried that – I think my problem is I am trying to seperate one category to be displayed at the top of the page and it is out of the if have post tag – see code below. And for some reason it will not show content only excerpt.
<?php get_header(); ?><!-- content ................................. -->
<div id="content">
<?php if (is_home()) {query_posts("cat=-18"); }?><?php
$posts = get_posts('numberposts=2&offset=0&category=18');
foreach($posts as $post) :
?>
<div class="special"><h2>"><?php the_title(); ?></h2><?php the_content(); ?></div>
<?php endforeach; ?><?php if (have_posts(x)) : ?>
<?php while (have_posts()) : the_post(); ?>
<?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">
<?php echo BX_remove_p($post->post_content); ?>
" class="permalink" title="Permalink"><?php the_time('M j, \'y') ?><!--, <?php the_time('h:ia') ?>-->
<!--<em class="author"><?php the_author() ?>-->
<?php edit_post_link('Edit','<span class="editlink">','</span>'); ?></div>
<hr class="low" />
<?php } else { ?>
<div class="entry">
<h2>" title="Permalink"><?php the_title(); ?></h2>
<?php ($post->post_excerpt != "")? the_excerpt() : the_content(); ?>
<p class="info"><?php if ($post->post_excerpt != "") { ?>" class="more">Continue Reading<?php } ?>
</div>
<!--
<?php trackback_rdf(); ?>
--><?php } ?>
<?php endwhile; ?>
<!-- this is ugly -->
<span class="next"><?php previous_posts_link('Next Posts') ?></span>
<span class="previous"><?php next_posts_link('Previous Posts') ?></span><?php else : ?>
<h2>Not Found</h2>
Sorry, but you are looking for something that isn't here.<?php endif; ?>
</div> <!-- /content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Forum: Your WordPress
In reply to: Exploding-boy.com RedesignI like it
Forum: Fixing WordPress
In reply to: accessible <–! more –> taggreat link nuclearmoose – was wondering where to find that kind of information.
Forum: Fixing WordPress
In reply to: accessible <–! more –> tagThanks that works great. Also figured out another way but I like yours better as it is cleaner. The way I had done it was this.
<?php the_content(‘read more of ‘ . get_the_title() . ”); ?>Forum: Fixing WordPress
In reply to: CMSthanks will try these.
Forum: Fixing WordPress
In reply to: Basic PageThanks for that speedy reply. I guess what I am wondering if it is possible either through a plugin or other to make it a simple as “Add New Page” for a user you may set the site up for. This page will automatically appear in a menu once published.
Exactly like the wordpress menu along the top – they have pages that are not part of the blog that I assume are easily updatable and created throught the admin interface.
I know this pushes the functionality of WordPress from a blogging system to a content management system – buit can it do it?