/**
 * Theme support for navigation menus
 */
function ikit_one_nav_menus_setup()
{
    // XXX Nasty hack, for some reason whenever we register custom nav menus in the wp 4.3.x it breaks the customizer
    // so we basically just don't register the custom menu when using the customizer, likely the issue is it can't find
    // custom menus so fails with a js error. Hopefully fixed in later versions of WP.
    if (strpos(ikit_get_request_url(), 'customize.php') !== false) {
    } else {
        register_nav_menus(array('nav-menu-main' => __('Main Menu')));
    }
}
$(document).ready(function() {
    jQuery.events_past.onDomReady();
});

jQuery.ikit_two.infinityFetcher.afterFetchFunctions.push(jQuery.events_past.afterFetch);
jQuery.ikit_two.onStartDomReadyFunctions.push(jQuery.events_past.onStartDomReady);

</script>

<div class="page-header-3">
    <table>
    <tr>
        <td class="page-header-3-section-title">
            <a href="<?php 
echo ikit_get_request_url(false);
?>
">Past Events</a>
        </td>
        <td class="page-header-3-title"></td>
    </tr>
    </table>
</div>


<table class="page-layout-4">
<tr>

    <td class="page-layout-4-tools">

       <div class="cat-plugin-fluid-grid grid"
示例#3
0
    $query_split = explode("=", $string);
    $search_query[$query_split[0]] = urldecode($query_split[1]);
}
// foreach
$post_count = 0;
$search_query['post_type'] = array('page', 'post', IKIT_POST_TYPE_IKIT_EVENT);
$search_query['posts_per_page'] = IKIT_ONE_MAX_SEARCH_RESULTS;
$search = new WP_Query($search_query);
?>

<div class="page-header-3">
    <table>
    <tr>
        <td class="page-header-3-section-title">
            <a href="<?php 
echo ikit_get_request_url(true);
?>
">Search</a>
        </td>
        <td class="page-header-3-title"></td>
    </tr>
    </table>
</div>


<table class="page-layout-4">
<tr>

    <td class="page-layout-4-content">

        <table>