GB Theme Doc

navigation.php

Table of Contents

themename_custom_logo_setup()  : mixed
custom_logo_function()  : mixed
menu()  : mixed
slt_url_to_postid()  : mixed
get_data_link()  : mixed
data_link_url()  : mixed
data_link()  : mixed
add_menu_data_link()  : mixed
add_content_data_link()  : mixed
init_destination_js()  : mixed
data_link_on_start()  : mixed
get_destination_on_click()  : mixed
update_navigation_class()  : mixed
menu_category()  : mixed
is_in_menu()  : bool
Check if post is in a menu
pagination()  : mixed

Functions

themename_custom_logo_setup()

themename_custom_logo_setup() : mixed

custom_logo_function()

custom_logo_function() : mixed

menu()

menu([mixed $location = 'header' ][, mixed $args = null ]) : mixed
Parameters
$location ( mixed = 'header' )
$args ( mixed = null )

slt_url_to_postid()

slt_url_to_postid(mixed $url) : mixed
Parameters
$url ( mixed )
get_data_link([mixed $data = array('type' => null, 'id' => null) ]) : mixed
Parameters
$data ( mixed = array('type' => null, 'id' => null) )
data_link_url(mixed $link) : mixed
Parameters
$link ( mixed )
data_link(mixed $link) : mixed
Parameters
$link ( mixed )
add_menu_data_link(mixed $atts, mixed $item, mixed $args) : mixed
Parameters
$atts ( mixed )
$item ( mixed )
$args ( mixed )
add_content_data_link(mixed $content) : mixed
Parameters
$content ( mixed )

init_destination_js()

init_destination_js() : mixed
data_link_on_start() : mixed

get_destination_on_click()

get_destination_on_click() : mixed

update_navigation_class()

update_navigation_class() : mixed

menu_category()

menu_category([mixed $cat = 'category' ][, mixed $post_type = 'post' ][, mixed $settings = array() ]) : mixed
Parameters
$cat ( mixed = 'category' )
$post_type ( mixed = 'post' )
$settings ( mixed = array() )

is_in_menu()

Check if post is in a menu

is_in_menu([ $menu = null ][,  $object_id = null ]) : bool
Parameters
$menu ( )

menu name, id, or slug

$object_id ( )

int post object id of page

Search results