Go Back   5 Star Affiliate Marketing Forums > SEO, Blogging & Internet Marketing Forums > RSS Marketing & Blogging Forums

RSS Marketing & Blogging Forums Bloggers ask your blogging questions here

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-10-2007, 05:55 PM
positivecarry positivecarry is offline
5 Star Senior Member
 
Join Date: Sep 2007
Location: us
Posts: 184
Default getting wordpress to display only post titles

Hi everyone,

I did some research on how to get only your post titles displayed on a wordpress blog.
What I found was that I should go into my archives.php file and look for the line
Code:
<?php while (have_posts()) : the_post(); ?>
, then find the line
Code:
<?php the_content(__('Read more »'));?>
and replace it with
Code:
<?php the_excerpt() ?>
to bring up an excerpt of the blog. If I want to just have the title of the post come up this tutorial says to just eliminate the line
Code:
<?php the_content(__('Read more »'));?>
.

However, I am using WordPress Default 1.6 by Michael Heilemann, and I can find the
Code:
<?php while (have_posts()) : the_post(); ?>
, but I can not find the
Code:
<?php the_content(__('Read more »'));?>
line. Does anyone have any experience with this particular theme. Any help would be much appreciated , Thanks.

Last edited by Teli; 10-11-2007 at 02:00 PM. Reason: Escaped code so it displays properly
Reply With Quote
  #2 (permalink)  
Old 10-10-2007, 05:56 PM
positivecarry positivecarry is offline
5 Star Senior Member
 
Join Date: Sep 2007
Location: us
Posts: 184
Default Forum software deleted my code lines,

going to attempt a repost somehow.
Reply With Quote
  #3 (permalink)  
Old 10-10-2007, 08:06 PM
psp's Avatar
psp psp is offline
5 Star Member
 
Join Date: Nov 2006
Location: Santa Carla
Posts: 99
Default

Why do you want to post the title only?
Reply With Quote
  #4 (permalink)  
Old 10-11-2007, 02:04 PM
Teli's Avatar
Teli Teli is offline
5 Star Senior Member
 
Join Date: Nov 2005
Location: Florida
Posts: 385
Default

The archive.php file in the default WP theme uses <?php the_content() ?>.

Now, before you go editing any files, I highly recommend backing up the files you're modifying -- a quick copy/paste into the same folder should do the trick.

That said, I'm with psp on this. Why only display the title? It's not helpful to visitors who may happen across your blog archives -- they get a title, sure, but how descriptive are your titles? Having an excerpt or at least a basic description helps the visitors know exactly what they're in for by visiting that entry. Plus, it's helpful for improving your SEO of that specific category.

~ Teli

Last edited by Teli; 10-11-2007 at 02:06 PM. Reason: File correction
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Traffic 2 Your Blog - 7 Ways Affiliate Classroom RSS Marketing & Blogging Forums 21 11-02-2008 09:52 PM
Wordpress Comments Post Not Showing onlineniches RSS Marketing & Blogging Forums 4 06-03-2007 11:36 AM
The questions you should ask yourself before you make a post on your blog Vahid RSS Marketing & Blogging Forums 6 04-13-2007 01:38 AM
phpBay Lite Wordpress Plugin: Display eBay Auctions in Wordpress Edwin Affiliate and Webmaster Tools 1 03-21-2007 12:17 PM

All times are GMT -7. The time now is 01:19 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2007, Crawlability, Inc.
©2005 - 2008 Linda Buquet - 5 Star Affiliate Programs