Tagged: , ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1434727

    I am trying to use video and standard format to differentiate post type within functions.php. Can you tell me how to do this?
    Is there an is_format(‘video’) or something?
    I could also use categories, but not using the format bit for anything else, so that would be less problematic — if it is possible?!?

    Thanks in advance for your always helpful advice.

    #1434728

    Can you try:

    if( has_post_format( 'video' )) { 
       // do something
    }

    Don’t know if this will work – but no harm in trying

    #1434729

    Zippity doo dah! Yepper! It worked! Thanks so much for your help…Please save this beautifully answered question!
    And have a great night…wherever you are!

    #1434734

    Hi,

    Good to know that @Guenni007 was able to help you out! Please don’t hesitate to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How tell if is video format in functions.php’ is closed to new replies.