Support » Theme: Sinatra » In what file are the words “Read More” defined.

  • I’m pulling my hair out. I have searched and searched for a way to remove the “Read More” link from my posts (full post, not excerpt). I’ve tried to add the filter below (and other pieces of code in functions.php) promoted in a number of places on the web. The filter works to turn the excerpt into a full-content post, but the same filter is also supposed to set the Read More text to null. Here’s what I’m using.

    /**
     * Redefine sinatra_excerpt function.
     * 
     */
    function sinatra_excerpt( $length = null, $more = null ) {
        the_content();
    }

    This function partially works in that it results in showing the full post rather than just an excerpt. it’s just the $more part that doesn’t work.

    For what it’s worth, I have also tried various CSS examples until I’m blue in the face, most utilizing “display:none” on various elements.

    I have searched the entire batch of files related to the Sinatra Theme for the string “Read More” and cannot find a single instance of it. If I could find that, I could just replace that with an empty string.

    Note: The posts are being generated on a Category page.

    Thanks for any insight you may be able to provide.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mywpid123

    (@mywpid123)

    I’ll clarify my main frustration with a question:

    • Where in the Sinatra theme files can I find where the words “Read More” are assigned, whether it be in PHP, CSS, Javascript, or HTML code?

    Thanks!

    Branko

    (@brankoconjic)

    Hey @mywpid123,

    Please take a look at this.

    Let me know if that helped.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.