Метод | Описание | |
---|---|---|
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. |
Метод | Описание | |
---|---|---|
__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. |
Результат | trees | in order. |
public enable_ld_json_breadcrumbs ( ) : boolean | ||
Результат | boolean |
public enable_ld_json_knowledge ( ) : boolean | ||
Результат | boolean |
public enable_ld_json_searchbox ( ) : boolean | ||
Результат | boolean |
public enable_ld_json_sitename ( ) : boolean | ||
Результат | boolean |
public ld_json_breadcrumbs ( ) : escaped | ||
Результат | escaped | LD+json search helper string. |
public ld_json_breadcrumbs_page ( ) : string | ||
Результат | string | $output The breadcrumb script. |
public ld_json_breadcrumbs_post ( ) : string | ||
Результат | string | $output The breadcrumb script. |
public ld_json_knowledge ( ) : string | ||
Результат | string | LD+json Knowledge Graph helper. |
public ld_json_name ( ) : string | ||
Результат | string | The LD+JSon Site Name script. |
public ld_json_search ( ) : escaped | ||
Результат | escaped | LD+json search helper string. |
public render_ld_json_scripts ( ) : string | ||
Результат | string | The LD+Json scripts. |
public schema_blog_name ( ) : string | ||
Результат | string | The json encoded blogname. |
public schema_breadcrumblist ( ) : string | ||
Результат | string | The json encoded 'BreadcrumbList'. |
public schema_context ( ) : string | ||
Результат | string | The json encoded context url. |
public schema_home_url ( ) : string | ||
Результат | string | The json encoded home url. |
public schema_listitem ( ) : string | ||
Результат | string | The json encoded 'ListItem'. |
public schema_type ( ) : string | ||
Результат | string | The json encoded type name. |