I am currently hooking on the_content() but that goes through the Wordpress loop too. How can I only hook on the Single.php page?
Also, is there a way to only look on the first X posts in the Wordpress loop?
By the way, I am creating a plugin
|
This will handle appending the content to single posts:
|
|||
|
|
single.php, open upsingle.phpand modify it. By its nature,single.phpwill only have a single post in the loop. To get other posts, you'll need a secondary loop after your main loop. – SickHippie Jun 28 '12 at 22:52