• Hello,

    I have added the following to my home page, which is correctly displaying an excerpt of my posts, however, the “read more” text/link/button is missing.

    Is there some parameter I am missing or is this my theme interfering with with automatic placement of the “read more” button?

    [su_posts template="templates/default-loop.php" posts_per_page="5"]

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,
    To change the […] into a ‘read more’ link add the follwing code to the child theme functions.php or a code snippet plugin.

    function wpdocs_excerpt_more( $more ) {
        return '<a href="'.get_the_permalink().'" rel="nofollow">Read More...</a>';
    }
    add_filter( 'excerpt_more', 'wpdocs_excerpt_more' );

    Source

    Thread Starter ahackney

    (@ahackney)

    Thanks so much for the response.

    I do not even see the ellipsis, which I would be just fine with. There is no indication that this is an abstract. No ellipsis and no “read more”.

    Unfortunately, this is hosted at wordpress.com where I have no access to the pho editor, ftp, or ssh. If I am to purchase a solution, all of the pieces need to work without having to roll my own theme, zip, and upload.

    I verified that when I change themes, the “read more” does appear, so there is something peculiar to the coding of this theme that does now allow the read more to be displayed on a static page.

    Thank you again
    -A

    Thread Starter ahackney

    (@ahackney)

    You can see for yourself at https://hacksbrain.com/

    Sorry to say that I am not that familiar with wordpress.com…

    I checked the output of this plugin with a different theme and the read more does appear ( al being it […] with the theme I checked it with, but might probably be a preference of the developer).

    So I just installed the self hosted version of the theme you are using:”Accelerate” and the read more option dissapears exactly just like it does at your end. Definitely a conflict between these two pieces.

    // Basically just like you said

    You can’t enter php code on wordpress.com which is unfortunate in this case. So I think the options are to either:

    Switch themes
    Use a different plugin for this
    Or switch to self hosted WordPress which allows you a lot more freedom.
    EDIT: Contact the theme developer. they might want to fix the issue on their end

    A last resort might be (but again I’m not familiar with WordPress.com. It might not be allowed as well) is to install a code snippet plugin which is available in this repository.

    • This reply was modified 6 years, 7 months ago by Bianca.
    Thread Starter ahackney

    (@ahackney)

    Thanks for the response. Yes, I am moving off of a self hosted wordpress to make my life easier (hah)!

    Digging a little deeper, I *do* see:

    <p>Upon a fresh install of FTDv (6.2.3) on VMWare ESXi, the FTD console reports the following error over and over and over: <!--more--></p>

    So, the more tag is definitely there, but the theme template for the static page is not honoring it, which is a drag!

    • This reply was modified 6 years, 7 months ago by ahackney.
    • This reply was modified 6 years, 7 months ago by ahackney.

    Yes, I am moving off of a self hosted wordpress to make my life easier (hah)!

    I hear you. I guess both versions have their perks.

    Well I would personally try to contact the theme devs first, see if they might fix the issue. Not honoring a wp standard can happen (should be) by accident. If not switch to something different.

    All the best.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Read more missing with su_post’ is closed to new replies.