Registers all of the standard Largo homepage layout classes
Uses $largo_homepage_factory to build a list of homepage layouts. This list is used in Theme Options and Customizer to allow the user to choose a Homepage layout.
Returns: array $n array of layouts, with friendly names as keys and arrays with ‘path’ and ‘thumb’ as values
Retrieves the thumbnail image for a homepage template, or a default
Returns: string $he public url of the image file to use for the given template’s screenshot
Creates instance of a homepage layout class and renders it.
Get the class name of the currently-active homepage layout
Get the post to display at the top of the home single template
Returns featured stories for the homepage.
- $max. (int) – The maximum number of posts to return.
- Gets 3 stories from the same series as the homepage’s Big Story.
- Gets the term that the 3 series stories belong to.
Returns: array $n array with series_stories and series_stories_term keys. Todo: is $his duplicating the functionality of the Largo_Related class?
Gets the homepage’s Big Story series data and returns only the series stories’ term.
Gets the homepages Big Story series data and returns only the series stories.
Returns the various posts for the homepage two and three panel layouts