Remove post formats alltogether? (3 posts)

  1. JesperA
    Posted 5 years ago #


    When Custom post types was introduced i started to use that function alot, on my own personal site i added these post types: "Status", "Photo", "Gallery", "Video" and a couple more, i thought that was a great way to organize all the different types of posts on my site.

    It worked really great for some time, until WP introduced post-formats, and to make mathers worse, WP used the same name as i did, so, that means alot of stuff broke.

    The biggest issue is that pagination doesnt work at all, i have a meny with the same name as the post types, every page uses the corresponding Page template. So if i want to see all my "Status" posts i just go to "Status" in the meny, the problem is that only the first page works, when i go to page 2it shows nothing (because there is no Status post formats at all, just "Status" custom posts).

    Pretty annoying huh? Sure i can change my Pagename for the "Status" template to be "Statuss" instead of "Status", that way the pagination would work.

    But thats not pretty, i have tried doing this:

    Sure, the post-formats is removed but it still doesnt let me use a page with the name "Status" that works with pagination.

    So, can i disable the psot-formats in WP completly so the pagination works too?

  2. JesperA
    Posted 5 years ago #

    Anyone? This is really annoying!

  3. Mike Fowler
    Posted 4 years ago #

    Since this page indexes pretty high for a search on how to remove post formats in a child theme, here's the answer to your question:

    // Remove post formats support
    add_action('after_setup_theme', 'remove_post_formats', 11);
    function remove_post_formats() {

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.