Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #508076

    Hey there

    I get an error from my accordion slider, for some reason. Why may this be?

    “Notice: Undefined property: stdClass::$ID in /home/itsoncra/public_html/development/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 575”

    Tried to fiddle with the settings, but nothing seems to help.

    http://development.itsoncraft.com/shop/

    Thanks

    #508553

    Hi Emilvillumsen!

    Can you send us a WordPress login? We would like to check your slider settings. Perhaps there is a value not being set correctly.

    Regards,
    Elliott

    • This reply was modified 9 years, 2 months ago by Elliott.
    #510694

    Hi Eliott,

    #510956

    Hey!

    did you make any customizations on the theme files?
    Please delete all theme files via FTP and get a fresh copy from your themeforest account afterwards, because it seems that there are some corrupted theme files.

    Cheers!
    Andy

    #510982

    It’s not really an option to make a reset of Enfold, I would consider that too dangerous close to our launch :/ .

    I made a child theme with many custom css lines. Don’t see any that should interfere negatively with the accordion, though. Didn’t touch that one specifically.

    I made a few lines in the functions.php and added a custom 404.php. No changes to the theme files besides that.

    These are the lines in the child theme functions.php:

    <?php
    
    /*
    * Add your own functions here. You can also copy some of the theme functions into this file. 
    * WordPress will use those functions instead of the original functions then.
    */
    
    /* 
    REMOVES KRIESI LINK IN THE SOCKET
    */
    
    add_filter("kriesi_backlink","new_link");
    function new_link(){
    $kriesi_at_backlink = "";
    return $kriesi_at_backlink;
    }
    
    /* 
    REMOVES IMAGE FILE NAME ON HOVER LANDING PAGE HOTSPOTS
    */
    
    function add_custom_tooltip(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('a').removeAttr('title');
    jQuery('img').removeAttr('title');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_tooltip');
    
    /* 
    PLACES SEARCH IN HAMBURGER MENU ON MOBILE
    */
    
    add_filter( 'wp_nav_menu_items', 'avf_add_search', 3, 2 );
    function avf_add_search( $items, $args ) {
    	if ($args->theme_location == 'avia')
    	{
    		$search = '<li id="menu-item-search-mobile" class="menu-item menu-item-type-post_type menu-item-object-
    
    page current-menu-item page_item page-item-18 current_page_item menu-item-top-level menu-item-top-level-
    
    5">'.get_search_form(false).'</li>';
    		$items = $search . $items;
    	}
    	return $items;
    }
    
    /* 
    ALLOWS US TO SET A CUSTOM SHOP PAGE
    */
    
    add_theme_support( 'avia_custom_shop_page' );
    
    
    #511315

    Hey!

    you won’t loose any settings when deleting all theme files via FTP, as they are stored on the database. However, make sure to have a backup. Let us know when you are done with it and still have this issue.

    Cheers!
    Andy

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.