Amrit,

Thank you for this - I have tried on my test blog (desktop) and got in a bit of a muddle; will try again.

Also I haven't yet worked out how I organise RSS...

Joseph  (Just going to get the address changed as my priority)


From: "Amrit"


Hi Joseph.

To display the titled link, create a file named (you don't need to but it'll come handy in future) "my-hacks.php" and store the following function in it and then save the file where all your Wordpress files are saved:

<?php
function get_recent_posts($no_posts = 15, $show_pass_post = false, $skip_posts = 0) {
global $wpdb, $tableposts;
$request = "SELECT ID, post_title FROM $tableposts WHERE post_status = 'publish' ";
if(!$show_pass_post) { $request .= "AND post_password ='' "; }
$request .= "ORDER BY post_date DESC LIMIT $skip_posts, $no_posts";
$posts = $wpdb->get_results($request);
$output = '';
foreach ($posts as $post) {
$post_title = stripslashes($post->post_title);
$permalink = get_permalink($post->ID);
$output .= '<li><a href="' . $permalink . '" rel="bookmark" title="Permanent Link: ' . $post_title . '">' . $post_title . '</a></li>';
}
echo $output;
}
?>

Then go to your admin area, click Options and then Miscellaneous. Check the option "Use legacy |my-hacks.php| file support" if it is not already checked. Save the option, and then use the function wherever you want to.

Regarding your RSS feeds, they too must be in the same directory followed by /feed/rss/ (or rss2).

Amrit
http://www.aboutwebdesigning.com

Joseph Harris wrote:
Some things take a long time. I have now set up a blog based on Wordpress at http://www.looperman-is-ready.com/wordpress/index.php

1. Can you have a look and give a general comment.
2. Add a comment and so confirm registering works
3. Return to check it you are still registered
3. Is there a way to put article titles in r/h column?
4. Is there a way to substitute or add to 'Wordpress' in login page
5. Where do I look for instructions on facilitating RSS links [The codex needs its own degree; it is good, but a-maze-ing]
6. Any other kind advice.

Joseph

Joseph Harris
toilet humor about the toilet
http://www.Looperman-is-ready.com
http://www.smilepoetryweekly.com
(family friendly humour)


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to