WordPress
Add below code in functions.php file.
Here is the example of adding products from front-end. woocommerce-add-product-from-frontednd
When you add your custom css or js into plugin it will reflect in whole WordPress dashboard. It’s easy solution for adding your css/js to your specific plugin only.
Add below code in fuctions.php file, it will add new tab in product detail page Now, Add below code in same functions.php file for disply page content
Here is the example of creating our own widget in WordPress back-end. Here is some of steps that helps you to build custom widget. Extend your class with WP_Widget Set…
Here is the example of ajax posts filter using ajax, points in sample plugin covers: Fetch sub-categories from main category Display posts on change main category dropdown Display posts on…
Step 1: Create a template file and paste below code into file. Step 2: Localize your script and paste below code into functons.php Step 3: Load More function for load…
For creating new post from front-end, you can use template and paste below code into functions.php file.