Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter anitadash

    (@anitadash)

    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”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml”&gt;

    <head profile=”http://gmpg.org/xfn/11″&gt;
    <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>

    Thread Starter anitadash

    (@anitadash)

    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…’); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘rss feed works only on certain articles’ is closed to new replies.