WordPress.org

Ready to get started?Download WordPress

Forums

rss feed works only on certain articles (3 posts)

  1. anitadash
    Member
    Posted 8 years ago #

    hey guys... kinda newbie here
    does anyone have an idea of why i can get the full article here:
    http://usuarios.lycos.es/anitadash/wordpress/?p=16
    but not here?:
    http://usuarios.lycos.es/anitadash/wordpress/?p=18

    ah, dont mind the ugly layout ;)

  2. anitadash
    Member
    Posted 8 years ago #

    oh, here's the index.php code...

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name="generator" content="Microsoft FrontPage 5.0" /> <!-- leave this for stats -->

    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_get_archives('type=monthly&format=link'); ?>
    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>-->
    <style type="text/css" media="all">
    @import url( <?php bloginfo('stylesheet_url'); ?> );

    </style>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    </head>

    <img src="main.jpg" style="position:absolute;top:0px;left:0px;background-color:lavender" alt="Think About">
    <div id="topo"> </div>

    <span id="menu1"><?php include('menu1.php');?></span>

    <span id="conteudo">

    <h2>"><?php bloginfo('name'); ?>>
    <?php single_cat_title(); ?> - <i><?php echo category_description(); ?></i>

    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>

    <?php the_date('','',''); ?></h2><br>

    <span id="post-<?php the_ID(); ?>">
    " rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?>
    <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(); ?> </span><b>categoria:</b> [<?php the_category('>') ?>]

    <?php the_content('clique para ver o resto...','1',''); ?>

    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comentários (0)'), __('Comentários (1)'), __('Comentários (%)')); ?><br><br>

    <!--
    <?php trackback_rdf(); ?>
    -->

    <?php comments_template(); ?>

    <?php endforeach; else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    <?php endif; ?>

    <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by WordPress"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform")); ?></cite>

    </span>
    </body></html>

  3. anitadash
    Member
    Posted 8 years ago #

    hehe i fixed it.
    changed the loop to 1.5;

    and turned
    <?php the_content('clique para ver o resto...','1',''); ?>

    into

    <?php the_content('clique para ver o resto...'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags