Breadcrumb_Trail::add_post_terms()
Method: Adds a post’s terms from a specific taxonomy to the items array.
Source: theme-framework/kernel/breadcrumb-trail.php:1057
Method: Adds a post’s terms from a specific taxonomy to the items array.
Source: theme-framework/kernel/breadcrumb-trail.php:1057
Method: Get parent posts by path. Currently, this method only supports getting parents of the ‘page’ post type. The goal of this function is to create a clear path back to home given what would normally be a “ghost” directory. If any page matches the given path, it’ll be added.
Source: theme-framework/kernel/breadcrumb-trail.php:1096
Method: Searches for term parents of hierarchical taxonomies. This function is similar to the WordPress function get_category_parents() but handles any type of taxonomy.
Source: theme-framework/kernel/breadcrumb-trail.php:1154
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:1190
Class: AppThemes Implementation of Breadcrumb_Trail class to ensure backward compatibility.
Source: theme-framework/kernel/breadcrumb-trail.php:1246
Method: Gets the instance via lazy initialization (created on first usage).
Source: theme-framework/kernel/breadcrumb-trail.php:1258
Method: Sets up the breadcrumb trail properties. Calls the `Breadcrumb_Trail::add_items()` method to create the array of breadcrumb items.
Source: theme-framework/kernel/breadcrumb-trail.php:1289
Method: Formats the HTML output for the breadcrumb trail.
Source: theme-framework/kernel/breadcrumb-trail.php:1311
Method: Adds singular post items to the items array.
Source: theme-framework/kernel/breadcrumb-trail.php:522
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:1033