not working with ED...
 
Notifications
Clear all

[Solved] not working with EDD

3 Posts
2 Users
0 Likes
1,287 Views
(@eg-h9)
New Member
Joined: 5 years ago
Posts: 3
Topic starter  

hi
wpdiscuz not showing in Easy digital download plugin

i use shortcode will not work because JS and CSS files are not loaded. i use manul code

function my_wpdiscuz_shortcode() {
if (file_exists(ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php')) {
ob_start();
include_once ABSPATH . 'wp-content/plugins/wpdiscuz/templates/comment/comment-form.php';
return ob_get_clean();
}
}
add_shortcode('wpdiscuz_comments', 'my_wpdiscuz_shortcode');
index

The edd option in post type does not showing

index

https://wordpress.org/support/topic/not-working-with-edd/#post-11905761

 


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

Hi @eg-h9,

Thank you for using wpDiscuz and for contacting us.

Please follow the steps to get it resolved

1. Put the following code in your active theme functions.php file:

function myprefix_edd_download_supports( $supports ) {
$supports[] = 'comments';
return $supports;
}
add_filter('edd_download_supports', 'myprefix_edd_download_supports');

2. Once you add that code and visit the “edit download” page in the WP admin, you will see the “Discussion” options where you should enable comments:

3. Finally, navigate to Dashboard > Comments > Forms, edit the Default Form make sure it's enabled for all post types, save it, then do Ctrl+F5 (twice) on front-end.

All customizations you've done before should be removed. 


   
ReplyQuote
(@eg-h9)
New Member
Joined: 5 years ago
Posts: 3
Topic starter  

Thank you for your interest
Now working

thanks

This post was modified 5 years ago by eg.h9

   
ReplyQuote
Share:
Scroll to top