Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter spikoley

    (@spikoley)

    Actually, that solution is not going to work. It ads the category to each post. I just want a paragraph at the top of the category when you view by category.

    Any other idea? Maybe a way to create a page and then have the category show up below the page?

    Thread Starter spikoley

    (@spikoley)

    I got it working! Thanks for you help. Now I just need to tweak it.

    Thread Starter spikoley

    (@spikoley)

    I only have a index.php file. Inside the file category is mentioned once.

    <div id=”post-<?php the_ID(); ?>” class=”node clearfix node-story node-teaser published promoted <?php if (is_sticky()): ?>sticky<?php endif; ?> without-photo”>
    <div class=”meta”>
    <h2>“><?php the_title(); ?></h2>
    <p>Posted <abbr class=”created”><?php the_time(‘M.d, Y’) ?></abbr> by <?php the_author_posts_link(); ?>, under <?php the_category(‘, ‘); ?></p>
    <div class=”terms”>
    <?php the_tags(‘<span class=”icon”> </span>’, ‘, ‘, ‘ ‘); ?>
    </div>
    </div>

    From the link you provided me it looks like I need to add <?php echo category_description( $category ); ?>.

    I am new to PHP and I haven’t been able to get it to work. Where would I put that line?

    Thread Starter spikoley

    (@spikoley)

    Thanks for the reply. I don’t have a category template file to edit. Any other ideas on how to accomplish this? Is there a plugin I can use?

    Thread Starter spikoley

    (@spikoley)

    Got it resolved. It was an issue with my permalinks. I had / as the custom permalink and all my posts would go to the root of the site. I changed it to /%postname%/ and now it works. The post show up as example.com/post-name.

    Thread Starter spikoley

    (@spikoley)

    It looks like WordPress doesn’t have this functionality yet. I think it would be a great plugin. Pages and Post would have their own permalink so you could better organize your site and use WordPress more like a CMS.

    Thread Starter spikoley

    (@spikoley)

    Any ideas on how I can accomplish this. I want my site organized like this.

    Pages: example.com/pages

    Posts: example.com/blog/posts

Viewing 7 replies - 1 through 7 (of 7 total)