Forums

PHP included blog problem (1 post)

  1. szebenyi
    Member
    Posted 2 years ago #

    Hi, I've included a WP blog in my site, but the links, images, or any text formatting does not appear there properly, what could be the problem? Can anyone help please?

    The code I've used is:

    <?php
    require('news/wp-blog-header.php');
    ?>
    <?php query_posts('showposts=3'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><span class="newstitle"><?php the_title(); ?></span></a><span class="thetextmain"><?php the_excerpt(); ?></span>
    <?php endwhile;?>

    and the site is: http://www.a-man.hu/index2.php

Topic Closed

This topic has been closed to new replies.

About this Topic