Method | Description | |
---|---|---|
enable_ld_json_breadcrumbs ( ) : boolean | Determines if breadcrumbs scripts are enabled. | |
enable_ld_json_knowledge ( ) : boolean | Determines if Knowledge Graph Script is enabled. | |
enable_ld_json_searchbox ( ) : boolean | Determines if searchbox script is enabled. | |
enable_ld_json_sitename ( ) : boolean | Determines if sitename script is enabled. | |
ld_json_breadcrumb_first ( string | null $item_type = null ) : string | Return home page item for LD Json Breadcrumbs. | |
ld_json_breadcrumb_last ( string $item_type = null, integer $pos = null, integer $post_id = null ) : string | Return current page item for LD Json Breadcrumbs. | |
ld_json_breadcrumbs ( ) : escaped | Generate LD+Json breadcrumb helper. | |
ld_json_breadcrumbs_page ( ) : string | Generate page breadcrumb. | |
ld_json_breadcrumbs_post ( ) : string | Generate post breadcrumb. | |
ld_json_knowledge ( ) : string | Return LD+Json Knowledge Graph helper. | |
ld_json_name ( ) : string | Generate Site Name LD+Json script. | |
ld_json_search ( ) : escaped | Generate LD+Json search helper. | |
make_breadcrumb ( array $item, boolean $comma = true ) : string | Builds a breadcrumb. | |
render_ld_json_scripts ( ) : string | Render the LD+Json scripts. | |
schema_blog_name ( ) : string | Returns json encoded blogname. | |
schema_breadcrumblist ( ) : string | Returns 'BreadcrumbList' json encoded type name. | |
schema_context ( ) : string | Returns http://schema.org json encoded context URL. | |
schema_home_url ( ) : string | Returns json encoded home url. | |
schema_image ( integer | string $id, boolean $singular = false ) | Returns 'image' json encoded value. | |
schema_listitem ( ) : string | Returns 'ListItem' json encoded type name. | |
schema_type ( ) : string | Returns 'WebSite' json encoded type name. |
Method | Description | |
---|---|---|
__construct ( ) | Constructor, load parent constructor | |
build_breadcrumb_trees ( $kittens, array $previous_tree = [] ) : trees | Build breadcrumb trees. |
protected build_breadcrumb_trees ( $kittens, array $previous_tree = [] ) : trees | ||
$previous_tree | array | A previous set tree to compare to, if set. |
return | trees | in order. |
public enable_ld_json_breadcrumbs ( ) : boolean | ||
return | boolean |
public enable_ld_json_knowledge ( ) : boolean | ||
return | boolean |
public enable_ld_json_searchbox ( ) : boolean | ||
return | boolean |
public enable_ld_json_sitename ( ) : boolean | ||
return | boolean |
public ld_json_breadcrumbs ( ) : escaped | ||
return | escaped | LD+json search helper string. |
public ld_json_breadcrumbs_page ( ) : string | ||
return | string | $output The breadcrumb script. |
public ld_json_breadcrumbs_post ( ) : string | ||
return | string | $output The breadcrumb script. |
public ld_json_knowledge ( ) : string | ||
return | string | LD+json Knowledge Graph helper. |
public ld_json_name ( ) : string | ||
return | string | The LD+JSon Site Name script. |
public ld_json_search ( ) : escaped | ||
return | escaped | LD+json search helper string. |
public render_ld_json_scripts ( ) : string | ||
return | string | The LD+Json scripts. |
public schema_blog_name ( ) : string | ||
return | string | The json encoded blogname. |
public schema_breadcrumblist ( ) : string | ||
return | string | The json encoded 'BreadcrumbList'. |
public schema_context ( ) : string | ||
return | string | The json encoded context url. |
public schema_home_url ( ) : string | ||
return | string | The json encoded home url. |
public schema_listitem ( ) : string | ||
return | string | The json encoded 'ListItem'. |
public schema_type ( ) : string | ||
return | string | The json encoded type name. |