Title: waylow's Replies | WordPress.org

---

# waylow

  [  ](https://wordpress.org/support/users/waylow/)

 *   [Profile](https://wordpress.org/support/users/waylow/)
 *   [Topics Started](https://wordpress.org/support/users/waylow/topics/)
 *   [Replies Created](https://wordpress.org/support/users/waylow/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/waylow/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/waylow/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/waylow/engagements/)
 *   [Favorites](https://wordpress.org/support/users/waylow/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get 2 posts inside another? (or any better ideas)](https://wordpress.org/support/topic/get-2-posts-inside-another-or-any-better-ideas-1/)
 *  Thread Starter [waylow](https://wordpress.org/support/users/waylow/)
 * (@waylow)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/get-2-posts-inside-another-or-any-better-ideas-1/#post-1515604)
 * cheers, got it working
 * thanks for the help.
    (I was doing something stupid on my end)
 * any advice on making this a function – where do I start reading?
    (is that turning
   it into a plug-in?)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get 2 posts inside another? (or any better ideas)](https://wordpress.org/support/topic/get-2-posts-inside-another-or-any-better-ideas-1/)
 *  Thread Starter [waylow](https://wordpress.org/support/users/waylow/)
 * (@waylow)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/get-2-posts-inside-another-or-any-better-ideas-1/#post-1515548)
 * All the comics have the same cat but I created a unique tag for each comic (so
   I don’t have to have 200 categories)
 * If I leave it as cat=# to test – I can see the “Your HTML code here”
    if I change
   it to a cat that exists – the “Your HTML code” disappears
 * and because I want to use tag in place of cat
    I changed it tag=# – I can see
   the “your HTML” I change it to the unique tag – I can’t see the “your HTML” bit
 * I have also tried this code outside a post (in the index.php file) with the same
   result
 * something isn’t working but I’m not sure what it is
    (I have also tried to remove
   the $comicFeature part of the the code to see if it was interfering)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get 2 posts inside another? (or any better ideas)](https://wordpress.org/support/topic/get-2-posts-inside-another-or-any-better-ideas-1/)
 *  Thread Starter [waylow](https://wordpress.org/support/users/waylow/)
 * (@waylow)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/get-2-posts-inside-another-or-any-better-ideas-1/#post-1515347)
 * thanks for the help Frumph,
 * this is a little bit above my knowledge level at the moment but I know I will
   get my brain around it.
 * I would like to turn this into a short-code function – but only after I get it
   working
    then I can figure out how to turn it into short-code
 * so the code you have written is a loop, right?
    and this loop meant to go inside
   the “event” post (the one that the event calendar creates)?
 * so how do I get this loop to to display the 2 posts I want it to display?
    as
   in where to I put the name of the MC tag to display the MC and where do I put
   the name of the Feature tag to display the feature (I have given each of the 
   comedians posts a unique tag)
 * cheers

Viewing 3 replies - 1 through 3 (of 3 total)