Lego2012
12/13/2016 - 4:17 PM

Display post content with a character limit of 0

Display post content with a character limit of 0

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

<!-- To fix the following bug in Genesis 2.1.2. -->

<!-- 1. With a clean site, install and activate Genesis 2.1.2. 2. Fill the default Hello World post with lorem ipsum, then add a tag after the first sentence. 3. Visit the homepage. You should see a “read more” link after the first sentence of the Hello World post. 4. Add a Genesis Featured Page widget in the Header Right area, choose a page, and save the widget settings (default settings are fine). 5. Visit the homepage. The post will display content in full instead of showing the Read More link. -->

add_action( 'genesis_before_loop', 'child_fix_more' );
function child_fix_more() {
global $more;
$more = 0;
}