Skip to content

Tag: wordpress

Save CSV Export to Server

I have the code below which triggers when a button is pressed in the WordPress admin panel. This opens a csv file called ‘ss-stock-export.csv’. How can I save this file to my server in my uploads directory at wp-content/uploads/exports/? I tried to use file_put_contents but that doesn’t seem…

WordPress functions.php child theme

Actually i’m building a Website using WordPress, everything work, but now I need to add some change inside of the functions.php, the original one in the parent folder, so how should I do ? Is it possible to copy everything inside of the functions.php child theme and then add changes ? I don’t want…

WooCommerce 3.x – Hide category of product

I would like to know if anyone has a clue on how to hide a specific product category all around my website. Means on the “shop”, “related product” and the “search” of my WordPress WooCommerce website. For the “shop” pages I have done (and it’s working) the…