• Resolved heneart

    (@heneart)


    Hi, Im trying to reproduce the steps from your video to create a custom skin. My new skin is now visible in “Skin option”, but cannot be selected (no one can be selected now), any idea??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi heneart,
    When you create new skin, you have to keep the same structure as the previous one.
    Please try and let me know.
    Thanks

    Thread Starter heneart

    (@heneart)

    Hi, thanx for your answer.

    What do you mean with “keeping the same structure”?
    For testing purposes I took some of existing skins –> thumbnail.php and thumbnail-icon-title-excerpt.php –> then changed it names , put them in my theme folder and set the function:

    if(!function_exists(‘add_grid_plus_skins’)) {
    function add_grid_plus_skins($skins){
    $skins[] = array (
    ‘name’ => ‘My Testskin’,
    ‘slug’ => ‘my-testskin’,
    ‘template’ => dirname(__FILE__) . ‘my-testskin.php’,
    ‘skin_css’ => get_template_directory_uri() . ‘/my-testskin.css’,
    );
    return $skins;
    }
    add_filter(‘grid-plus-skins’,’add_grid_plus_skins’);
    }

    But it doesn’t work.
    The skin shows in skin option, but there is no checkbox for selecting the skins.

    Hi again,
    Yes, mine mean as you did.
    Please contact me via my email address: https://prntscr.com/hbhg7r, i will support you over there.
    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding new skin’ is closed to new replies.