• Resolved macrosonges

    (@macrosonges)


    Hello, i found your plugin awesome, it’s do all i want… except the plugin !
    I want to shown randoms books and not an only book and i want to show the last books and not the only last book.
    This is not possible with your plugin so I search and found a lot of third parts plugins that’s do the job, but it’s still a problem, the thumbnail.
    Like you can see on my home page http://editionsdelattente.macrosonges.org/ with the third part widget (VI random post) on the left there is the last books without image, and on the right 2 randoms books without image (i have only two books for the moment in the DB, but i will put a lot).
    I put your widget on the left sidebar under the third part widget, and the image is here because it’s the cover and not the thumb.
    My question 🙂 how can i add in the mooberry’s post type “books” a field with the thumbnail fonction under the others (cover, illustrators, etc) maybe this a solution for my problem ? Or how can i modify your widget 😉 to show more than one books ?
    Thanks again for your plugin, i think it will save my life on this job if i can solve the widget problem…

    • This topic was modified 9 years, 6 months ago by macrosonges.
    • This topic was modified 9 years, 6 months ago by macrosonges.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    Ability to show more than one book is coming in a future update.

    As a temporary fix, to add the thumbnail/featured image, add the following code to your child theme or a custom plugin:

    add_filter('mbdb_book_cpt', 'mbdb_add_thumbnail');
    function mbdb_add_thumbnail( $args ) {
    	$args['supports'] = array( 'title', 'comments', 'author', 'thumbnail' );
    	return $args;
    }

    Note that you’ll have to add the cover twice: once for the cover so that the book page and book grids work, and once for the thumbnail so that the other widget works.

    Hope this helps.

    Thread Starter macrosonges

    (@macrosonges)

    Hello and thanks for your help, finaly i found a solution with VI random post, it’s work fine with mooberry, you must only choose “thumbnail” in the display option for the post, the previous issue was the result of a bad post transfer between woocommerce -> mooberry, no valid thumbnails are generated. I made a new one and i it’s work, so i have re-imported my images and reassign then to the book’s post.

    Plugin Author mooberrydreams

    (@mooberrydreams)

    Glad you were able to get it to work

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Widget limit’ is closed to new replies.