How can i create a readmore button on website with long posts | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can i create a readmore button on website with long posts

I am creating a website with blog section and I would like to know how to create read more button

15th Apr 2017, 4:35 AM
Gen Livingstone Mumelo
Gen Livingstone Mumelo - avatar
3 Answers
+ 8
Hi Gen! I created a Read More button code for you using only HTML, CSS and JQuery. It's really simple, you just need to use the "data-" attribute in HTML5 to create your own attributes, and finally create a JQuery function that makes the button work, using only show and hide methods. I hope it works for your blog! https://code.sololearn.com/W1al5QHDWS9X/?ref=app
18th Apr 2017, 1:15 AM
Pao
Pao - avatar
+ 1
search in the google...you will need jquery and mysql in this..and ofcourse php too... by combining these you can make a read more option like facebook or any other blog site
15th Apr 2017, 11:39 AM
ARNAB BISWAS
ARNAB BISWAS - avatar
0
thanks
15th Apr 2017, 12:28 PM
Gen Livingstone Mumelo
Gen Livingstone Mumelo - avatar