/ Published in: PHP
                    
                                        
Display first article one way and following ones a different way
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php if ($count == 0): ?>
<div class="view-field view-data-created">
<h3>First Article</h3>
<?php print $created?>
</div>
<div class="view-field view-data-body">
<?php print $body?>
</div>
<?php else: ?>
<div class="view-field view-data-created">
<?php print $created?>
</div>
<div class="view-field view-data-body">
<?php print $body?>
</div>
<?php endif; ?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                