Can someone direct me on where to place ‘the_content’ tag? I’m trying to display the full text of a post on my homepage page using the code below:
<?php
global $more; // Declare global $more (before the loop).
$more = 1; // Set (inside the loop) to display all content, including text below more.
the_content();
?>
I don’t know where to put this code, because I’m using a template that doesn’t have <?php the_content(); ?> or <?php the_excerpt(); ?>
in the index.php file. All that’s in the index.php file is:
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value[‘id’] ) === FALSE) { $$value[‘id’] = $value[‘std’]; } else { $$value[‘id’] = get_settings( $value[‘id’] ); }
}
if($swift_magzine==’magzine’) include(‘layouts/magzine.php’);
else include(‘layouts/blog.php’);
?>.