Hi Luo, good day
i am now using Generate Press theme + elemantor pro builder.
I have some issue migrating to GeneratePress theme from toolset starter theme, is there any guide to migrate from toolset starter theme to Generate Press. I have followed everything from the documentations.
Dear C6410,
There isn't existed document for "migrate from toolset starter theme to Generate Press", I guess there will be some problems to setup the page header/footer/Menus, suggest you check our document to setup them manully:
Using Toolset with GeneratePress Theme
https://toolset.com/documentation/recommended-themes/using-toolset-with-generatepress-theme/
Hi Luo,
is this coded stil needed if im using GP template and Elementor ?
/**************************************************
* Load custom cells types for Layouts plugin from the /dd-layouts-cells/ directory
**************************************************/
if ( defined('WPDDL_VERSION') && !function_exists( 'include_ddl_layouts' ) ) {
function include_ddl_layouts( $tpls_dir = '' ) {
$dir_str = dirname( __FILE__ ) . $tpls_dir;
$dir = opendir( $dir_str );
while ( ( $currentFile = readdir( $dir ) ) !== false ) {
if ( is_file( $dir_str . $currentFile ) ) {
include $dir_str . $currentFile;
}
}
closedir( $dir );
}
include_ddl_layouts( '/dd-layouts-cells/' );
}
According to our document:
https://toolset.com/documentation/recommended-themes/using-toolset-with-generatepress-theme/
the custom function you mentioned above is not needed, but you can feedback if there is any problem with it. thanks