New Landing How can we help? Themeforest Theme Support Dante Create child theme

Viewing 15 posts - 1 through 15 (of 21 total)
  • Posted in: Dante
  • #221197
    Jackcoldrick
    Member
    Post count: 84

    Hi guys,

    could you please advise on what I need to do in order to create a child theme of Dante v3.16? I’ve tried creating a directory called dante-child. I’ve placed following files in:

    – functions.php
    – style.css
    – index.php

    I then go to my site and enable the child theme and I get a blank white page when I view the home page.

    #221198
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You should check inside the Themeforest files, we already have there an empty child theme.
    Copying those files from the parent won’t work.

    -Rui

    #221254
    Jackcoldrick
    Member
    Post count: 84

    I was provided a dropbox link from Kyle to download version 3.16 and the downloaded file only had the parent theme and no child. Could you provide me with this?

    #221262
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can’t find it in my files at the moment, already asked a colleague to provide me one.
    The child theme never changes between theme updates.

    In the meantime the child theme is available in the TF files.

    When I get the child theme, will check the topic to see if you still need it.

    -Rui

    #221272
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #222219
    Jackcoldrick
    Member
    Post count: 84

    Hi Rui,

    Thanks for sharing that with me. I’ve downloaded the file and placed it in my wp-content/themes directory. I then go into my wordpress site and enable the Child theme. I see no features from Dante Parent theme and when I visit the homepage I still see a blank white screen. There is no PHP errors as I’ve WP_DEBUG, true in my wp-config.php File.

    Does it matter that I am attempting to use this child theme on a WordPress Multisite? I’m very confused.

    #222223
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Can you please provide me with a link and logins o I can look into it for you?

    – Kyle

    #222225
    Jackcoldrick
    Member
    Post count: 84

    The site is on my localhost so can’t provide access. It might help if I explain the structure:

    I have the Dante Parent Theme installed and it works fine when I enable it. I downloaded Ruis link and it contained the following

    – A folder called dante-child which contains 3 files:

    1. style.css
    2. functions.php
    3. screenshot.png

    I then enable the child theme on my site and nothing works. I get a blank screen.

    style.css only contains:

    /* LICENSE & DETAILS
       ==================================================
    
    	Theme Name: Dante Child Theme
    	Theme URI: http://dante.swiftideas.net
    	Description: A Retina Responsive Multi-Purpose WordPress Theme - Designed & Developed by Swift Ideas ( www.swiftideas.net )
    	License: GNU General Public License version 3.0
    	License URI: http://www.gnu.org/licenses/gpl-3.0.html
    	Template: dante
    	Version: 1.0
    	Author: Swift Ideas
    	Author URI: www.swiftideas.net
    
    	All files, unless otherwise stated, are released under the GNU General Public License
    	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
    
       ==================================================
    */
    
    /* --------------------------------------------
    	CHILD THEME CSS
    -------------------------------------------- */
    

    functions.php contains:

    <?php
    	
    	/*
    	*
    	*	Dante Functions - Child Theme
    	*	------------------------------------------------
    	*	These functions will override the parent theme
    	*	functions. We have provided some examples below.
    	*
    	*
    	*/
    
    	/* LOAD PARENT THEME STYLES
    	================================================== */
    	function dante_child_enqueue_styles() {
    	    wp_enqueue_style( 'dante-parent-style', get_template_directory_uri() . '/style.css' );
    	
    	}
    	add_action( 'wp_enqueue_scripts', 'dante_child_enqueue_styles' );
    		
    
    	/* REORDER PRODUCT TABS
    	================================================== */
    	function woo_reorder_tabs( $tabs ) {
    		$tabs['description']['priority'] = 25;
    		return $tabs;	
    	}
    	add_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );
    
    	/* REMOVE PAGE BUILDER ASSETS
    	================================================== */
    	/*
    	*	You can uncomment the line below to remove selected assets from the page builder
    	*/
    	
    	// function spb_remove_assets( $pb_assets ) {
    	//     unset($pb_assets['parallax']);
    	//     return $pb_assets;
    	// }
    	// add_filter( 'spb_assets_filter', 'spb_remove_assets' );	
    
    	
    //	function sf_blog_aux($width) {
    //		
    //		$blog_aux_output = "";
    //		$options = get_option('sf_dante_options');
    //		$filter_wrap_bg = $options['filter_wrap_bg'];
    //		$rss_feed_url = $options['rss_feed_url'];
    //		
    //		 		
    //		$category_list = wp_list_categories('sort_column=name&title_li=&depth=1&number=10&echo=0&show_count=1');
    //		$archive_list =  wp_get_archives('type=monthly&limit=12&echo=0');
    //		$tags_list = wp_tag_cloud('smallest=12&largest=12&unit=px&format=list&number=50&orderby=name&echo=0');
    //		$author_list = wp_list_authors('echo=0');
    //		
    //		$blog_aux_output .= '<div class="blog-aux-wrap row">'; // open .blog-aux-wrap
    //		$blog_aux_output .= '<ul class="blog-aux-options bar-styling '.$width.'">'; // open .blog-aux-options
    //		
    //		// CATEGORIES
    //		$blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="categories"><i class="ss-index"></i>'.__("Categories", "swiftframework").'</a>';
    //		
    //		// AUTHORS
    //		$blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="authors"><i class="ss-user"></i>'.__("Authors", "swiftframework").'</a>';
    //		
    //		// SEARCH FORM
    //		$blog_aux_output .= '<li class="search"><form method="get" class="search-form" action="'. home_url().'/">';
    //		$blog_aux_output .= '<input type="text" placeholder="'. __("Search", "swiftframework") .'" name="s" />';
    //		$blog_aux_output .= '</form></li>';
    //		
    //		// ARCHIVES
    //		$blog_aux_output .= '<li><a href="#" class="blog-slideout-trigger" data-aux="archives"><i class="ss-storagebox"></i>'.__("Archives", "swiftframework").'</a>';
    //		
    //		// RSS LINK
    //		if ($rss_feed_url != "") {
    //		$blog_aux_output .= '<li><a href="'.$rss_feed_url.'" class="rss-link" target="_blank"><i class="fa-rss"></i>'.__("RSS", "swiftframework").'</a>';
    //		}
    //		
    //		$blog_aux_output .= '</ul>'; // close .blog-aux-options
    //		$blog_aux_output .= '</div>'; // close .blog-aux-wrap
    //		
    //		$blog_aux_output .= '<div class="filter-wrap slideout-filter blog-filter-wrap row clearfix">'; // open .blog-filter-wrap
    //		$blog_aux_output .= '<div class="filter-slide-wrap col-sm-12 alt-bg '.$filter_wrap_bg.'">';
    //		
    //		if ($category_list != '') {  
    //		    $blog_aux_output .= '<ul class="aux-list aux-categories row clearfix">'.$category_list.'</ul>';  
    //		}
    //		if ($author_list != '') {
    //			$blog_aux_output .= '<ul class="aux-list aux-authors row clearfix">'.$author_list.'</ul>';
    //		}
    //		
    //		if ($archive_list != '') {  
    //		    $blog_aux_output .= '<ul class="aux-list aux-archives row clearfix">'.$archive_list.'</ul>';  
    //		}
    //		
    //		$blog_aux_output .='</div></div>'; // close .blog-filter-wrap
    //		
    //		
    //		/* AUX BUTTONS OUTPUT
    //		================================================== */
    //		return $blog_aux_output;	
    //	
    //	}
    	
    ?>

    I’v enabled debugging to rule out PHP errors but thats showing up all clear…

    #222236
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Assuming you have no errors output with debug on, is it just a white screen after child theme activation?

    You would likely need to restart MAMP servers.

    – David.

    #222238
    Jackcoldrick
    Member
    Post count: 84

    Hi Dave, yes it is. I’ve tried restarting WAMP. I’ve also uploaded to an internal test server but the same white screen is showing…

    #222239
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    After activating the child theme you need to assign a new front page and also assign the menus once again. You will only have to do this once.

    Also try to increase the memory inside wp-config.php

    Change your WordPress memory to 128M or a maximum 256M.

    Also check the official documentation from WordPress in the link below.
    https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    -Rui

    #222241
    Jackcoldrick
    Member
    Post count: 84

    Hi Rui,

    I should also mention that when I activate the child theme from the admin dashboard I lose all of the dashboard tabs associated with the parent theme. It’s as if it has no reference to the parent theme at all.

    #222244
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    That’s really strange since it’s referred in the child theme the name of the parent theme.
    https://www.dropbox.com/s/7dbrww1qvis4he8/Screenshot%202015-10-21%2015.00.41.png?dl=0

    Did you changed anything in those parameters inside the style.css of the parent theme(not the one in the child theme)?

    -Rui

    #222255
    Jackcoldrick
    Member
    Post count: 84

    Nope, see below: This is the contents at the start of the parent theme style.css

    /* LICENSE & DETAILS
    ==================================================
    
    	Theme Name: Dante
    	Theme URI: http://dante.swiftideas.net
    	Author: Swift Ideas
    	Author URI: www.swiftideas.net
    	Description: <strong>A Retina Responsive Multi-Purpose WordPress Theme, Designed & Developed by Swift Ideas</strong> - <a href="http://www.swiftideas.net">www.swiftideas.net</a>. Follow us for update notifications:<br/> <a href='http://twitter.com/swiftideas'>Twitter</a><br/> | <a href='http://www.facebook.com/SwiftIdeas'>Facebook</a>
    	Version: 3.16
    	License: GNU General Public License version 3.0
    	License URI: http://www.gnu.org/licenses/gpl-3.0.html
    	Tags: translation-ready, threaded-comments, theme-options, sticky-post, post-formats, full-width-template, flexible-header, featured-images, custom-menu, custom-header, custom-colors, custom-background, flexible-width
    
    	All files, unless otherwise stated, are released under the GNU General Public License
    	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
    
    ==================================================
    */

    This is the contents of the child theme style.css:

    /* LICENSE & DETAILS
       ==================================================
    
    	Theme Name: Dante Child Theme
    	Theme URI: http://dante.swiftideas.net
    	Description: A Retina Responsive Multi-Purpose WordPress Theme - Designed & Developed by Swift Ideas ( www.swiftideas.net )
    	License: GNU General Public License version 3.0
    	License URI: http://www.gnu.org/licenses/gpl-3.0.html
    	Template: dante
    	Version: 1.0
    	Author: Swift Ideas
    	Author URI: www.swiftideas.net
    
    	All files, unless otherwise stated, are released under the GNU General Public License
    	version 3.0 (http://www.gnu.org/licenses/gpl-3.0.html)
    
       ==================================================
    */
    #222258
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I have just downloaded Rui’s zip file and installed and activated the child theme fine.

    This would look to be related to your localhost setup?

    – David.

Viewing 15 posts - 1 through 15 (of 21 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register