Article extract on blog page - by mkep - on WordPress WooCommerce support

This topic has 8 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp

  • Avatar: syn
    mkep
    Participant
    August 6, 2015 at 16:37

    Hello,

    The theme created a blog page automaticaly on my website.
    I have selected the option to show article extract (on wordpress option) but it’s not working, it still showing the full article. I didn’t find any option on the theme option or on the documentation.

    Where can I select this option ?
    Which php file (in the theme) is displaying the blog page ? Is it kind of a template ?

    Thanks

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    August 6, 2015 at 18:59

    Hello,

    Please read this article how to create excerpts of the posts:
    https://www.8theme.com/blog/using-read-more-button-on-wordpress-blog/

    Regards,
    Eva Kemp.

    Avatar: syn
    mkep
    Participant
    August 7, 2015 at 09:02

    Hello,

    Thanks for your answer but I want to display the extract I wrote, not the beginning of the article (because for SEO it makes duplicate content).

    Is it possible ?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 7, 2015 at 09:41

    Hello,

    Please provide us with WP Dashboard credentials in Private Content.

    Best regards,
    Jack Richardson.

    Avatar: syn
    mkep
    Participant
    August 17, 2015 at 10:10

    Hello,

    No problem I can give your my credentials but I think it’s useless for the problem. Anyway I’m sending it to you…

    To solve this problem:

    I tried to change the index.php file in the theme root folder.

    At line 33 there is:

    <?php if(have_posts()): 
    						while(have_posts()) : the_post(); ?>
    

    It’s may be just a “bug” on your theme. You need to change this line and put something like: if (extract option is selected on wordpress read option ) {show extract} else {show the_post()}.

    I tried but I had an infinity loop…

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 20, 2015 at 09:41

    Hello,

    We’re sorry for a long delay.

    Our theme supports “more” tag by default and not excerpt that is available in post editor.
    To show excerpts you need edit theme file – wp-content/themes/royal/content.php.
    Unfortunately this is beyond our basic support scope and if you have necessary skills you can edit the file yourself. This article may be helpful:
    https://codex.wordpress.org/Excerpt

    Regards,
    Eva Kemp.

    Avatar: syn
    mkep
    Participant
    August 24, 2015 at 15:24

    Thanks for the answer.
    Please consider changing it on the next update version of the theme because I think this is something essential for SEO and it is used by the majority of the wordpress theme nowadays. And I’m sure some other customers would like it.

    Avatar: Eva
    Eva Kemp
    Support staff
    August 25, 2015 at 09:31

    Hello,

    We’ll try to implement it future updates.

    Thank you for your notice.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.