Denediğim kodlar:
<?php
include "/home/site/public_html/wp-config.php";
mysql_query("SET NAMES 'latin5'");
mysql_query("SET CHARACTER SET latin5");
mysql_query("SET COLLATION_CONNECTION = 'latin5_turkish_ci'");
$my_query = new WP_Query('cat=15, 14, 13, 10, 8, 7, 6, 5&showposts=3');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
<?php endwhile; ?>Diğer sitede yazdırmak için de:<?php include "http://www.site.com/yazilar.php"; ?>Dosyayı direkt çalıştırdığım zaman son eklenen 3 yazı sorunsuz gözüküyor fakat diğer siteye include ile eklediğim zaman bu dosyayı, hiçbir şey gözükmüyor.
Sorun nerede sizce?
