Digital experiences for all disciplines
Forum Replies Created
-
-
February 12, 2015 at 9:44 am in reply to: Link back to one-page in menu when im not on the one-page :-) #149312
another problem is that when i click on a menu item when i access the site with a mobile device, nothing happens. I have set up the mobile-menu exactly as I have done with the mainmenu. Please advise.
Nope, the problem still remains even if i delete all the content except for the rows. Please advise, im on a rather tight dl.
This reply has been marked as private.September 11, 2014 at 1:15 pm in reply to: How to add a custom field in woocommerce checkout? #109571This reply has been marked as private.September 11, 2014 at 7:22 am in reply to: How to add a custom field in woocommerce checkout? #109426Hi laranz,
If i put it in the parent theme functions.php everything gets blank which to me indicates there is something wrong in the php/code?
This is how my entire child-theme functions look like:
<?php /* * * Dante Functions - Child Theme * ------------------------------------------------ * These functions will override the parent theme * functions. We have provided some examples below. * * */ /** * Add the field to the checkout **/ add_action('woocommerce_after_order_notes', 'my_custom_checkout_field'); function my_custom_checkout_field( $checkout ) { echo '<div id="my_custom_checkout_field"><h2>'.__('My Field').'</h2>'; woocommerce_form_field( 'my_field_name', array( 'type' => 'text', 'class' => array('my-field-class form-row-wide'), 'label' => __('Fill in this field'), 'placeholder' => __('Enter something'), ), $checkout->get_value( 'my_field_name' )); echo '</div>'; } /** * Process the checkout **/ add_action('woocommerce_checkout_process', 'my_custom_checkout_field_process'); function my_custom_checkout_field_process() { global $woocommerce; // Check if set, if its not set add an error. if (!$_POST['my_field_name']) $woocommerce->add_error( __('Please enter something into this new shiny field.') ); } /** * Update the order meta with field value **/ add_action('woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta'); function my_custom_checkout_field_update_order_meta( $order_id ) { if ($_POST['my_field_name']) update_post_meta( $order_id, 'My Field', esc_attr($_POST['my_field_name'])); } ?>
Nevermind! The site is hosted on one.com which has this rediculous caching on as a default. I actually had to tell them to disable it and now it works. Sorry guys!
Thx Kyle! Youre the man!
I know, it dosent work even if I clear the cache. I have never had this problem with dante before either. But I dont have the time to investigate right now. Is there anyway to get the ‘filemtime’ into the functions.php? Something like this?
wp_register_style(‘sf-main’, . echo ‘?’ . filemtime(get_stylesheet_directory_uri() . ‘/style.css’, array(), NULL, ‘all’);
(Example above dosent work 🙂
Kind regards,
Sorry but the problem remains. See attached image.
This reply has been marked as private.Yes, we are:
Here is the current url: http://nimbus.se.loopiadns.com
Responsive mode is switched off.Hello again,
Do you have any tips for a program or a method to get high quality .ogg files? My .ogg files looks like q bad .gif rendering.
Kind regards,
RichardNow Responsive is disabled. Thanks in advance!
/R
Hi Ed,
Yes, its currenly enabled. Do you want me to turn it off?
Thanks!/R
Hello,
Its long way from beeing finished, but here you go:
http://nimbus2014.adstream.se/Kind regards,
Richard -
Posted in: Reply To: Responsive vs Fullwidth?