Ok, I looked at the melayu-boleh-theme and it should be pretty straight forward. If you’re familiar with the default (Kubrick) theme it needs a div
in The Loop that has the id of each post. You’ll need to edit the files index.php
, single.php
, and page.php
.
The changes for index.php
and single.php
are the same. After the while
statement but before the div
insert one more div
like this:
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="box4">
Then that div gets closed before the endwhile
statement like this:
</div>
<?php endwhile; ?>
The page.php
file is almost the same too. Insert a new div
after the while
statement:
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="box4">
And then close it before the endwhile
statement:
</div>
<?php endwhile; ?>