Featured_Content
Twenty Fourteen Featured Content
Description Description
Source Source
File: wp-content/themes/twentyfourteen/inc/featured-content.php
Expand full source code Collapse full source code View on Trac
Methods Methods
- customize_register — Add settings to the Customizer.
- delete_post_tag — Reset tag option when the saved tag is deleted.
- delete_transient — Delete featured content ids transient.
- enqueue_scripts — Enqueue the tag suggestion script.
- get_featured_post_ids — Get featured post IDs
- get_featured_posts — Get featured posts.
- get_setting — Get featured content settings.
- get_sticky_posts — Return an array with IDs of posts maked as sticky.
- hide_featured_term — Hide featured tag from displaying when global terms are queried from the front-end.
- hide_the_featured_term — Hide featured tag from display when terms associated with a post object are queried from the front-end.
- init — Conditionally hook into WordPress.
- pre_get_posts — Exclude featured posts from the home page blog query.
- register_setting — Register custom setting on the Settings -> Reading screen.
- setup — Instantiate.
- validate_settings — Validate featured content settings.
- wp_loaded — Hide "featured" tag from the front-end.