How to Add Excerpts to Pages in WordPress?

Malinka
59 Posts
Malinka posted this 09 November 2016

Hi

How to add Excerpts to Pages in Themler WordPress?

Tried this but couldn't make it work
http://www.wpbeginner.com/plugins/add-excerpts-to-your-pages-in-wordpress/

Best regards
Malinka

Hi How to add Excerpts to Pages in Themler WordPress? Tried this but couldn't make it work http://www.wpbeginner.com/plugins/add-excerpts-to-your-pages-in-wordpress/ Best regards Malinka
Vote to pay developers attention to this features or issue.
8 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 09 November 2016

Hi,

There is no such option in Themler. Maybe you could find some WP plug-ins that will enable such option.

Sincerely,
Hella

Hi, There is no such option in Themler. Maybe you could find some WP plug-ins that will enable such option. Sincerely, Hella
Malinka
59 Posts
Malinka posted this 10 November 2016

Pls can you add this to library/post_templates.php next themler update :)

change this:
function theme_admin_init(){
add_meta_box('theme_select_post_template', __('Post Template', 'default'), 'theme_select_post_template', 'post', 'side', 'default');
}

change to this:
function theme_admin_init(){
add_meta_box('theme_select_post_template', __('Post Template', 'default'), 'theme_select_post_template', 'post', 'side', 'default');

 add_post_type_support( 'page', 'excerpt' );

}

Best regards
Malinka

Pls can you add this to library/post_templates.php next themler update :) change this: function theme_admin_init(){ add_meta_box('theme_select_post_template', __('Post Template', 'default'), 'theme_select_post_template', 'post', 'side', 'default'); } change to this: function theme_admin_init(){ add_meta_box('theme_select_post_template', __('Post Template', 'default'), 'theme_select_post_template', 'post', 'side', 'default'); add_post_type_support( 'page', 'excerpt' ); } Best regards Malinka
Stagger Lee
1818 Posts
Stagger Lee posted this 10 November 2016

This from link works for me. How do you add it ?

This from link works for me. How do you add it ?
Malinka
59 Posts
Malinka posted this 11 November 2016

Sry Stagger i dont understand your question.

Sry Stagger i dont understand your question.
Stagger Lee
1818 Posts
Stagger Lee posted this 11 November 2016

I added code from WPBeginner link to my custom plugin and get excerpt Metabox in Pages.
You either add snippet wrong way, or Metabox is hidden in options on the top of Page edit (beside Help button).

I added code from WPBeginner link to my custom plugin and get excerpt Metabox in Pages. You either add snippet wrong way, or Metabox is hidden in options on the top of Page edit (beside Help button).
Malinka
59 Posts
Malinka posted this 11 November 2016

I add code in functions-additional.php

This code:
add_action( 'init', 'my_add_excerpts_to_pages' );
function my_add_excerpts_to_pages() {
add_post_type_support( 'page', 'excerpt' );
}

But this dont work for me.

I add code in functions-additional.php This code: add_action( 'init', 'my_add_excerpts_to_pages' ); function my_add_excerpts_to_pages() { add_post_type_support( 'page', 'excerpt' ); } But this dont work for me.
Stagger Lee
1818 Posts
Stagger Lee posted this 11 November 2016

I see now. it is not first time this problem. I use custom code in my custom plugin. Make yoirself one and just copy/paste/activate between websites. Plugins have prioritiy when executing.

This problem has to be somehow fixed by Themler developers. Putting snippets at the beginning of original functions.php they work. So honestly, I have no clue what they did and made it not to work. They promised execute additional-functions.php at the beginning of functions.php. Seems they forgott to do it.

I see now. it is not first time this problem. I use custom code in my custom plugin. Make yoirself one and just copy/paste/activate between websites. Plugins have prioritiy when executing. This problem has to be somehow fixed by Themler developers. Putting snippets at the beginning of original functions.php they work. So honestly, I have no clue what they did and made it not to work. They promised execute additional-functions.php at the beginning of functions.php. Seems they forgott to do it.
Malinka
59 Posts
Malinka posted this 11 November 2016

Thank you for explanation.

Keep posting you have always interesting topics and answers.

Best Regards
Malinka

Thank you for explanation. Keep posting you have always interesting topics and answers. Best Regards Malinka
You must log in or register to leave comments