Skip to main content



/* * * * * * * * * * * Hide add to card buttons for certain products if in category slug = “not_for_sale” * * * * * * * * * * * function themepaint_custom_cart_buttons(){ $product = get_product(); if ( has_term( ‘not-sale-sale’, ‘product_cat’) ){ // removing the purchase buttons remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’ […]

update domain in wordpress using phpmyad...

update domain in wordpress using phpmyadmin   Enter the following SQL query: UPDATE wp_options SET option_value = replace(option_value, ‘’, ‘’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’;UPDATE wp_posts SET guid = replace(guid, ‘’,‘’);UPDATE wp_posts SET post_content = replace(post_content, ‘’, ‘’); UPDATE wp_postmeta SET meta_value = replace(meta_value,‘’,‘’); Replace with your current WordPress address and with your new WordPress address. Your table prefix […]

How to fix Unidentified Network in Windo...

How to fix Unidentified Network in Windows 10/8/7 At times, you may face an issue with the network connectivity when trying to connect to the network, where the error says “Unidentified network“. While no sure shot solution is available for this, we have compiled an exhaustive list of troubleshooting steps which could help. Please go through the entire list first and then decide […]

multiple ssls for sub domain in apache

multiple ssls for sub domain in apache If you have a Wildcard or Multi-Domain SSL Certificate all of the websites using the same certificate need to reference the same IP address in the VirtualHost IP address:443 section like in the example below: <VirtualHost> ServerName DocumentRoot /var/www/ SSLEngine on SSLCertificateFile /path/to/your_domain_name.crt SSLCertificateKeyFile /path/to/your_private.key SSLCertificateChainFile /path/to/DigiCertCA.crt </VirtualHost> <VirtualHost> ServerName […]

How to fix WordPress permalinks not work...

How to fix WordPress permalinks not working (Posts returning 404 error) I have spent a couple of hours today trying to fix WordPress broken permalinks for posts and categories and maybe other resources . All posts returned 404 errors when I changed the format of my links to the beautiful permalinks instead of classic links with the ugly series of id numbers . Please note […]

Create wordpress multisite

Create wordpress multisite

Create A Network Languages: বাংলা • English • Français • A Network 日本語 Português do Brasil • Português • Русский • ไทย • 中文(简体) • Español • (Add your language) WordPress includes the ability to create a network of sites by using the multisite feature. This article contains instructions for creating a multisite network. A multisite network can be very similar to your own personal version of End users of your network can create their own sites on demand, just […]