Class: \Conifer\Post\Page

Class to represent WordPress pages.

Visibility Function
public static get_blog_page() : \Conifer\Post\Page
Get the Blog Landing Page.
public static get_by_template(\string $template)</strong> : null/Page the first page found matching the template, or null if no such page exists
Get a page by its template filename, relative to the theme root.
public get_title_from_nav_or_post(\Conifer\Post\Menu $menu)</strong> : string the title to display
Get the top-level title to display from the nav structure, fall back on this Page object's title it it's outside the nav hierarchy.

This class extends \Conifer\Post\Post

This class implements \Timber\CoreInterface

results matching ""

    No results matching ""