Skip to content

Instantly share code, notes, and snippets.

View lewatt23's full-sized avatar
🏠
Working from home

Stanly Medjo lewatt23

🏠
Working from home
View GitHub Profile
import React, { Component } from 'react';
import { graphql } from 'react-apollo';
import { gql } from 'graphql-tools';
const QUERY = gql`
query MatchesByDate($date: Int) {
matches(date: $date) {
id
minute
period
@Dreamelf
Dreamelf / Uikit 3.0 walker wordpress menu
Last active September 3, 2023 12:45
UIkit 3.0 wordpress menu
<?php
/**
* Class Name: your_themename_top_menu
* Description: A custom WordPress nav walker class to implement UIkit menu markup
*/
class your_themename_top_menu extends Walker_Nav_Menu {
/**
* @see Walker::start_lvl()
* @since 3.0.0