Tung Du
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Made a Domain Name change, Now my website is messed up.You need to replace domain from old to your new one in database. WordPress Codex has an great article about this already: https://codex.www.ads-software.com/Changing_The_Site_URL
Forum: Fixing WordPress
In reply to: SSL on domainIf you’ve already have a SSL certificate, you will need a Certificate file and Private key. Then you can go to your hosting settings to fill out those information. This can be vary due to your hosting you’re using.
This guide is for CPanel: https://www.siteground.com/tutorials/getting-started/install-a-certificate/
- This reply was modified 6 years, 5 months ago by Tung Du.
You can can enter your IP via WordPress.com by visiting My Sites → Settings → Security → Prevent brute force login attacks. (Whitelist Management Section (image))
Or you can whitelist your IP address by setting it as the JETPACK_IP_ADDRESS_OK constant in your wp-config.php like this: define(‘JETPACK_IP_ADDRESS_OK’, ‘X.X.X.X’);
Read more here: https://jetpack.com/support/security-features/#unblock
Forum: Plugins
In reply to: [W3 Total Cache] Disable on AMP pages@cybmeta:
I read your question again and I think you may set minify mode is manual.For me, I set auto mode for Minify, my AMP page doesn’t come with css from theme. But I come with another problem: the minifier auto stripped last semi-colon of css, so it breaks AMP validation. After I change CSS Minifier, my last semi-colons are kept in my minified HTML => AMP works!.
Sorry because of too quick answer. ??
Forum: Plugins
In reply to: [W3 Total Cache] Disable on AMP pagesFor me using Tidy CSS minifier solve my problem. It’s in option panel of W3 TC
Forum: Plugins
In reply to: [YITH WooCommerce Compare] Hide field if no valueI have a solution for this, It’s not very clean but it does the job.
Copy yith-woocommerce-compare/templates/compare.php to your-theme-folder/woocommerce/, edit before the line 116 and after line 143.
Before 116 ( before
<tr class="<?php echo $field ?>">
) insert this<?php $show_field = 0; foreach( $products as $i => $product ) : if( ! empty( $product->fields[$field] ) ) { $show_field = 1; } endforeach; if( $show_field == 1 ) : ?>
And dont forget to put this line to close if condition after
</tr>
( it’s formerly at line 143 )<?php endif; ?>
If you want more colors version, check this: https://dinhtung.info/hide-empty-fields-when-compare-products-in-woocommerce/
Happy coding!
Forum: Plugins
In reply to: [Yoast SEO] Installing 1.7.3.3 causes fatal errorFYI, I downgraded to 1.7.1 and problem had gone. Maybe we should wait until this is fixed
Forum: Plugins
In reply to: [Yoast SEO] Installing 1.7.3.3 causes fatal errorSame problem here! Does anyone have solved this?
Forum: Plugins
In reply to: [Custom Permalinks] Nginx conflictany thought?