Forum Replies Created

Viewing 15 posts - 61 through 75 (of 78 total)
  • Posted in:
  • adstream
    Member
    Post count: 85

    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.

    in reply to: One Page sections is offset in the mainmenu #148855
    adstream
    Member
    Post count: 85

    Nope, the problem still remains even if i delete all the content except for the rows. Please advise, im on a rather tight dl.

    in reply to: "Love" on recent posts carousel is not there #132126
    adstream
    Member
    Post count: 85
    This reply has been marked as private.
    in reply to: How to add a custom field in woocommerce checkout? #109571
    adstream
    Member
    Post count: 85
    This reply has been marked as private.
    in reply to: How to add a custom field in woocommerce checkout? #109426
    adstream
    Member
    Post count: 85

    Hi 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']));
    }
    
    ?>
    in reply to: Caching problem #79209
    adstream
    Member
    Post count: 85

    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!

    in reply to: Caching problem #79050
    adstream
    Member
    Post count: 85

    Thx Kyle! Youre the man!

    in reply to: Caching problem #79044
    adstream
    Member
    Post count: 85

    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,

    in reply to: Posts carousel width/margins #71489
    adstream
    Member
    Post count: 85

    Sorry but the problem remains. See attached image.

    in reply to: Posts carousel width/margins #71402
    adstream
    Member
    Post count: 85
    This reply has been marked as private.
    in reply to: Turning of responisve, menu get quirky #42891
    adstream
    Member
    Post count: 85

    Yes, we are:
    Here is the current url: http://nimbus.se.loopiadns.com
    Responsive mode is switched off.

    in reply to: Parallax video wont show in firefox… #41962
    adstream
    Member
    Post count: 85

    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,
    Richard

    in reply to: Responsive vs Fullwidth? #30309
    adstream
    Member
    Post count: 85

    Now Responsive is disabled. Thanks in advance!

    /R

    in reply to: Responsive vs Fullwidth? #29994
    adstream
    Member
    Post count: 85

    Hi Ed,

    Yes, its currenly enabled. Do you want me to turn it off?
    Thanks!

    /R

    in reply to: Responsive vs Fullwidth? #29841
    adstream
    Member
    Post count: 85

    Hello,

    Its long way from beeing finished, but here you go:
    http://nimbus2014.adstream.se/

    Kind regards,
    Richard

Viewing 15 posts - 61 through 75 (of 78 total)