Imposible compatibility with reco theme 4.1 or orbital theme??
-
Hi. Seem great plugin. But i try in 3/4 themes and 0% compatibilty. Posible it′s my fault:
Example with last one Reco, a theme for a client project; this theme have with a lot of users(Reco theme 4.1 and i think your plugin can be a good ‘little brother’ for him), and also try last test with orbital theme (niche theme)
The same, the fields don′t appear.1-
I try to put function found in your website, in function theme and in child theme also.
This one:
function add_theme_compatibility( $themes ){
$themes[‘reco’] = array(
‘single_template’ => get_template_directory() . ‘/single.php’,
‘replace_type’ => ‘preg’,
‘replace’ => array(“#while(.+)endwhile;#s”),
‘after’ => ” echo ‘</main>’; “,
);
return $themes;
}add_filter( ‘add_theme_compatibility_template’, ‘add_theme_compatibility’ );
function add_theme_compatibility_2( $themes ){
$themes[‘reco’] = array(
‘single_template’ => get_template_directory() . ‘/single.php’,
‘replace_type’ => ‘string’,
‘replace’ => “get_template_part( ‘content’, ‘single’ )”,
);
return $themes;
}add_filter( ‘add_theme_compatibility_template’, ‘add_theme_compatibility_2’ );
2-
I see folder custom-templates in upload and files. (what happen if we don′t use this name folder default??)3-
I create custom type, create 2/3 simples fields texts, fill the text in custom type post text.Nothing. I miss something ? I did wrong steps. Can you explain more how do it?
What the steps to use your plugin.
- The topic ‘Imposible compatibility with reco theme 4.1 or orbital theme??’ is closed to new replies.