Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Here is an example of customizing the content length: https://www.billerickson.net/code/genesis-grid-change-length-of-content-in-grid/

    Thread Starter videosurfer

    (@videosurfer)

    Thanks, I have tried that but it does not limit the length of the latest article post (which appears in full on the homepage), it seems to only affect the grid posts.

    Is there a means to limit the latest / top article post and include a ‘continue reading’ link?

    Plugin Author Bill Erickson

    (@billerickson)

    // Change length if teaser
    	if( in_array( 'teaser', get_post_class() ) )
    		$length = 20;
    	else
    		$length = 55;

    The ’20’ is the number of words to show in the grid posts, and the ’55’ is the number of words to show in the main features at the top.

    If this doesn’t work, then your theme might be replacing the default Genesis content function with its own, in which case you’ll need to contact your theme developer to help.

    Hi Bill:

    Great plugin. Thank you!

    Is it possible to show my featured posts as full posts and limit the characters in teaser posts?

    I tried the code above and can’t seem to make it work. My “Genesis>Theme Settings” are set to “show content w/ no character limit.

    Here’s a link to my sandbox category page.

    Thank you! Marshall

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Limit Words On Featured Post’ is closed to new replies.