@since: 0.6.0

Breadcrumb_Trail::get_post_types_by_slug()

Method: Gets post types by slug. This is needed because the get_post_types() function doesn’t exactly match the ‘has_archive’ argument when it’s set as a string instead of a boolean.

Source: theme-framework/kernel/breadcrumb-trail.php:542

Used by 1 function | Uses 0 functions

Breadcrumb_Trail::map_rewrite_tags()

Method: Turns %tag% from permalink structures into usable links for the breadcrumb trail. This feels kind of hackish for now because we’re checking for specific %tag% examples and only doing it for the ‘post’ post type. In the future, maybe it’ll handle a wider variety of possibilities, especially for custom post types.

Source: theme-framework/kernel/breadcrumb-trail.php:1008

Used by 1 function | Uses 1 function
Premium WordPress Apps