• Hi,

    When I installed the plugin, both on live and local site, I get this issue with the “All Dowloads” page – it is full of posts/pages and broken things.

    See image: https://i.imgur.com/t2q9TIQ.jpg

    It kind of bugs out and shows all posts, search doesn’t work, drafts doesn’t appear in the list and page names sometimes appear as (no title) – any common thing I’ve missed? What could be the cause for this?

    Thanks,
    Alex

Viewing 1 replies (of 1 total)
  • Thread Starter Alexander Agnarson

    (@alxmedia)

    Solved via email support, awesome help. Thank you Andrea.

    The code that messed it up was:

    
    	function alx_custom_post_archive( $query ) {
    		if ($query->is_archive)
    			$query->set( 'post_type', array( 'code', 'themes', 'nav_menu_item', 'post') );
    		remove_action( 'pre_get_posts', 'alx_custom_post_archive' );
    	}
    	add_action( 'pre_get_posts', 'alx_custom_post_archive' );
    
Viewing 1 replies (of 1 total)
  • The topic ‘Broken “All Downloads” page’ is closed to new replies.