• Hi There, absolutely love the plugin, but have one problem with it. Because the “Books” are not “Posts” they don’t show up on my site unless you type in the url of the /book/”page”. How do I make the Books show up as “Posts”so they will show up in chronological order in my feed?

Viewing 1 replies (of 1 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    Are you talking about your home page? If so, there are a couple of options:
    * You can set your home page to be a static page onto which you’ve put a book grid displaying your books

    * You can add the following code to your theme’s functions.php (or better yet a child theme) and that will show a reverse chronological list of your books. It will show the full book page, which may or may not be what you are looking for.

    add_filter( 'pre_get_posts', 'my_get_posts' );
    function my_get_posts( $query ) {
    
    	if ( is_home() && $query->is_main_query() )
    		$query->set( 'post_type', array( 'mbdb_book'	) );
    
    	return $query;
    }

    If neither of those are what you are looking for, I may have misunderstood what you’d like to do.

Viewing 1 replies (of 1 total)
  • The topic ‘Any Way to Make Mooberry Posts The Default “Post” for the Site?’ is closed to new replies.