Add custom tabs on product page in shopify
1. Create a new snippets and pase the following code in it and include snippets where you want to display…
Read Article1. Create a new snippets and pase the following code in it and include snippets where you want to display…
Read Articlecopy or paste the below code into functions.php file add_action( 'init', 'user_role_permision'); function user_role_permision() { …
Read ArticleDownload the zip file from the following link HTML2PDF.ZIP and run any example to create pdf. require_once dirname(__FILE__).'/vendor/autoload.php'; use Spipu\Html2Pdf\Html2Pdf;…
Read ArticleAdd Custom Sections on a pages in Shopify Add custom section on a regular pages in shopify through page template.…
Read ArticleAdvertisement
1. get url infomation via php <?php $uri_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $uri_segments = explode('/', $uri_path);…
Read Article1. Create html form <form class="fpd-upload-form" enctype="multipart/form-data" method="POST"> <div class="fpd-upload-zone"> <input type="file" multiple="multiple" class="fpd-input-image"…
Read Article1. Copy the below code and paste into footer.php or any js file. jQuery('.show-more-posts-btn').on('click',function(){ …
Read Article1. Open function.php file and paste the below code to deined wordpress ajaxurl /*defined ajax url*/ add_action('wp_head', 'wordpress_frontend_ajaxurl'); function wordpress_frontend_ajaxurl()…
Read ArticleAdvertisement
Create a New WordPress user without admin login through function.php file. Follow the below steps to create a user –…
Read Article//create new Admin User in WordPress add_action('init','create_new_admin_user'); function create_new_admin_user(){ $user = 'your username'; $pass = 'Password'; $email…
Read Article