Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialelliot stiller
283 PointsHow do i add a "Read more" button?
I am trying to add a read more button to the HTML of a page.
I am using the Enfold theme for my wordpress website.
I want to be able to click the button "Read more" and then text drops down! How do i do that?
Is there a code, or a plug-in i can use?
5 Answers
Zac Gordon
Treehouse Guest TeacherIt depends on the theme a bit. If you are adding it to excerpts try this:
https://codex.wordpress.org/Customizing_the_Read_More#Modify_The_Read_More_Link_Text
elliot stiller
283 PointsWhat is an excerpt? I am adding it to a text block that resides within a page on an Enfold-powered Wordpress website.
I contacted enfold to ask them to give me the code for the read more block because you mentioned that it depends on theme
Should i rely on their response to try to figure out the link you sent me?
elliot stiller
283 PointsWhat is an excerpt? I am adding it to a text block that resides within a page on an Enfold-powered Wordpress website.
I contacted enfold to ask them to give me the code for the read more block because you mentioned that it depends on theme
Should i rely on their response to try to figure out the link you sent me?
elliot stiller
283 Points:(
Zac Gordon
Treehouse Guest TeacherHey Elliot, what did the theme developers say about how to solve the problem. Sorry about the link not making sense, I had figured you had taken some of our WordPress Development courses on building and customizing themes.
That code would get dropped into your theme functions.php file. However, depending on how they coded their site it may or may not work so it would be good to ping them for a solution.