Limit content on general service page
This support request was posted in Paeon by cybrbaer
- cybrbaer December 13, 2013 at 3:54 am
Can I control the amount of content that is pulled from the specific service pages to the general page?
Juanfra Aldasoro December 13, 2013 at 1:23 pmHello there,
What do you mean by general page? The services template?
Best,
Juan.Juanfra Aldasoro December 14, 2013 at 1:09 amHi there,
Thanks for your response.
Unfortunately there’s no option to change that from the backend. However, if you check the code over template-services.php you’ll see that the function:
the_excerpt();
Is the one in charge of displaying the description. We count with a function in our framework that allows you to pick the amount of characters to show. You can try and replace the one I mentioned before with ours:
nice_excerpt(200);
200 is the number of characters to be printed, it is an example, you can pick your own number.
Best,
Juan.
You must be logged in to reply to this topic.