Easy "Read More" for webSPELL

Read More for webSPELL 4.2.* (tested with webSPELL 4.2.1*).
After you've completed this small Tutorial you will be able to cut your News wherever you want. A "Read More"-Link will appear, when you click on it you will see the complete News.
We will need to edit the news.php and news_comments.php - so here we go:
Open the news.php
Search for:
Code:
1. 2. 3. | $content = htmloutput($content); $content = toggle($content, $ds['newsID']); $headline = clearfromtags($headline); |
Add below:
Code:
1. 2. 3. 4. | // Read More by weSEO.de / Pascalmh.de // http://weseo.de/blog/read-more $foo=explode('[break]', $content); $content = $foo[0].'<a href="index.php?site=news_comments&newsID='.$newsID.'">Read More</a>'; |
Now the news.php is ready to go, lets go on:
Open the news_comments.php
Search for:
Code:
1. 2. | $content = htmloutput($content); $content = toggle($content, $ds['newsID']); |
Add below:
Code:
1. 2. 3. | // Read More by weSEO.de / Pascalmh.de Visit: http://weseo.de/blog/read-more $foo=explode('[break]', $content); $content = $foo[0].''.$foo[1]; |
Thats it! The only thing you have to do now is adding
Code:
into your News!1. | [break] |
Your comment
