here. perhaps it isnt the fine art of any coding rule... but it works fine on my site.
on index.php insert:
in der index.php datei folgendes hinzufügen:
### BLOG Einträge
$wordpress_sql_statement = "SELECT id,post_title,guid FROM wp_posts WHERE post_status='publish' ORDER BY id DESC LIMIT 8";
$wordpress_sql1 = $site_db->query($wordpress_sql_statement);
$wp ="<ul class=\"bullet\">";
while ($row_wordpress = $site_db->fetch_array($wordpress_sql1)){
$wp .= "<li class=\"bullet\"></li><li><a href=\"".$site_sess->url($row_wordpress['guid'])."\" target=\"_blank\">".$row_wordpress['post_title']."</a></li><br>";
}
$wp .="</ul>";
$site_template->register_vars("wordpress", $wp);
unset($wp);
### BLOG Einträge Ende
on your home.html template insert anywhere follwing:
in dem home.html template irgendwo wo ihr wollt dann dies einfügen:
<h2>Neuste Blogs / Newest Blogs</h2>{wordpress}
and at the end, create an html template: wordpress.html
zu guter letzt, erstellt ein html template: wordpress.html
in wordpress.html insert follwing:
in wordpress.html folgendes einfügen:
{wp_title}
ready/fertig & gruß