ctuxboy
Forum Replies Created
-
Forum: Plugins
In reply to: [WC Hide Shipping Methods] More than one free shipping methodHi,
I have the same question.
I found the code where adding the local_pickup:if ( ! empty( $new_rates ) ) { foreach ( $rates as $rate_id => $rate ) { if ('local_pickup' === $rate->method_id ) { $new_rates[ $rate_id ] = $rate; break; } } return $new_rates; }But can’t found how adding a ‘courier service’.
The problem: this is the ‘courier service’ is not a standard shipping method.Forum: Plugins
In reply to: [WooCommerce] Category: If no cat-img -> don’t show cat-image and descriptionForum: Developing with WordPress
In reply to: redirect urlOk, i understand.
Thanks for the info.Regards,
ChristopheForum: Developing with WordPress
In reply to: redirect urlHi keesiemeijer,
I read this reference, but can’t find how implement in the wp_die() function.
I try this:
wp_die('wp_redirect('path/to/html-file')
But doesn’t work.Forum: Plugins
In reply to: [Simple Membership] Member statisticsHi kmotoyama,
Glad that it worked!
Happy that i can help others with my code πRegards,
ChristopheForum: Plugins
In reply to: [Simple Membership] Member statisticsHi @kmotoyama,
I don’t use this plugin.
I’m adding the code in themes header.php, between the <head>…</head> tags.
After that (when your website has a visitor) look inside your Piwik Dashboard the variable (Members) automatic shows in your Piwik statistics.Forum: Plugins
In reply to: [Invoices for WooCommerce] Regenerate invoice numbers for this yearHi Bas,
Thank you very mutch.
Regards,
ChristopheForum: Themes and Templates
In reply to: [Meteorite] Disable topbar, sitebranding and mainmenuForum: Plugins
In reply to: [Invoices for WooCommerce] Regenerate invoice numbers for this yearHi,
Thanks for the answer.
Here my email: c.hollebeke@gmail.comRegards,
ChristopheForum: Themes and Templates
In reply to: [Meteorite] Customize header textHi @terrathemes,
Thats great!
So you can read in my previous answer to @permaea, your theme gives me inspiration and motivation π
Regards,
ChristopheForum: Themes and Templates
In reply to: [Meteorite] Customize header textHi @permaea,
Thanks for the compliment.
The pink color was a try πHappy that i can help you (and maybe others) with this snippet.
The underlined effect can you find on this website http://codepen.io/If you want this effect, paste it in your Child themes styles.css:
/*PRIMARY MENU UNDERLINE EFFECT*/ #main-nav li a:hover { color: #ffffff !important; } #primary-menu a:before, a:after { content: ''; position: absolute; width: 0%; height: 2px; bottom: -2px; background: #f0077b; } #primary-menu a:before { left: 0; } #primary-menu a:after { right: 0; background: #f0077b; transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1); } #primary-menu a:hover:before { background: #fff; width: 100%; transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); } #primary-menu a:hover:after { background: transparent; width: 100%; transition: 0s; } /*.PRIMARY MENU UNDERLINE EFFECT*/(If you want change the pink color, change this: #f0077b)
I have my own small webdesign business and the last months i found no inspiration for building my own website, but then finding this awesome Meteorite theme and gives me inspiration for start over a new website π
The last years working with several page-builders (Divi, Visual Composer,…), and for my personal experiences is SiteOrigins pagebuilder the best choice. Why i think that: it has not al the bells and wistles, but for the most websites it is more then enough! And very important it is a robust, lightweigt, and stable builder.
Forum: Themes and Templates
In reply to: [Meteorite] Customize header textHi,
Thanks to you, for the awesome support!
The positive review is with pleasure π
PS: Maybe this snippets can inspire or help other users.
Regards,
ChristopheForum: Themes and Templates
In reply to: [Meteorite] Customize header textHi,
I do little changes.
Adding the jQuery snippet in my child theme’s functions.php and hooked in the header:function custom_header_text() { if (is_page( 612 )) { // if page id = 612 (homepage) echo '<script>'; echo 'jQuery(function($) {'; echo 'var now = new Date();'; echo 'var hours = now.getHours();'; echo 'var msg;'; echo 'if (hours < 12) msg = "Goeiemorgen";'; echo 'else if (hours < 14) msg = "Goede middag";'; echo 'else if (hours < 18) msg = "Goede namiddag";'; echo 'else msg = "Goeie avond";'; echo '$(".header-image-heading").html(msg);'; echo '});'; echo '</script>'; } } add_action('meteorite_after_header','custom_header_text');Works perfect π
Forum: Themes and Templates
In reply to: [Meteorite] Customize header textHi,
Thats awesome π
Your support is amazing!
All your code works perfect!
I add some little php that only shows the greetings on the homepage:
<?php // When Homepage 612 (ID) is being displayed. if (is_page( 612 )) { echo '<script>'; echo 'jQuery(function($) {'; echo 'var now = new Date();'; echo 'var hours = now.getHours();'; echo 'var msg;'; echo 'if (hours < 12) msg = "Goeiemorgen";'; echo 'else if (hours < 18) msg = "Goede namiddag";'; echo 'else msg = "Goeie avond";'; echo '$(".header-image-heading").html(msg);'; echo '});'; echo '</script>'; } ?>See it in action on my homepage: https://webkust.be/
Regards,
Christophe- This reply was modified 9 years, 4 months ago by ctuxboy.
Forum: Themes and Templates
In reply to: [Meteorite] Customize header textHi,
In want edit 2 things in this section:
1. Adding a divider
2. On my website the first line shows ‘hallo’; i will change this text ‘by time’
Example: -in the morning: show ‘Good morning’, -in the afternoon: show ‘Good afternoon’,…That’s the reason why trying hook in the header section.