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:
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:
Leave a Reply
You must be logged in to post a comment.