Hola a tod@s,
Bueno tengo el siguiente código:
Código PHP:
<?php require_once( '../../../wp-load.php' );
header("Content-type: text/xml");
echo '<?xml version="1.0" encoding="UTF-8" ?>
<Piecemaker>
<Settings>
<imageWidth>900</imageWidth>
<imageHeight>300</imageHeight>';
echo '<segments>6</segments>';
echo '<tweenTime>2</tweenTime>';
echo '<tweenDelay>0.1</tweenDelay>';
echo '<tweenType>easeInOutBack</tweenType>';
echo '<zDistance>200</zDistance>';
echo '<expand>3</expand>';
echo '<innerColor>0x292D34</innerColor>';
echo '<textBackground>0x292D34</textBackground>';
echo '<textDistance>5</textDistance>';
echo '<shadowDarkness>100</shadowDarkness>';
echo '<autoplay>3</autoplay>';
echo '
</Settings>';
?>
<?php
$gldcat = get_option('woma_gldcat');
$gldct = get_option('woma_gldct');
$my_query = new WP_Query('category_name='.$gldcat.'&showposts='.$gldct.'');
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID;
?>
<?php $preview = get_post_meta($post->ID, 'slider_value', $single = true) ?>
<Image Filename="<?php echo $preview; ?>">
<Text>
<headline><?php the_title(); ?></headline>
<break>.</break>
<paragraph><?php the_content_rss('', TRUE, '', 40); ?></paragraph>
<break>.</break>
<inline> <a href="<?php the_permalink() ?>"> Leer más </a></inline>
</Text>
</Image>
<?php endwhile; ?>
<?php wp_reset_query(); ?>
<?php echo '</Piecemaker>'; ?>
El tema es el siguiente, este código añade un trozo de texto de una entrada de wordpress y debajo de ese texto el enlace "Leer más" que podeis ver en el mismo código, pero el problema es que las letras que llevan tilde no aparecen.
Un poco de ayuda por favor, gracias y saludos.