Wordpress question: post excepts from different page into section of main page

Sonny Forelli

Well-known member
May 8, 2008
2,330
89
48
Liberty City
I have the following setup

Wordpress homepage (static page)
||
Different Sections Using Pages


What I'd like to do is have this:


Wordpress homepage (static page)
||
Different Sections Using Pages
||
Section page with POSTS grabbing news/info



However I'd like to feature post excerpts dynamilaly on the "Different sections using pages" pages off their respective sub "latest news" page which will auto pull in feeds.


Is there a way to do this via a plugin?

Does this even make sense?

I'd like the respective section pages where I have an offer as well as sales copy to, beneath this, show the last post (or X characters from it) from the other page.

Doable?

Thanks
 


Doable? Yes
Does this even make sense? No

Wordpress is infinitely extend-able, im sure i could help you do what you want, if you can describe it better!
 
You can place page excerpts on home page (or any other page) like this:
Code:
<?php query_posts('pagename=insertyourpagename(page slug, to be precise)here'); ?>
     <?php while (have_posts()) : the_post(); ?>
     <?php the_title(); ?>
     <?php the_excerpt(); ?>
<?php endwhile; ?>
 
OR

if you are looking to preview posts from some category then do this:

Code:
<?php $temp_query = $wp_query; ?>
     <?php query_posts('category_name=yourcategorynamehere&showposts=10 (or whatever you like)'); ?>
     <?php while (have_posts()) : the_post(); ?>
     <?php the_title(); ?>
     <?php excerpt(); ?>
<?php endwhile; ?>

...or just pm me with the example, I will be glad to help you out
 
Jesus christ son... make sense? No.

Try the genesis framework with one of their child themes... the featured content widgets should help you arrange something really close to what you're talking about (mix and match pages, sub cats, posts, excerpts, limit post, etc)... or at least give you a better idea how to explain the functionality.
 
thanks very much! Can I ask a stupid question regarding subcategories since you're obviously knowledgeable:

I have my permalinks as %category%/%postname% and this is working fine. if I navigate to domain.com/category I land on a page showing posts within that category as I'd imagine I would.

However- when I try the same with domain.com/category/subcategory it redirects to one of my 'pages' (not sure why it doesn't 404)

Can you clarify whether in using subcategories I should in theory be able to land on a page of domain.com/category/sub-category and have this page by default only display posts within this subcategory?

Before I dig and troubleshoot want to make sure I'm not trying to do something that requires hacking wordpress (since I very rarely use it!)

Thanks
 
Jesus christ son... make sense? No.

Try the genesis framework with one of their child themes... the featured content widgets should help you arrange something really close to what you're talking about (mix and match pages, sub cats, posts, excerpts, limit post, etc)... or at least give you a better idea how to explain the functionality.


yeah, I realize the solution is using categories/subcategories.

I'm using Thesis for this, just picked it up. My problem with wordpress is that I usually head towards hacking the php too quickly and find out that there is some stupid option radio I haven't ticked that's "known" to everyone who uses it.

<--- total wordpress no0b