damnrobert
Member
Posted 5 years ago #
Hello,
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
http://www.bcid.com
Can anyone offer any suggestions?
Thanks.
Rob
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.
damnrobert
Member
Posted 5 years ago #
Hi,
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...
http://codex.wordpress.org/Creating_a_Static_Front_Page#Static_Page_with_Mini-Loop
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);
}?>
to
href=\"index\?p=%s\">%s", $np->ID,$np->post_title);
}?>
roccanet
Member
Posted 5 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.