spunkycloud
Member
Posted 4 years ago #
I am using WordPress 2.3.2 and I have no idea where to add the code: < ?php wp23_related_posts(); ? >
Does that go in my templates.php file? If so, where do I add it? If not, what is the correct file to add it to and where in that file? Thank for your help.
depending on what you want, in my case, i add it on the bottom of <?php the_content; ?>
leonardorb
Member
Posted 4 years ago #
spunkycloud,
you can put this in the single page (if you want to show the related with the content of one post per time), after the post tag 'the content(...)'.
;)
Add to your single page(if you want to show it on there) like this:
<?php if ((function_exists('wp23_related_posts')) and is_single()) { ?>
<div class="related_posts">
<?php wp23_related_posts(); ?>
<?php } ?></div><!--end related post-->
</div>
mokkori
Member
Posted 4 years ago #
I got this error
Fatal error: Call to undefined function wp32_related_posts() in /home/mokkori/public_html/blog/wp-content/themes/damai/single.php on line 27
why is this?
wolfgrrl
Member
Posted 4 years ago #
I've got this working in my posts, but it does not show up in my feeds. I run through FeedBurner - does it work with FeedBurner? Thanks
fairwells
Member
Posted 4 years ago #
I can't get it to work in my posts. I don't have php content in my single.php file. I just have div="content"
Where exactly do I put the code?
I can get this to appear, but it makes my right column fall under the content. Is this a really wide form or something?
yeah this thing doesn't work