Tom Nolan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Displaying all posts from a randomly selected tagthanks again and again! That’s it – spot on.
Page is running perfect!
Forum: Fixing WordPress
In reply to: Displaying all posts from a randomly selected tagpromise this is the last question…
is there a way to then exclude the last result on refresh, so I don’t get the same two tags back to back?
Forum: Fixing WordPress
In reply to: Displaying all posts from a randomly selected tagTHANK YOU!!!! That’s exactly what I needed.
Forum: Fixing WordPress
In reply to: Displaying all posts from a randomly selected tagBrilliant, thanks so much! Works a treat
I’ve replaced some of the code so now it’s displaying ‘the_content’ and I have deleted the posts per page so that it displays all the posts it finds.
Another aspect of the site is that I have all the posts split between the two authors – so for any given query there are two columns – one for one author, and the other for the second author. I can’t figure out with this random tag query how I can then split within that into authors – I have quickly duplicated the code to run it twice and added the query to specify the author to each, but this is obviously displaying two different tag results.
[code moderated - please use tha pastebin for any code over the forum limit of 10 lines]
Can I call the tag query, then within that call two authors into separate columns? Or do I do two loops with the first calling a random tag and the second taking that random tag from the first?
thanks again!
Forum: Fixing WordPress
In reply to: Displaying all posts from a randomly selected tagthanks for that, sorry to be slow, but how/where would I implement this? If i use it say on the tag.php page, should it just pick up a random post?
thanks again