Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    This can be done in a couple of different ways. It depends on what part of your site you’re referring to.

    The first way is the single download page itself. When you created a new Download entry from your WordPress dashboard, that entry got its own front-end page. And if that’s what you’re referring to, the way the content is structured depends 100% on your theme. Most themes will show the name, description, and purchase link automatically. The thumbnail is not always guaranteed as its important that the theme supports the display of featured images.

    The other way this content is shown is from the [downloads] shortcode. https://docs.easydigitaldownloads.com/article/224-downloads There are parameters available in that shortcode that control how the product presentation is structure. You can use the [downloads] shortcode in your content on page post or page and control the display of this information.

    Note: Make sure you always use the Featured Image setting to upload a thumbnail for your ebook. Placing an image directly in the content will not display the same in either approaches I mentioned above.

    Thread Starter amisha2891

    (@amisha2891)

    But thr is no feature image upload option?

    That would be controlled by the theme. If you go to add a new post, is there a Featured Image option there?

    Thread Starter amisha2891

    (@amisha2891)

    yes when I use add new post then it shows Featured Image

    but whenever I go to Downloads>Add New —> thr is no such option

    Sorry for the delay here. Try adding the following code to a custom plugin:

    /**
     * Enables the Featured Image meta box in Download edit screen.
     */
    function sd_add_thumbnail_support_downloads() {
    	add_post_type_support( 'download', 'thumbnail' );
    }
    add_action( 'init', 'sd_add_thumbnail_support_downloads' );

    If you need help creating a custom plugin, Pluginception is the perfect tool.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to show thumbnail of the E-book’ is closed to new replies.