• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Set Genesis Content Archive Limit Using Code

This code enables you to modify the Genesis > Theme Settings > Content Archives > Character Limit using code. This means you can use the code in your functions file with a conditional tag or directly in a template file to control the character limit and override the settings as seen in the following image:

content-archive-limit

If you want to limit the archive content to a specific amount of characters for one specific type of archive, this code is the solution you need and only works when the Content Archives are configured to display Entry Content.

If you have the settings configured to display Entry Excerpts, use the code in this tutorial instead.

Here’s the code for logged in members:

Register for full access

Related Tutorials

  • Custom Genesis Posts Template For Archives

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.