• Hello!

    I am using Virtue theme and on my blog page, I would like to display a “Read More..” button after like 10 lines of text. So I tried doing this by typing text, then adding a More button (<!–more–>). But it does not work. I am using the theme demo content and on my blog page, after only 2 lines of text, it says: “..Continued” and I can’t get rid of this.

    I am not putting that Continued there. Maybe it’s a theme default…but I really hope I can get rid of that and ad a Read More button at the area I desire (after 10 lines, not 2!!) without messing around in the CSS because I don’t understand that πŸ™‚

    Please help!

    Irene

Viewing 9 replies - 1 through 9 (of 9 total)
  • Changing the excerpt length will require that you construct a child theme and make some changes to a template file. If you read through this thread, you should see what i mean:
    https://wordpress.org/support/topic/customize-excerpt-length?replies=8

    The template that you will have to change will be different if you’re not using your blog as a home page, but the idea is the same.

    If you’re interested in creating a child theme for this, then you can download and read about them here:
    http://www.kadencethemes.com/child-themes/

    If this is something you want to do, the theme developer will let us know what files need to be edited when he sees this.

    Let me know if this is helpful.

    -Kevin

    Thread Starter ireneswart

    (@ireneswart)

    Hey Kevin

    Thanks for the info. Can I just use the Downloadable file as my child theme or do I have to make my own? Then I will try do to that…
    And then I would indeed like to know what files need to be edited.

    Is there also some course available about Child themes and CSS? Because I have been working with WordPress for 3 months now and everytime I have a problem it needs to be solved with CSS but I dont know ANYTHING about this and have no clue where to start/which programs to use.. So I never fix my site’s problems.

    Irene

    Thread Starter ireneswart

    (@ireneswart)

    Hi Kevin

    Just another message: I managed to create and activate a child theme πŸ™‚ Now I am just trying to learn how to use FTP. But I will manage that.
    So please let me know what files need to be edited.
    Thank you very much

    Irene

    You can use the download as your child theme. Just need to follow the correct upload process.

    As for making CSS changes, you don’t need to use a child theme to do this. Just input your CSS into Theme Options> Advanced Settings.

    Also, I just found this plugin for changing your blog post excerpts, so the child theme may not be necessary after all!:
    https://wordpress.org/plugins/advanced-excerpt/

    If that plugin doesn’t work, then let me know and I’ll find out what files need to be changed within the child theme to accomplish this.

    -Kevin

    Hey,
    Want to explain here if I can.

    The “read more” code is only for when you are showing the post in a loop but showing the “full content”. Its not defining an excerpt it’s defining a point at which you want to stop the full post from showing in a loop showing full posts.

    You can do this by going to a new page using the page template “blog” and setting the “display post content” to “full”.

    See here: http://docs.kadencethemes.com/virtue-free/templates/blog-page-template/

    An excerpt is used in loops when it’s defined that you will show the excerpt and not the full content. To customize an excerpt you use the excerpt box in your post admin. You can enable this if you don’t see it in your “screen options” (top right corner). By default wordpress will pull the first 40 words. If you need more or less you can override that default using a child theme but that requires that you code. So a simpler option is to add in your own custom excerpt, or set your blog to show full posts and use read more.

    To be clear this has nothing to do with css.

    I hope that helps.

    Kadence Themes

    Thread Starter ireneswart

    (@ireneswart)

    Hello Kandence Themes,

    Thanks a lot, that worked !!! πŸ˜€

    Also, I would like to customize the Read More button. I already changed the text (from Continued… to Read more..) But, I would like it to be an actual button a bit below the text, like >> this example <<

    As you can see here she has a Lees Meer (Read More in English) button below each post.

    Is that mayble also possible with a Plug-In?

    Thanks.. great support so far πŸ™‚

    You can do that with css. What is your site link?

    Kadence Themes

    Thread Starter ireneswart

    (@ireneswart)

    My website link is: http://straytreasures.com/

    Please explain how I can change this button in CSS as I have no idea πŸ™‚

    Irene

    Hello Irene,

    It appears your site is in maintenance mode. If you could take it off, I’ll be happy to help you with the CSS.

    -Kevin

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Read More button does not work?!’ is closed to new replies.