Collapsing of categories
-
I just basically don’t want the seperate categories to collapse.
And to not say “Read the rest of this entry »”
Thanks,
Barry.
-
Anyone?
:/
link to your blog
and most of the time you can edit your .index.php file to get the :read the rest of this entry off there. or shut off the experts all together
Well basically if i get rid of “read the rest of the entry”, I can still only see part of the post.
Unless I am missing something, what collapsing categories are you talking about?
Click on “Albums”, “Videos” or “tracks” on the top nav bar
I clicked on those, I do not see anything collapsing. As I previously stated, edit your index.php file and pull of the part of the html code that has the read the rest of this entry or whatever it says. That will take care of that problem.
I actually mean collapsing posts…
Basically I want the whole post to be seen
the_content() will show full post by default unless you put the <!–more–> tag in your post.
the_excerpt() will show a shorter version of your post content or custom excerpt that you specify.
check your index.php page and archive.php and see what it has<?php
get_header();
?><!– START CONTENT –>
<div id=”content”><!– LEFT DIV –>
<div id=”insidecontent”><!– loop –>
<?php if (is_home()) {query_posts(“cat=-6”);} ?>
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?><h1>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?>
</h1>
<?php the_content (‘Read the rest of this entry »’); ?>
archive page too, if you have one
<div id=”content”>
<!– LEFT DIV –>
<div id=”insidecontent”><!– loop –>
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h1><?php echo single_cat_title(); ?> </h1><?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h1>Archive for <?php the_time(‘F jS Y’); ?></h1><?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h1>Archive for <?php the_time(‘F, Y’); ?></h1><?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h1>Archive for <?php the_time(‘Y’); ?></h1><?php /* If this is a search */ } elseif (is_search()) { ?>
<h1>Search Results</h1><?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h1>Author Archive</h1><?php /* If this is a paged archive */ } elseif (isset($_GET[‘paged’]) && !empty($_GET[‘paged’])) { ?>
<h1>Blog Archives</h1><?php } ?>
<!– loop –>
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?><h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
<?php the_excerpt (); ?><h5>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”>Read the rest of this entry »</h5>
<?php endwhile; ?>
<?php else : ?>
The topic ‘Collapsing of categories’ is closed to new replies.