Support » Theme: Sapor » Sapor does not have "Continue reading" on the more link

  • Resolved InSightGraphicDesign

    (@insightgraphicdesign)



    ‘Continue reading’ was not put on the more link, although the function’s comment sounds like it was meant to be added — it says, “@return string ‘Continue reading’ link prepended with an ellipsis.”

    The .com version of Sapor does this, but the .org version does not.

    I’ve fixed this in my child theme, and want to share the fix with others, while also suggesting that the theme authors may want to add this in a future update.

    The function is sapor_excerpt_more, and it is found in sapor/inc/template-tags.php. It is pluggable, so it is easy to modify from a child theme. 🙂

    If you want “Continue reading” added to your more link, just copy the sapor_excerpt_more function from the .com version of Sapor:
    https://wpcom-themes.svn.automattic.com/sapor/inc/template-tags.php
    and paste that into your child theme’s function.php. (Only use the lines between the if & endif lines.)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi InSightGraphicDesign

    Its very glad to see that you have shared your information and what problem can be found with solution.If you mark this thread as resolved it would be much more better.
    Thanks again for sharing your information.

    Best Regards
    WEN Solutions
    CHEERS!!!

    Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    InSightGraphicDesign – thanks for the report, I’m going to bring this to our developers to see if the difference was intentional for some reason, and if we can make the tweak in the self-hosted version. Thanks for sharing your solution.

    WEN Solutions – I’d prefer not to have bug-report threads marked as resolved until I have a chance to see them and transmit the information to our developers so we can get a fix in the theme. If it’s marked as resolved before that, I might miss seeing it. Thanks. 🙂

    Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    I think I see what the issue is. The “Continue Reading” wording was added on WordPress.com 7 weeks ago, but the updated version hasn’t yet made it back to WordPress.org. I’ll see if wee can get that done soon so the latest changes are reflected on the self-hosted version.

    Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    The new version of Sapor is now available. Let me know if this takes care of the issue.

    Yes, this is fixed in the latest version 1.0.5. Thanks!

    (The css issue with .alignright is not yet fixed, though.)

    Moderator Kathryn Presner

    (@zoonini)

    Automattic Happiness Engineer

    Thanks for confirming.

    I’ll get back to you in the other thread about the CSS issue after investigating.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sapor does not have "Continue reading" on the more link’ is closed to new replies.