Tweaking and pasting the loop into single.php – Please help!
-
Dear all,
I’m currently putting together a website at https://www.treacletheatre.co.uk/portfolio/susanne/ and need some help tweaking the php files. It runs on the wpshower imbalance theme. All content is just for testing at the moment.I would like the loop that appears on the start/home page to appear underneath the single pages. I’ve tried copy and paste but only the post I am currently on appears. I can’t figure out what I should change in the loop so that all the posts show up. I could give them all the same category if that helps. Here’s the code. The first bit is for the single page (the original single.php), then after ‘Portfolio’ you get the loop from index.php.
Any help greatly appreciated!
Kaspar
[code moderated – please use the pastebin]
The second issue is probably a CSS issue. The roll-over text for the thumbnail in the index.php loop that I have copied under the single post aligns itself with the content of the single post rather than the main body. Do I need to add another class or is there another way of sorting this?
- The topic ‘Tweaking and pasting the loop into single.php – Please help!’ is closed to new replies.