sysorex 0 Report post Posted February 11, 2011 I was wondering if there is a way to make it so that some content is hidden and then when you you click on something like read more it reveals the rest of the text, an example of this is Here. on the bio for Marissa Levin when you click the read full bio that is what I am trying to achieve, thanks Share this post Link to post Share on other sites
cmunns 16 Report post Posted February 11, 2011 Very simple...start by adding this hook to your PlatformBase functions.php ` add_action ('wp_head','js_additions'); function js_additions(){?> <?php } ` then just add a class of toggle to a "read more" link and wrap the hidden text in a class of toggle_content. Share this post Link to post Share on other sites
bonngean 0 Report post Posted April 1, 2011 Adam, This is definitely something I'd like to do on my blog. I understand the part to add to my functions.php file but I don't understand the rest of your instructions. Could you elaborate? I'm not rehearsed in CSS but frantic to learn it. Thanks! -Bonnie Share this post Link to post Share on other sites
kastelic 6 Report post Posted April 2, 2011 Like this: <p class ="toggle">Read More...</p> <div class="toggle_content">Your Content Here</div> Share this post Link to post Share on other sites
bonngean 0 Report post Posted April 2, 2011 Thanks Jimmy, It makes more sense now (though I feel goofy for not knowing it was that simple.) --Bonnie Share this post Link to post Share on other sites