ctuxboy
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Meteorite] Customizer issues?Hi @permaea and @terrathemes,
Thanks for the useful info.
I try now and it works! See screenshot…
https://www.dropbox.com/s/6js8l0dmxxjd8fm/Google%20Fonts%20settings.png?dl=0
Thanks for the very good support!
Forum: Themes and Templates
In reply to: [Meteorite] Customizer issues?At home now π
I made a screenshot, what i done:
https://www.dropbox.com/s/k807ycj8gddki31/google%20fonts%20setting.png?dl=0If i enable Google Fonts settings, then the website colors switch to the ‘default’ blue color.
Strange :-/
Forum: Themes and Templates
In reply to: [Meteorite] Customizer issues?Hi,
Yes i clear the cache.
Latest Chrome browser.
WP 4.7.3The issue came when i change the Google fonts in the customizer.
But maybe i do something wrong.
When disable the Google Fonts option in the customizer then all works perfect.
Sorry for my poor English.Btw nice theme π
Regards,
Christophe- This reply was modified 9 years, 4 months ago by ctuxboy.
Forum: Themes and Templates
In reply to: [Meteorite] Video in headerSolved π
Forum: Themes and Templates
In reply to: [Meteorite] Video in headerHi,
Yeah! i read the documentation and indeed it is possible.
Thanks for the info πRegards,
ChristopheForum: Localhost Installs
In reply to: #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’Hi,
Thats works also for me!
Awesome!Forum: Plugins
In reply to: [Simple Membership] Member statisticsHi mbrsolution,
No problem, with pleasure π
Here the code that i used. Maybe it can help others…
Customize and paste this code between the <head>-tags:
... <?php if(SwpmMemberUtils::is_member_logged_in()) { //if member is logged in show username, else show 'guest' global $current_user; get_currentuserinfo(); $visitor_username = $current_user->user_login; } else { $visitor_username = 'GUEST'; }?> <!-- Piwik trackingcode --> <script type="text/javascript"> ... _paq.push(["setCustomVariable", 1, "Members", "<?php echo $visitor_username; ?>", "visit"]); ... </script> <!-- End Piwik Code --> ...After that go to Piwik -> Visitors -> Custom variables or Piwik -> Visitors -> VisitorLogs in the Piwik dashboard and see all the usefull analytics stuff about your members.
Very handy π
Christophe
Forum: Plugins
In reply to: [Simple Membership] Member statisticsHi,
It works perfect with Piwik.
Now it tracks the users login name, browser type,… and all the other Analytics stuff.Adding custom variables and a little php for ‘echo’ the username in the Piwik trackingcode do the job π
For more info, how setup this code:
http://piwik.org/docs/custom-variables/Regards,
ChristopheForum: Plugins
In reply to: [Simple Membership] Member statisticsHi mbrsolution,
Oh okay.
I try then integrate Piwik analytics as solution.
Regards,
ChristopheOK, thanks.
Thats plan B: upload all the video’s to youtube or vimeo!- This reply was modified 9 years, 7 months ago by ctuxboy.
Hi @bedas,
I disable Types, but then some functions are dissapear.
I found out that not types are the problem, but the ‘heavy’ load for all the videos.Regards,
ChristopheForum: Plugins
In reply to: [WooCommerce] Some products only pickupOops! I didn’t try this snippet on a newer WC version, there my client wants no more the ‘local pickup’ class, so i removed it (stupid that i didn’t saved!). A time ago i remove this snippet, but i found a lot of very good and updated WC snippets from this website and helps me find out most WC problems:
https://businessbloomer.com/category/woocommerce-tips/But ni one of the last webshops i develop, adding this snippet:
/** * @snippet Hide one shipping option in one zone when Free Shipping is available * @compatible WooCommerce 2.6.1 */ add_filter( 'woocommerce_package_rates', 'wk_unset_shipping_when_free_is_available_in_zone', 10, 2 ); function wk_unset_shipping_when_free_is_available_in_zone( $rates, $package ) { // Only unset rates if free_shipping is available if ( isset( $rates['free_shipping:4'] ) ) { unset( $rates['flat_rate:2'] ); // shipping method with ID unset( $rates['service_point_shipping_method:8'] ); // shipping method with ID (BE) } return $rates; }This is not a solution for your problem, but this snippet is updated for the latetst WC version. What i want try to explain, if you look in this snippet, you see ‘id’ numbers, and thats new and can solve your problem (i think!). The ‘id’ numbers can you see in the HTML via the developer console from your browser.
Hope this brings you on an idea solving the problem?
(Oh my god, sorry for my poor english)
Christophe
Forum: Plugins
In reply to: [WooCommerce] Some products only pickupHi Ian,
Wow! Thats a few months ago. I’m searching in my archive where i saved my snippets (Google Keep), and find this code:
// Force pickup as a shipping option if one or more products in the ebshop is marked as pickup only. // To do this, add a shipping class with the slug 'pickup-only' then set products with that class as required. // Add this script to your theme's functions.php or similar. function hideShippingWhenPickupRequired($rates, $package) { foreach ($package['contents'] as $item) { $product = $item['data']; $shippingClass = $product->get_shipping_class(); if ('pickup-only' === $shippingClass) { // The cart requires pickup return array( 'local_pickup' => $rates['local_pickup'], ); } } return $rates; } add_filter('woocommerce_package_rates', 'hideShippingWhenPickupRequired', 10, 2);I hope this helps you.
Regards,
Christophe- This reply was modified 9 years, 7 months ago by ctuxboy.
Forum: Fixing WordPress
In reply to: Show latest post dateHi,
Thanks. Thats been useful.
My first option was for adding some code in the functions.php but i looking now in the repo’s.
Thank you.
Regards,
Christophe- This reply was modified 9 years, 7 months ago by ctuxboy.
Forum: Reviews
In reply to: [GeneratePress] Best theme ever!!!with pleasure Tom π