kickass
12-08-2005, 04:02 PM
To see what I'm trying to do you can look at the index page of my current site, Kickass Web Design (http://kickasswebdesign.com). If you look in the right hand column you'll see in the right hand column a link list of "Most Recent Articles" which is dynamically called from my wordpress blog in the following fashion:
This is what I have in the html/php document before ANYTHING else:
<?php
require_once("blogpath/wp-blog-header.php");
define('WP_USE_THEMES', false);
?>
And this is what I have in the right column in the layout place where I want the title link list to show:
<ul class="blogtitle"><?php wp_get_archives('type=postbypost&limit=5'); ?>[/list]
</div>
I wish to integrate this same treatment into a custom esyndicat template I'm building.
I thought about building a simple php file and calling it in but didn't quite know how to go about it, I'm no php whiz. I also thought about just throwing that top bit in the header.tpl and the other bit in a rightcol.tpl that I've created and called into my index.tpl, but it occurred to me it might screw everything up.
How best can I accomplish this? I didn't wanna muck about the esyndicat code without asking first.
This is what I have in the html/php document before ANYTHING else:
<?php
require_once("blogpath/wp-blog-header.php");
define('WP_USE_THEMES', false);
?>
And this is what I have in the right column in the layout place where I want the title link list to show:
<ul class="blogtitle"><?php wp_get_archives('type=postbypost&limit=5'); ?>[/list]
</div>
I wish to integrate this same treatment into a custom esyndicat template I'm building.
I thought about building a simple php file and calling it in but didn't quite know how to go about it, I'm no php whiz. I also thought about just throwing that top bit in the header.tpl and the other bit in a rightcol.tpl that I've created and called into my index.tpl, but it occurred to me it might screw everything up.
How best can I accomplish this? I didn't wanna muck about the esyndicat code without asking first.