Function js error - by toritran84 - on WordPress WooCommerce support

This topic has 19 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp

  • Avatar: toritran84
    toritran84
    Participant
    March 28, 2015 at 10:49

    please view clip.
    you will see my issue

    Please, contact administrator
    for this information.
    18 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 28, 2015 at 11:27

    Hello,

    Maybe provide screenshot for our better understanding and highlight what exactly you mean.

    Regards,
    Robert Hall.

    Avatar: toritran84
    toritran84
    Participant
    March 28, 2015 at 12:07


    please

    Avatar: Eva
    Eva Kemp
    Support staff
    March 30, 2015 at 18:39

    Hello,

    Sorry for a delay.
    We can’t log in to wp-admin panel as well as view your site because our IP was blacklisted.
    Are there any restrictions on a server at your host?

    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    March 31, 2015 at 15:50

    sorry, info admin in private form

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 16:39

    Hello,

    When the latest theme version 3.7 is activated there are no those errors.
    So you should use the latest version of the theme to avoid such errors and some other bugs.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    March 31, 2015 at 18:03

    how to use child theme with version 3.7 with my custom?

    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 18:38

    Hello,

    You need create child theme as described here http://codex.wordpress.org/Child_Themes and copy the files you modified into child theme folder.

    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    April 1, 2015 at 04:32

    my funtion not working in version 3.7

    Avatar: Eva
    Eva Kemp
    Support staff
    April 1, 2015 at 12:33

    Hello,

    What function are you talking about?
    Please clarify with more details.
    What changes did you make in the parent theme of old version?

    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    April 7, 2015 at 09:05

    in my theme, idstore idstore33 is old theme, with my custom as image

    with funtion:

    add_action(‘template_redirect’, ‘redirect_single_post’);
    function redirect_single_post() {
    if (is_category()) {
    global $wp_query;
    if ($wp_query->post_count == 1 && $wp_query->max_num_pages == 1) {
    wp_redirect( get_permalink( $wp_query->posts[‘0’]->ID ) );
    exit;
    }
    }
    }

    add_filter(‘single_template’, ‘check_for_category_single_template’);
    function check_for_category_single_template( $t )
    {
    foreach( (array) get_the_category() as $cat )
    {
    if ( file_exists(TEMPLATEPATH . “/single-category-{$cat->slug}.php”) ) return TEMPLATEPATH . “/single-category-{$cat->slug}.php”;
    if($cat->parent)
    {
    $cat = get_the_category_by_ID( $cat->parent );
    if ( file_exists(TEMPLATEPATH . “/single-category-{$cat->slug}.php”) ) return TEMPLATEPATH . “/single-category-{$cat->slug}.php”;
    }
    }
    return $t;
    }

    but with child theme new verion
    as image

    Avatar: Eva
    Eva Kemp
    Support staff
    April 7, 2015 at 10:11

    Hello,

    Do you mean sidebar is missing with a new theme version?

    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    April 7, 2015 at 11:53

    yes, i create sidebar in page:

    but it working in new version

    Avatar: toritran84
    toritran84
    Participant
    April 7, 2015 at 12:02

    i think, in future, your 8theme develop two sidebar, it useful in show many infomation.

    only edit

    <div class="<?php echo ($position)? 'span9':'span12'; ?>

    to

    <div class="<?php echo ($position)? 'span6':'span19'; ?>

    for center content.

    we have space span3 for left sidebar.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 7, 2015 at 13:30

    Hello,

    So, did you resolve the issue?

    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    April 7, 2015 at 14:19

    i can’t resolve, the funtion don’t working

    Avatar: Eva
    Eva Kemp
    Support staff
    April 8, 2015 at 14:35

    Hello,

    As I see sidebar on home page isn’t shown with IDStore 3.3 version.
    I’ve activated child theme and the same content is shown.
    Please note you mustn’t copy all files from the parent theme to the child theme folder. You should create style.css, functions.php as described in the tutorial http://codex.wordpress.org/Child_Themes and copy only the files that you modified in the parent theme.
    Please take our apologies but your query is still unclear.
    Please specify step by step what changes are made in the parent theme and aren’t visible in the child theme.
    Also you should keep only one parent theme (the latest theme version) to avoid any conflicts between 2 versions of IDStore theme.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: toritran84
    toritran84
    Participant
    April 8, 2015 at 15:38

    i had create a child theme, please go to wp-admin i give you.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 8, 2015 at 16:42

    Hello,

    I’ve seen the child theme before that’s why I told you

    you mustn’t copy all files from the parent theme to the child theme folder. You should create style.css, functions.php as described in the tutorial http://codex.wordpress.org/Child_Themes and copy only the files that you modified in the parent theme. Also you should keep only one parent theme (the latest theme version) to avoid any conflicts between 2 versions of IDStore theme.

    Please specify step by step what changes are made in the parent theme and aren’t visible in the child theme.

    Please remove old theme version to avoid conflict.

    Regards,
    Eva Kemp.

  • Viewing 19 results - 1 through 19 (of 19 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.