Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Wordpress plugin

  1. #1
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543

    Wordpress plugin

    Does anyone know the name of the wordpress plugin that creates a list of your posts in a category instead of just displaying them one after the other? I want it so that when someone clicks on a category they just get a list of posts from that category.

    I'm sure Ive seen one...and sifting through the WP site is a nightmare

  2. #2

  3. #3
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    Can someone tell me in more detail how to do this?

    cheers

  4. #4
    Registered ses5909's Avatar
    Join Date
    Feb 2006
    Posts
    327
    Wheres your blog located at? Can you point to another blog that has what you are looking for exactly? I'm wondering if you are really referring to categories, because they are built in.

  5. #5
    Is Still Alive! Johnny Gulag's Avatar
    Join Date
    Feb 2006
    Location
    North Texas
    Posts
    242
    Hello

    Yes, Sara is correct, if all you want is to display a list of the categories that you have added posts to then just add this to the sidebar.php file or wherever you want it to appear.
    Code:
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1&exclude=10, 15'); ?>
    </ul>
    That will display the categories by name with the number of posts in each category next to it and exclude the categories with the ID's of 10 and 15.

    Should you not want to exclude categories you can remove the part for that:
    Code:
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1'); ?>
    </ul>
    You can find more on this page: http://codex.wordpress.org/Template_Tags/wp_list_cats

    Hope it helps

  6. #6
    Trench Warfare
    Join Date
    May 2003
    Location
    Australia
    Posts
    813
    I don't think that's what he is asking. I believe he wants to list permalinks to the articles in a category instead of displaying the full articles.

    Eg... the /entertainment/ category will show a lists of links to the posts, instead of the whole thing.

    Masetek, I would have thought this would be possible by editing the category template?
    Last edited by ozgression; 03-07-2006 at 10:28 PM.

  7. #7
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    That's not really what im after

    I have a list of categories, that's no worries. But what Im after is when someone clicks on a category, instead of getting all the posts I have made for that category one after the other they get a list of links which link to the posts permalink. Make sense?

    My blog is here

    thanx

  8. #8
    Is Still Alive! Johnny Gulag's Avatar
    Join Date
    Feb 2006
    Location
    North Texas
    Posts
    242
    Hello

    I think I understand now. Sorry for my slowness. I tried to find a way to do this for one of my blogs. The only thing I found was this: http://codex.wordpress.org/Template_Tags/get_posts I decided against it, because I am not sure what I was doing with it, is what it is meant to do, though it did work.

    There may be a better way alltogether but I could not find it. if you do please let me know.
    Last edited by Johnny Gulag; 03-07-2006 at 11:06 PM.

  9. #9
    Is Still Alive! Johnny Gulag's Avatar
    Join Date
    Feb 2006
    Location
    North Texas
    Posts
    242
    hello

    I found this, I think it will do what we both want.

    http://wp-plugins.net/plugin/wp_category_posts/

  10. #10
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    Nice one That's pretty much spot on. Do you know how to implement it? I tested it and it works, I'm not sure which template/file I have to edit for each category to get it sorted?

  11. #11
    Is Still Alive! Johnny Gulag's Avatar
    Join Date
    Feb 2006
    Location
    North Texas
    Posts
    242
    Well it is interesting you ask! I have made it work by placing it inside my archive.php file and also my sidebar.php file.

    Though I got to reading the help file that came with it and found this at the bottom:
    If you use a plugin like PHP Exec (http://priyadi.net/archives/2005/03/...p-exec-plugin/)
    you can easily use the WP Category Posts plugin inside of a WordPress "page" to create a specific archive page.
    So I dloaded and installed that plug in as well, and then made a "page" to use that snippet on, following every instruction.

    When it did not work, I tried everything I could think of to make it work.

    Though as you can see here: http://metalpedia.com/death-metal/ it just displays the actual php snippet used for the plug in above, so I gave up for now.

    If anyone has any idea why this is not working. I have checked every possibility and all seems to be correct except it does not work
    Last edited by Johnny Gulag; 03-08-2006 at 03:15 AM.

  12. #12
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    LOL - I am getting the exact same problem!

  13. #13
    Trench Warfare
    Join Date
    May 2003
    Location
    Australia
    Posts
    813
    Yeah, I can't get php exec working either. Has anyone confirmed that it even works with wordpress 2.0?

  14. #14
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    I'm sure you could just modify your main page template so if it's a category, to only show a certain post style, by using the

    Code:
    if (is_category())
    loop?
    Stepping On Wires - the new blog

  15. #15
    Is Still Alive! Johnny Gulag's Avatar
    Join Date
    Feb 2006
    Location
    North Texas
    Posts
    242
    Quote Originally Posted by ozgression
    Yeah, I can't get php exec working either. Has anyone confirmed that it even works with wordpress 2.0?
    I am assuming that must be the issue.

Similar Threads

  1. Custom Wordpress themes
    By Cutter in forum HTML, CSS, Layout, and Design
    Replies: 23
    Last Post: 04-03-2006, 03:26 PM
  2. Custom Wordpress Design & Installation
    By Cutter in forum The Marketplace
    Replies: 0
    Last Post: 11-29-2005, 11:27 AM
  3. Wordpress - Help with pages
    By Blue Cat Buxton in forum General Management Issues
    Replies: 3
    Last Post: 10-05-2005, 08:54 AM
  4. WordPress
    By Blue Cat Buxton in forum HTML, CSS, Layout, and Design
    Replies: 14
    Last Post: 05-18-2005, 05:18 PM
  5. Need Wordpress help
    By pierrebenoit in forum Website Programming & Databases
    Replies: 0
    Last Post: 04-26-2005, 07:09 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •