GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress People: How Do I display post titles on my home page? (https://gfy.com/showthread.php?t=798302)

donkevlar 01-09-2008 12:51 AM

Wordpress People: How Do I display post titles on my home page?
 
I have a full blog setup for my news section, and I want to put the latest headlines on the home page, which is not a blog... What's the easist way to do this? :helpme

donkevlar 01-09-2008 04:52 PM

Is this thing on?

dav3 01-09-2008 05:15 PM

Change the home page to you blog posts page. That's the only thing I can think of. But I'm no blog master.

Bump for you though.

TheSenator 01-09-2008 05:17 PM

Thank me later...

http://wp.uberdose.com/2007/03/24/all-in-one-seo-pack/

TheDoc 01-09-2008 05:20 PM

Add the query posts showposts, to force the number of excerpts to display, allowing you to be different than the main blog.

Code:

<?php query_posts('showposts=6'); if (have_posts()) : while (have_posts()) : the_post(); ?>
this creates an excerpt post on any template
Code:

<?php echo strip_tags(apply_filters('the_content', get_the_excerpt())); ?>

Angry Jew Cat - Banned for Life 01-09-2008 05:21 PM

i had a custom script written for me that pulls the title from my rss feed. you should be able to get a coder to whip something up that'll fit your needs for relatively cheap...

TheDoc 01-09-2008 05:21 PM

You don't have to include the excerpt, if you want just use the permalink title call then wrap it in the have posts line with how many showposts you want.

teg0 01-09-2008 07:11 PM

There are a lot of docs on how to include things on a page outside of the wordpress loop.

It can also be done parsing the xml.


All times are GMT -7. The time now is 03:23 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123