• Resolved kintana

    (@kintana)


    I want to have homepage posts show the text “Read More” by choosing the Insert Read More Tag instead of having Enter Post Excerpt Count option

Viewing 10 replies - 1 through 10 (of 10 total)
  • Rambo

    (@rahul020691)

    <!–more–>

    adding this will help you achieve this.

    Thread Starter kintana

    (@kintana)

    Hi

    I inserted <!–more–> in “Enter Post Excerpt More Text” without success. Did I put in wrong place? homepage still shows fixed “Enter Post Excerpt Count” 30

    http://WWW.MATRIXINSTITUTE.COM

    Rambo

    (@rahul020691)

    I think you will have to modify the code of the excerpt.

    This is how you can alter the excerpt length:
    Excerpt Length

    Theme Author Richie KS

    (@rkcorp)

    you can’t since the homepage and archive page use the_excerpt() and not the_content(). so ‘more’ tag cannot be utilize in excerpt().

    Rambo

    (@rahul020691)

    @richie ks
    but I think the excerpt length can be modified and read more can be added by editing the code?

    Thread Starter kintana

    (@kintana)

    Just noticed that the READ MORE boll show on “Blog” posts but NOT on “homepage” posts.

    Theme Author Richie KS

    (@rkcorp)

    yes, it can be add. open lib/templates/feat-cat-meta-top and bottom.php and edit this line

    <?php echo dez_get_custom_the_excerpt($archive_excerpt,”); ?>
    to
    <?php echo dez_get_custom_the_excerpt($archive_excerpt,’Read More’); ?>

    but it won’t follow your own ‘more’ tag. it will follow the excerpt lenght from theme options.

    Rambo

    (@rahul020691)

    @kintana do make a child theme when you implement the solution given by @richie ks

    Thread Starter kintana

    (@kintana)

    when I go to appearance/editor/templates/MesoColumn…..I wan not find “lib/templates/feat-cat-meta-top and bottom.php”

    what am I missing?

    Theme Author Richie KS

    (@rkcorp)

    you can’t via theme editor, must go thro ftp.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to use "Read More" on Homepage’ is closed to new replies.