Display teaser with Read-more link

Editing content

When editing your page (as a “child” page to “Articles”), above the editing area there is a tab called “Body”, and at the right end of this area, a green + icon, and red – icon. Click on the green + icon.

In the pop-up, “Add part”, give the name extended, and click “add”.

Put your small introduction (“teaser”) in the “Body” part; put the rest of your article in the “extended” part.

Adding the “Read More” link

On your “Articles” page, you can set the link for “Read more…” or “Continue Reading →” or whatever you like. The code should look like this at the top of the “entry” DIV on the Articles page:

<h3><?php echo $article->link($article->title); ?></h3>
  <?php echo $article->content(); ?>
  <?php if ($article->hasContent('extended')) echo $article->link('Continue Reading&#133;'); ?>

This should automatically make the “read more” link for the full article. You can put whatever like for the link text in here:

<?php if ($article->hasContent('extended')) echo $article->link('PUT YOUR LINK TEXT HERE'); ?>

Frog CMS Demo

Public front end website click here
Administration backend click here

Opensource.com admin login info:
login: admin
password: demo123

Help us!

There is no profit here. The more we raise the longer we can keep things going and the better it will get.

Click here to lend your support to: Frog CMS and make a donation at www.pledgie.com !







Lucky Minutes international calling cards rates | Where can I purchase wordpress themes or skins? We can advise you to try BSW wordpress themes | I'm going to get clean up my pc free.