twentyfourteen_has_featured_posts

A helper conditional function that returns a boolean value.

Description

twentyfourteen_has_featured_posts(); 

Usage

  1. if ( !function_exists( 'twentyfourteen_has_featured_posts' ) ) { 
  2. require_once '/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = twentyfourteen_has_featured_posts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function twentyfourteen_has_featured_posts() { 
  2. return ! is_paged() && (bool) twentyfourteen_get_featured_posts();