Read More button with handcrafted excerpt

Homepage Community Forums Epik Theme Support Read More button with handcrafted excerpt

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #9835
    bshellhorse
    Customer

      I am creating multiple portfolio pages. In Genesis theme settings I have selected “display post excerpts.” When WordPress autogenerates the excerpt, a “Read More” button appears on the portfolio page.

      I want to handcraft my excerpt for the posts. But, when I do, I lose the “Read More” button.

      How do I create my own excerpt and also have the “Read More” button?

      #9845
      Eric
      Customer

        The read more button for the portfolio is actually inside the portfolio template. Take a look at the StudioPress code snippets to learn how to modify them – http://my.studiopress.com/snippets/post-excerpts/#content-limit-more-link


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #9846
        bshellhorse
        Customer

          Eric,

          Thanks for responding, but I’m not sure that is what I want. I am not looking to modify the text of the button, I am looking to make the button appear when I create my own excerpt.

          #9856
          Eric
          Customer

            Yes that’s the way to do it. It should add the read more text for the excerpt, and then you add a div around it which will show the button (you’ll need to add the css for it unless you use the css that’s already there). The read more in the portfolio template is an example of what needs to be done to get it working.


            I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

            #9968
            bshellhorse
            Customer

              I have read the Studio Press snippet and your suggestions, as well as the looking at the code in the portfolio.php file and I don’t get it.

              I have tried adding add_filter( 'get_the_content_more_link', 'portfolio_read_more_link' ); to the existing list of three filters. It doesn’t do anything and appears duplicative of what was has already coded in.

              I tried just adding add_filter( 'excerpt', 'portfolio_read_more_link' ); to the 3 existing filters, nothing.

              I copied and pasted the entire code from studio press into the file; nothing.

              I don’t understand what your telling me I need to do to get this.

              #9983
              Eric
              Customer

                Hold on, let me email someone that can help us with this.

                I know I’ve done this before, but I think the code may have changed in Genesis because of the HTML5. If you don’t hear back from me in a day, please respond here (it will send me an email).


                I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                #10033
                bshellhorse
                Customer

                  Eric,

                  Thanks for looking into this. Let me know when you hear something from your friend.

                  #10061
                  Eric
                  Customer

                    I can’t seem to get it working, and I’ve even tried other Genesis themes and it’s still not showing up. It used to work fine before Genesis 2.0, but after the update it doesn’t seem to work with any theme I try. The only thing that does work is to use the “Display Post Content” like in the demo.


                    I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                    #14657
                    designkombinat
                    Customer
                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.