I have been googling the crap out of this for two hours without much luck. Here is what I need
I have a tabbed content box with three tabs. I want to make three categories in the content box. One category for each tab. That way the user can make a post in wordpress to a specific category and have it automatically show up in the content box under that tab. This content box is on the homepage. I have been able to get the categories to show up, but it shows all of them no matter what category you post in. I want to show the category, title with permalink and the_excerpt() of the post made to that category. I am using this code to prevent the category from showing up in the homepage regualar posting area
if (is_home()) { query_posts(\"cat=-24,-25,-26\"); } ?>
got any idea's. This would make an excellent blog post or tutorial since there does not seem to be an easy to find solution online.
simple pie won't work. I am trying to get my category posts to show in one specific area, So that the person that will be doing the updating can just post to that category and it will show in the right spot. Still no luck.
will simple pie split up the categories into 3 different categories and show them in the spot I want them to. Usually rss shows all the posts. I don't want the entire post to show, I want the title and the_excerpt(). I don't know if simple pie will do that.
I am making edits to the code to show the edit post button, view previous and next or older posts. things like that. But I now have three tabs working, with three different categories and they do not interfere with the homepage posting. I also added
<?php if (is_home()) { query_posts(\"cat=-24,-25,-26\"); } ?>
to the homepage loop. so that the posts won't show up there.
I gave it a try and it doesn't work. The content box that I am showing the category posts in are on the homepage. With the code you put up, it kills the posts in the homepage. With this code, it doesn't.
I have a tabbed content box with three tabs. I want to make three categories in the content box. One category for each tab. That way the user can make a post in wordpress to a specific category and have it automatically show up in the content box under that tab. This content box is on the homepage. I have been able to get the categories to show up, but it shows all of them no matter what category you post in. I want to show the category, title with permalink and the_excerpt() of the post made to that category. I am using this code to prevent the category from showing up in the homepage regualar posting area
if (is_home()) {query_posts(\"cat=-24,-25,-26\");
}
?>
got any idea's. This would make an excellent blog post or tutorial since there does not seem to be an easy to find solution online.
Pull in your own RSS feed and then filter out what you don't want.
Chris has a vid on Simple pie here: http://css-tricks.com/video-screencasts/55-adding-rss-content-with-simplepie/
And if memory serves he covered using your own feed in this one: http://css-tricks.com/video-screencasts/41-wordpress-as-a-cms/
http://perishablepress.com/press/2008/0 ... wordpress/
You might have found it already though...
Why not?
It shows up where you tell it to.
Here is the code I am going with right now
I made a blog.php in there I made my loop to connect to the blog category
I am making edits to the code to show the edit post button, view previous and next or older posts. things like that. But I now have three tabs working, with three different categories and they do not interfere with the homepage posting. I also added
<?php if (is_home()) {query_posts(\"cat=-24,-25,-26\");
}
?>
to the homepage loop. so that the posts won't show up there.
Seems with Simple Pie you can only get the description and not the excerpt.
<?php query_posts('category_name=CATEGORY-SLUG&showposts=1'); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_title(); ?>
<?php the_excerpt(); ?>
<?php endwhile; ?>
Do that for each of the three categories?