- This topic has 7 replies, 3 voices, and was last updated 4 years, 8 months ago by .
- You must be logged in to reply to this topic.
In the Naturo theme, I would like to use a manual excerpt for the feature boxes on the home page. I have added excerpts to the pages that are used, but I still see the page text, not the excerpts: http://peridot.ebdesignonline.com/
Kindly go to function.php and find this get_the_content
replace it with this get_the_excerpt
If you still having a issue with this let us know.
Hi. I am using the IT consultant pro theme and would like to display the page excerpts in the feature boxes on the front page. I tried the functions.php route as described above but there is no “get_the_content” funtcion to replace…
How is it done in the IT consultant pro theme?
Kindly go to page-box.php and find this code
<p><?php echo wp_trim_words( get_the_content(), of_get_option('pagecontentlimit'), '' ); ?></p>
And replace it with this code
<?php the_excerpt(); ?>
Awesome. thanks so much!
The hospitality business is a multibillion dollar industry with a broad range of services and offers, from tourism and hotel to traveling and lodging, transportation, […]
If you are well aware of WordPress themes, you should know that tons of WP themes come with widget ready or widgetized areas like sidebar, […]
Designer WordPress Themes for web designers and Developers have been discussed and shared in this article WordPress community completely destroyed the obstacle of entry for […]