Viewing 1 replies (of 1 total)
  • Theme Author simplethemes

    (@simplethemes)

    Yes, anything is possible ??
    https://codex.www.ads-software.com/Post_Formats

    You could add the post formats you want to use to your child theme’s functions.php.

    add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );

    That example above merely adds the icon to the sidebar when adding/editing a post.

    To actually do something with the post format, you’d need to make the decision as to what it does.

    In your single.php, index.php, page.php or wherever you want to use it, you could add:

    if ( has_post_format( 'gallery' )) {
      //do something different here for gallery post types
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Useage of post formats’ is closed to new replies.