이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

UIKIT WP Integrator

설명

General Information

UIKIT WP Integrator is a plugin for integrating UIKIT front-end framework from YOOTHEME.

The plugin adds a menu item under Settings in Dashbpard called UIKIT Integrator which enables you to configure how you want the UIKIT framework integrated into your website front-end.

UIKIT WP Intergrator currently is using UIKIT version 2.8.0

Here is the list of settings available:

  • Please select the style of UIKIT you want to integrate

    1. Gradient
    2. Almost Flat
    3. Flat

    UIKIT can be added in 3 styles:

    • Gradient: Using CSS3 gradients and new state of the art codes to keep with modern standards
    • Almost Flat: Using mixture of flat and CSS3 stuff
    • Flat: No use of new CSS3 features, good for websites that want to support old browsers
  • Please select the desired addon you want to enable

    1. Autocomplete
    2. Datepicker
    3. Form Password
    4. Form Select
    5. HTML Editor
    6. Nestable
    7. Notify
    8. Pagination
    9. Search
    10. Sortable
    11. Sticky
    12. Timepicker
    13. Upload

    For more information about Addons please visit: UIKIT ADDONS

    Please use links below for more information about each addon:

    Please be advised that if you are already using WARP enabled Yootheme, theme you don’t need this plugin as UIKIT is already integrated for you

스크린샷

  • Here's a screenshot of settings page

설치

To install UIKIT WP Integrator plugin follow this steps:

  1. Download plugin zip file
  2. Upload uikit-wordpress-integrator directory into to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Visit UIKIT Integrator menu item under Settings inside Dashboard to configure the plugin

FAQ

Do I need this plugin if I purchased a theme from Yootheme?

No, your theme already has the UIKIT framework integrated

Can I use UIKIT without addons?

Yes, just uncheck addons from settings page of the plugin located under Settings -> UIKIT Integrator menu

How can I enable UIKIT menu inside my theme

Add this code inside functions.php of your theme:

add_theme_support( 'menus' );
if (function_exists('register_nav_menus')) {
    $locations = array(
        'primary' => 'Primary Navigation'
    );
    register_nav_menus( $locations );
}

function nav_menu_item_parent_classing( $classes, $item )
{
    global $wpdb;

$has_children = $wpdb -> get_var( "SELECT COUNT(meta_id) FROM {$wpdb->prefix}postmeta WHERE meta_key='_menu_item_menu_item_parent' AND meta_value='" . $item->ID . "'" );

    if ( $has_children > 0 )
    {
        array_push( $classes, "uk-parent" );
    }

    return $classes;
}

add_filter( "nav_menu_css_class", "nav_menu_item_parent_classing", 10, 2 );

class Child_Wrap extends Walker_Nav_Menu
{
    function start_lvl(&$output, $depth = 0, $args = array())
    {
        $indent = str_repeat("\t", $depth);
        $output .= "\n$indent<div class=\"uk-dropdown uk-dropdown-navbar\"><ul class=\"uk-nav uk-nav-navbar\">\n";
    }
    function end_lvl(&$output, $depth = 0, $args = array())
    {
        $indent = str_repeat("\t", $depth);
        $output .= "$indent</ul></div>\n";
    }
}

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“UIKIT WP Integrator”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “UIKIT WP Integrator”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.1.1

  • Integrates UIKIT Version 2.8.0

1.1.0

  • Integrates UIKIT Version 2.7.0
  • WARNING: UIKIT version 2.7.0 has some code changes that may break if you want to update from 2.6.0. Please visit THIS LINK for more information