[resolved] Mini Loop on Static Page - links fail (4 posts)

  1. damnrobert
    Posted 10 years ago #


    I have recently began using WordPress (see: Noob) and have created a blog that uses a static front page and incorporates a the WordPress mini loop.

    My problem is that links to the posts shown in the mini loop all seem to point back to my static home page.

    the site is located at

    Can anyone offer any suggestions?

  2. moshu
    Posted 10 years ago #

    I don't know what do you call the "mini loop" but probably there is something wrong with that code.
    Otherwise - from monthly archives, clicking on the same post's title I can get to the single view of the post.

    However, there are layout problems in archive and single view.

  3. damnrobert
    Posted 10 years ago #


    I solved the problem with the mini-loop links. The mini-loop is a list of post titles only. It is referenced as "mini-link" here...

    The problem was that in order to create a static front page I had moved my index file to a new folder. I needed to change to code to also go to that new folder.

    I changed the code provided on the above link from

    href=\"index.php?p=%s\">%s", $np->ID,$np->post_title);


    href=\"index\?p=%s\">%s", $np->ID,$np->post_title);

  4. roccanet
    Posted 9 years ago #

    take a look at my tutorial code to pull wordpress 2 page excerpts (or post titles or whatever post data you want) onto an external page - this might help you solve your problem. i found the "loop" mechanism to be very fussy when you have actually integrated a WP blog into an existing site with an external front page.

Topic Closed

This topic has been closed to new replies.

About this Topic