Comments 2Leroy started the conversationMarch 15, 2019 at 3:53pmHi Guys, I want to add excerpt to portfolio Custom Post Type. Can you provide me with the best solution for this? Thanks in advanced. :) Cheers, Leroy 1,974Support repliedMarch 18, 2019 at 3:58pmHi Leroy,first you need to add support for excerpt. You can go to pluginserger-functionality-pluginincludecustom-post-types-config.phpand then change 'supports' => array('title', 'editor', 'thumbnail'),to 'supports' => array('title', 'editor', 'thumbnail', 'excerpt'),Then, you are able to use the_excerpt() function instead of the_content()https://developer.wordpress.org/reference/functions/the_excerpt/Thank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy 2Leroy repliedMarch 20, 2019 at 11:14amHi Guys, Thank you for reply. But that file isn't on the theme folder. I have send screenshot. Also I want to use both so the_content and the_excerpt. :) So we can control the preview tekst on the website. But still add content to the post. :) Cheers, Leroy 1,974Support repliedMarch 20, 2019 at 1:12pmHi Leroy, Somhow the ticksy editor has altered the file path, it's /wp-content/plugins/berger-functionality-plugin/include/custom-post-types-config.php so it's not inside the Berger theme folder it's the Berger Functionality PluginThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support Policy 2Leroy repliedMarch 21, 2019 at 2:33pmPerfect. That worked for me. Thanks. Cheers Leroy Sign in to reply ...
Hi Guys,
I want to add excerpt to portfolio Custom Post Type. Can you provide me with the best solution for this?
Thanks in advanced. :)
Cheers, Leroy
Hi Leroy,
first you need to add support for excerpt. You can go to
pluginserger-functionality-pluginincludecustom-post-types-config.php
and then change
'supports' => array('title', 'editor', 'thumbnail'),
to
'supports' => array('title', 'editor', 'thumbnail', 'excerpt'),
Then, you are able to use the_excerpt() function instead of the_content()
https://developer.wordpress.org/reference/functions/the_excerpt/
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi Guys,
Thank you for reply. But that file isn't on the theme folder. I have send screenshot.
Also I want to use both so the_content and the_excerpt. :) So we can control the preview tekst on the website. But still add content to the post. :)
Cheers, Leroy
Hi Leroy,
Somhow the ticksy editor has altered the file path, it's
/wp-content/plugins/berger-functionality-plugin/include/custom-post-types-config.php
so it's not inside the Berger theme folder it's the Berger Functionality Plugin
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Perfect. That worked for me. Thanks.
Cheers Leroy