Home › Forum › Problemi Vari con WP › inserire il footer del blog in una pagina esterna
-
AutorePost
-
-
10 Aprile 2007 alle 15:30 #3570neoxytyPartecipante
Salve a tutti
ho creato un sito con abbinato il blog WB – sono 2 entita separate – sul server il blog è in una cartella “blog”.
Vorrei utilizzare il footer del “blog” che contiene gli ultimi post pubblicati nel BLOG nella “home” del sito esterno.
Ho inserito il codice PHP del footer WP nel footer della home del sito che utilizza lo stesso CSS,
ma non riesco a fargli leggere i dati del BLOG che sono in una sottocartella “BLOG”.
Cosa devo fare?
Cosa devo inserire nel codice PHP inserito nel footer della home per arrivare ai dati di Wp che mi servono?
Si può avere un’aiuto – non sono molto esperto e le ho provate tutte…
Vi ringrazio
-
10 Aprile 2007 alle 15:43 #44258neoxytyPartecipante
questo è il codice della pagina
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ />
<title>aaaaaaaaaaaaaa</title>
<link type=”text/css” rel=”stylesheet” href=”style_test.css”>
</head>
<body>
<div id=”page”>
<div id=”content”>
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0″ width=”900″ height=”600″ title=”aaaaaaaaaaaa”>
<param name=”movie” value=”intro.swf”/>
<param name=”quality” value=”high”/>
<embed src=”intro.swf” quality=”high” pluginspage=”http://www.macromedia.com/go/getflashplayer” type=”application/x-shockwave-flash” width=”900″ height=”600″></embed>
</object></div>
<div id=”footer”>
<div class=”left-col”>
<h4>Post Recenti</h4>
<ul class=”recent-posts”>
<?php c2c_get_recent_posts(4); ?>
</div>
<div class=”left-col”>
<h4>Commenti Recenti</h4>
<ul class=”recently-commented”>
<?php c2c_get_recently_commented(3); ?>
</div>
<div class=”right-col”>
<h4>Informazioni</h4>
<p>Benvenuti nel mio Blog. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis.</p>
<p>Se Hai bisogno di informazioni/contact/”>contattami.</p>
</div>
<hr class=”clear”/>
</div><!–/footer –>
</div><!–/page –>
<div id=”credits”><span class=”alignleft”>Powered by WordPress | Theme by ACMMEDIA sas</span> <span class=”alignright”>” class=”rss”>Entries RSS” class=”rss”>Comments RSS</span></div>
<?php wp_footer(); ?>
</body>
</html>
-
11 Aprile 2007 alle 7:32 #44270neoxytyPartecipante
nessuno ha un’idea da suggerirmi…
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.