WordPress.org

Ready to get started?Download WordPress

Forums

Category Problems.... tutut (21 posts)

  1. Barfly
    Member
    Posted 6 years ago #

    I'm getting very confused and my head is spinning with all the terms and the words here, which I why I can't find a simple resolve to my problem! Please help...

    Ok... on my blog I have a list of categories.. I click that link and a template shows up (categories.php) all I want is a list for every post in that category to show up, like this site:

    http://lorelle.wordpress.com/category/wordpress-themes/

    See how they all show up and the reader can select which particular post in that category they want to see!

    If you could point me in the right direction I'd love you forever :-)

  2. MichaelH
    Member
    Posted 6 years ago #

    You'll want to look at Category Templates as well as get a feel for the Template Hierarchy.

  3. Barfly
    Member
    Posted 6 years ago #

    I already did... I do not see it explained anywhere on there.

    I just need to display either a link to EACH page in the category or a small exceprt of each. I can make ONE show up... how do you make them ALL ?

  4. moshu
    Member
    Posted 6 years ago #

    At this moment a link would be beneficial.
    Seemingly, your issue is related to the setting of how many posts to be shown (admin > Options > Reading). The settings from there apply to ALL views in your blog.
    However, there are plugins (CQS=custom query string) that would allow to have different number of posts on different views.

  5. Barfly
    Member
    Posted 6 years ago #

    http://twisted-barfly.co.uk

    So you click on the category 'site update' for example, and I want it to show up all the links to the blogs in the category.

    At the moment, I think it shows one with a next link to the next blog post.

    I want them ALL to show (either blog or link to it)

    If I am making no sense please let me know!

  6. moshu
    Member
    Posted 6 years ago #

    My guess was correct!
    Go to your Wp admin panel > Options > Reading.
    The "Show at most" field must be set to 1 (one).
    As I said above: that setting applies to ALL your pages/views.

    Search for the plugin I mentioned above.

  7. Barfly
    Member
    Posted 6 years ago #

    Ah ... that controls all the pages, and I need a plug in to control different pages?

    Thanks!

  8. Barfly
    Member
    Posted 6 years ago #

    Hmmm... I have uploaded it to wp-content/plugins and it's not in the list in the admin panel...

    Strange....

  9. moshu
    Member
    Posted 6 years ago #

    No you didn't upload it:
    http://www.twisted-barfly.co.uk/wp-content/plugins/

    (what is the category.php template file doing in the plugins directory???)

  10. Barfly
    Member
    Posted 6 years ago #

    that's what i uploaded by mistake...I had downloaded one onto my desktop to look at last night for help and also downloaded the plug in... lol

    haha

    thanks so much for your help!

  11. Barfly
    Member
    Posted 6 years ago #

    ahh wow... thank you! It's broken my css though ... :-(

    ...oh well next problem to fix!

    thanks again

  12. moshu
    Member
    Posted 6 years ago #

    It's not your CSS - it's your archive.php or category.php, whichever is used to display your category listings. It has a lot of bad code in the header (head), the validator doesn't even want to work with it :)

  13. Barfly
    Member
    Posted 6 years ago #

    oohh ok thanks I shall look into it, thanks

  14. ShustOne
    Member
    Posted 6 years ago #

    I just checked the source for one of your category pages. Look for this:

    <a href="/Brushes" title="Brushes"><img class="no" src="wp-content/themes/Illustration/psp.jpg" alt="Looking for Paint Shop Pro Brushes?" title="Looking for Paint Shop Pro Brushes?"</a>

    You have an img tag that isn't closed. Perhaps closing that will fix your problem?

  15. Barfly
    Member
    Posted 6 years ago #

    Thank you, I have fixed that but it hasn't solved the background!

    I shall now look at the messy coding Moshu pointed out...

  16. moshu
    Member
    Posted 6 years ago #

  17. Barfly
    Member
    Posted 6 years ago #

    gosh I don't know where to start with all that...

    hmm... thank you for helping me out guys

  18. ShustOne
    Member
    Posted 6 years ago #

    I can help out a bit:

    # <li class="page_item"><a href="http://twisted-barfly.co.uk/?page_id=8" title="Resource Links">Resource Links</a></li>
    # <a href="/Brushes" title="Brushes"><img class="no" src="wp-content/themes/Illustration/psp.jpg" alt="Looking for Paint Shop Pro Brushes?" title="Looking for Paint Shop Pro Brushes?" /></a>
    # <li><a href="http://twisted-solutions.co.uk" title="Twisted Solutions">Twisted Web Design & Hosting</a></li>
    # </ul>

    Look for that line in your code. You're missing
    <li> before the link and </li>
    after.

    It's also saying you didn't end your content div. I'm not sure but you might want to check that to make sure.

  19. Barfly
    Member
    Posted 6 years ago #

    Hmm yes, I had problems with this the other day. I wrote this page last night, quite sleepy. MY boyfriend has gone home now, so I can look in detail woo! Thanks everyone!

  20. Barfly
    Member
    Posted 6 years ago #

    got it down to six errors from over 40 ...

  21. Barfly
    Member
    Posted 6 years ago #

    Woo. All validated at the moment...

    Now just got to sort out these darn categories.

    I used to be really good for the most parts validating as I type, especially adding things like alt tags and /> etc...

    Naughty me!

Topic Closed

This topic has been closed to new replies.

About this Topic