• Hi,

    I have three post formats i.e. standard, audio, and video in my post template. How can I remove video and audio and just keep standard as post format? Or just keep standard post format.

    I am using tagDiv composer and newspaper theme.

    Thanks.

    • This topic was modified 3 years, 8 months ago by jack_sparrow.
    • This topic was modified 3 years, 8 months ago by jack_sparrow.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This snippet fromhttps://wordpress.stackexchange.com/questions/65653/how-do-i-remove-the-post-format-meta-box

    <?php
    add_action('after_setup_theme', 'wpse65653_remove_formats', 100);
    function wpse65653_remove_formats()
    {
       remove_theme_support('post-formats');
    }
    Thread Starter jack_sparrow

    (@jack_sparrow)

    Thanks Steven. For now, I have selected the default standard format and hidden the post format box from the screen options.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Keep only standard post format’ is closed to new replies.