elanaspantry
Member
Posted 9 months ago #
i've got it halfway working for 2.7
i can list categories only by their ID - but i'm having a difficult time with the numberposts option - the page i'm trying to display all this on just comes up black when i try to use this option in more than one place...
this is what i'm trying to do:
<strong><u>beverages</u></strong>
[catlist id=23 orderby=name numberposts=-1]
<strong><u>breads</u></strong>
[catlist id=31 orderby=name numberposts=-1]
<strong><u>breakfasts</u></strong>
[catlist id=34 orderby=name numberposts=-1]
<strong><u>condiments</u></strong>
[catlist id=25 orderby=name numberposts=-1]
<strong><u>cooked veggies</u></strong>
[catlist id=29 orderby=name numberposts=-1]
<strong><u>entress</u></strong>
[catlist id=30 orderby=name numberposts=-1]
<strong><u>desserts</u></strong>
[catlist id=32 orderby=name numberposts=-1]
<strong><u>salads</u></strong>
[catlist id=28 orderby=name numberposts=-1]
<strong><u>snacks</u></strong>
[catlist id=22 orderby=name numberposts=-1]
<strong><u>soups</u></strong>
[catlist id=26 orderby=name numberposts=-1]
any suggestions or help would be much appreciated!
http://wordpress.org/extend/plugins/list-category-posts/
This works for me:
[catlist id=1 numberposts=-1 orderby=title order=asc date=yes author=yes ]
[catlist id=8 numberposts=-1 orderby=title order=asc date=yes author=yes ]
The instructions for orderby=name says "# 'name' - Sort by stub.", but not sure what that is.
elanaspantry
Member
Posted 9 months ago #
hmm... i copied and pasted your code, changed the date/author to 'no' and this seemed to work - weird...
thx MichaelH!
elanaspantry
Member
Posted 9 months ago #
actually, it still doesn't work...
here's the code again:
<strong><u>beverages</u></strong>
[catlist id=23 numberposts=-1 orderby=title]
<strong><u>breads</u></strong>
[catlist id=31 numberposts=-1 orderby=title]
<strong><u>breakfasts</u></strong>
[catlist id=34 numberposts=-1 orderby=title]
<strong><u>condiments</u></strong>
[catlist id=25 numberposts=-1 orderby=title]
<strong><u>cooked veggies</u></strong>
[catlist id=29 numberposts=-1 orderby=title]
<strong><u>desserts</u></strong>
[catlist id=32 numberposts=-1 orderby=title]
<strong><u>entrees</u></strong>
[catlist id=30 numberposts=-1 orderby=title]
<strong><u>salads</u></strong>
[catlist id=28 numberposts=-1 orderby=title]
<strong><u>snacks</u></strong>
[catlist id=22 numberposts=-1 orderby=title]
<strong><u>soups</u></strong>
[catlist id=26 numberposts=-1 orderby=title]
i created a test page and previewed it, same result, the page is blank.
it worked before with only two of the catlist calls above - it seems like it breaks when doing more than 2?
elanaspantry
Member
Posted 9 months ago #
ok, really odd...
i can do it with 9 instances of catlist, but when i add a 10th instance it breaks, displays nothing and removes my sidebar in the process...
This should make you laugh...I used 12 instances with success ;)
elanaspantry
Member
Posted 9 months ago #
very weird! i even looked at the plugin code but couldn't find anything that resembles restrictions with regard to how many instances...
i'm lost
i wonder if there is another plugin i could try?
elanaspantry
Member
Posted 9 months ago #
it may be the custom theme i'm using too... but what i wonder?
elanaspantry
Member
Posted 9 months ago #
this is what i'm trying:
<strong><u>beverages</u></strong>
[catlist id=23 numberposts=-1 orderby=title order=asc]
<strong><u>breads</u></strong>
[catlist id=31 numberposts=-1 orderby=title order=asc]
<strong><u>breakfasts</u></strong>
[catlist id=34 numberposts=-1 orderby=title order=asc]
<strong><u>condiments</u></strong>
[catlist id=25 numberposts=-1 orderby=title order=asc]
<strong><u>cooked veggies</u></strong>
[catlist id=29 numberposts=-1 orderby=title order=asc]
<strong><u>entress</u></strong>
[catlist id=30 numberposts=-1 orderby=title order=asc]
<strong><u>desserts</u></strong>
[catlist id=32 numberposts=-1 orderby=title order=asc]
<strong><u>salads</u></strong>
[catlist id=28 numberposts=-1 orderby=title order=asc]
<strong><u>snacks</u></strong>
[catlist id=22 numberposts=-1 orderby=title order=asc]
<strong><u>soups</u></strong>
[catlist id=26 numberposts=-1 orderby=title order=asc]
here's the page i'm trying it on: http://www.elanaspantry.com/test/
Well I wasn't trying it on a page but did so now, and successfully.
I'm running 2.7.1, you're running 2.6.2 and you've got a few more plugins active...
[edit]
Don't suppose you any server logs showing errors?
elanaspantry
Member
Posted 9 months ago #
i've got a lot of plugins active :-)
sorry, no server logs :-(
I've been using this sitemap generator, but I need to display different categories per page (vegan, raw, dairy-free, etc.) and that plugin can only handle on page...