• Resolved Fionder

    (@fionder)


    Hi
    I am using the Featured Image Pro shortcode to create a page that shows a featured image and excerpt for each post in the category. The excerpt will always be short enough to fit into the excerpt height I have set, so I would like to remove the “Read more >>” link underneath. Is this possible please?

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author A. Jones

    (@nomadcoder)

    Let me look into it!

    Thread Starter Fionder

    (@fionder)

    Thank you…

    Plugin Author A. Jones

    (@nomadcoder)

    The ‘read the rest’ link is meant to link to the post, not when there is more excerpt…The code is a bit wonky (sorry)!

    To remove it, you can use css:

    .proto_masonry_excerpt .more-link { display:none;}

    I will look into adding an option in the future!

    Thread Starter Fionder

    (@fionder)

    Thanks for your reply. I thought about trying to use CSS but couldn’t see a class for the Read More link. I have just tried adding the CSS you suggest but unfortunately it hasn’t worked 🙁

    Do you have any other suggestions please?

    Plugin Author A. Jones

    (@nomadcoder)

    Are you using any kind of excerpt plugin? I am not sure that is coming from our plugin.

    As long as you don’t have links in your excerpts, this should work. Warning that this will hide all links in the excerpt.

    .proto_masonry_excerpt a { display:none;}

    Thread Starter Fionder

    (@fionder)

    Thanks for this. On this particular page I don’t want any links in the excerpts but I do want them on another page, so I have added the page id class to the CSS and it is working perfectly. Thank you so much!

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

The topic ‘Remove “Read more” from excerpt when using shortcode’ is closed to new replies.