<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Entry * @author StudioPress * @license GPL-2.0-or-later * @link https://my.studiopress.com/themes/genesis/ */ /* function genesis_reset_loops() – Restore all default post loop output by re-hooking all default functions. */ add_filter( 'post_class', 'genesis_entry_post_class' ); /* function genesis_entry_post_class() – Add `entry` post class, remove `hentry` post class if HTML5. */ add_filter( 'post_class', 'genesis_custom_post_class', 15 ); /* function genesis_custom_post_class() – Add a custom post class, saved as a custom field. */ add_filter( 'post_class', 'genesis_featured_image_post_class' ); /* function genesis_featured_image_post_class() – Featured Image Post Class */ add_action( 'genesis_entry_header', 'genesis_do_post_format_image', 4 ); /* function genesis_do_post_format_image() – Add a post format icon. */ /* function genesis_entry_header_hidden_on_current_page() – Is the entry header hidden for the current page? */ add_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); /* function genesis_entry_header_markup_open() – Echo the opening structural markup for the entry header. */ add_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); /* function genesis_entry_header_markup_close() – Echo the closing structural markup for the entry header. */ add_action( 'genesis_entry_header', 'genesis_do_post_title' ); /* function genesis_do_post_title() – Echo the title of a post. */ add_filter( 'genesis_post_info', 'do_shortcode', < 20 ); add_action( 'genesis_entry_header', 'genesis_post_info', 12 ); /* function genesis_post_info() – Echo the post info (byline) under the post title. */ add_action( 'genesis_entry_content', 'genesis_do_post_image', 8 ); /* function genesis_do_post_image() – Echo the post image on archive pages. */ /* function genesis_get_singular_image() – Gets the singular image for the current post. */ add_action( 'genesis_entry_content', 'genesis_do_singular_image', 8 ); /* function genesis_do_singular_image() – Echoes the post image on singular pages. */ add_action( 'genesis_entry_content', 'genesis_do_post_content' ); /* function genesis_do_post_content() – Echo the post content. */ add_action( 'genesis_entry_content', 'genesis_do_post_content_nav', 12 ); /* function genesis_do_post_content_nav() – Display page links for paginated posts (i.e. includes the <!–nextpage–> Quicktag one or more times). */ add_action( 'genesis_entry_content', 'genesis_do_post_permalink', 14 ); /* function genesis_do_post_permalink() – Show permalink if no title. */ add_action( 'genesis_loop_else', 'genesis_do_noposts' ); /* function genesis_do_noposts() – Echo filterable content when there are no posts to show. */ add_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_open', 5 ); /* function genesis_entry_footer_markup_open() – Echo the opening structural markup for the entry footer. */ add_action( 'genesis_entry_footer', 'genesis_entry_footer_markup_close', 15 ); /* function genesis_entry_footer_markup_close() – Echo the closing structural markup for the entry footer. */ add_filter( 'genesis_post_meta', 'do_shortcode', < 20 ); add_action( 'genesis_entry_footer', 'genesis_post_meta' ); /* function genesis_post_meta() – Echo the post meta after the post content. */ add_action( 'genesis_after_entry', 'genesis_do_author_box_single', 8 ); /* function genesis_do_author_box_single() – Conditionally add the author box after single posts or pages. */ /* function genesis_get_author_box() – Return the author box and its contents. */ /* function genesis_get_author_box_by_user() – Return the author box and its contents by WP_User ID. */ /* function genesis_author_box() – Echo the author box and its contents. */ add_action( 'genesis_after_entry', 'genesis_after_entry_widget_area' ); /* function genesis_after_entry_widget_area() – Display after-entry widget area on the genesis_after_entry action hook. */ add_action( 'genesis_after_endwhile', 'genesis_posts_nav' ); /* function genesis_posts_nav() – Conditionally echo archive pagination in a format dependent on chosen setting. */ /* function genesis_prev_next_posts_nav() – Echo archive pagination in Previous Posts / Next Posts format. */ /* function genesis_numeric_posts_nav() – Echo archive pagination in page numbers format. */ add_action( 'genesis_after_entry', 'genesis_adjacent_entry_nav' ); /* function genesis_adjacent_entry_nav() – Display links to previous and next entry. */ /* function genesis_prev_next_post_nav() – Helper function to display adjacent entry navigation on single posts. Must be hooked to `genesis_after_entry` at priority 10 or earlier to work properly. */