Please fix the bug in plugin file ns-frontend-edit-product.php line 38, Invalid key => “post_autor” Correct key => ‘author’ $args = Array( //filter for the get_posts() function ‘author’ => wp_get_current_user()->ID, ‘orderby’ => ‘post_date’, ‘order’ => ‘DSC’, ‘posts_per_page’ => -1, ‘post_type’=> ‘product’, );
Add product showing add product section, edit product shortcode showign list but when if click on the link of product name from the list, it is not showing any field, can you please provide the code for edit link so i can add this through custom code.
Hi I have been attempting to add images with the front end form but keep getting a fatal error Fatal error: Uncaught Error: Call to undefined function media_handle_upload() in /home/aslbg280/public_html/buybanskoproperty.com/wp-content/plugins/ns-add-product-frontend/inc/ns-frontend-add-product-add-image.php:17 Stack trace: #0 /home/aslbg280/public_html/buybanskoproperty.com/wp-content/plugins/ns-add-product-frontend/ns-frontend-add-product-page.php(506): ns_add_image(168) #1 /home/aslbg280/public_html/buybanskoproperty.com/wp-content/plugins/ns-add-product-frontend/ns-frontend-add-product-page.php(350): ns_save_product() #2 /home/aslbg280/public_html/buybanskoproperty.com/wp-includes/shortcodes.php(343): ns_add_prod(”, ”, ‘ns-add-product’) #3 [internal function]: do_shortcode_tag(Array) #4 /home/aslbg280/public_html/buybanskoproperty.com/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(ns\\-ad…’, ‘do_shortcode_ta…’, ‘[ns-add-prod…’) #5 /home/aslbg280/public_html/buybanskoproperty.com/wp-includes/class-wp-hook.php(287): do_shortcode(‘[ns-add-prod…’) […]