• Resolved Anointed

    (@anointed)


    I have a loop that shows an array of posts from multiple post_types.

    I simply want a check to say ‘if_post_type == “photogallery” ( do stuff) else (continue)

    This would allow me to style the photogallery posts within the loop different from the regular and other post_types inside the loop.

    This function does not work, but I can’t find a replacement function that allows this logic.

    Can someone point me in the right direction?

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘is_post_type() within the loop?’ is closed to new replies.