• Resolved yfchild

    (@yfchild)


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author Andrea De Giovine

    (@andreadegiovine)

    Hi @yfchild and thanks for using this plugin.
    1.
    The functions found on my website are examples, i recommend the use to those who have the knowledge of development (about WordPress filter), upload the themes in a cloud (for example Google Drive) and send me the links via the contact form on my website if you want to request the integration of these premium themes.

    2.
    It is not possible to change the name of that folder at the moment, why do you want to change it?

    3.
    You can create custom post types, and then create custom fields to use in the post types you prefer. This is simple, if you can’t do it I suggest you watch the videos in the description.

    If you find the project interesting and you want to support me
    do not forget to leave your 5 stars review ??

Viewing 1 replies (of 1 total)
  • The topic ‘Imposible compatibility with reco theme 4.1 or orbital theme??’ is closed to new replies.