Two concerns that I see here:
1. the_title() only works in the Loop. I suggest make use of single_post_title() instead, it works outside the Loop. And make sure it is single post using:
‘<?php if ( is_single(){‘
2. If using single_post_title(), you can pass it to PHP by specify the second parameter to FALSE e.g.
‘single_post_title(”, FALSE)’
This problem took me some times to figure out (self-taught amateur PHP coder 😉 but now its working now in my site http://www.softwaredriverdownload.com , take a look at the meta data, its using the same technique above.
Hi, I think the new version (1.3 by the time of writing) might just be your saver 😉
It will do exactly what you asked for: display most recent post from same category under the actual post.
I have installed the plugin in my site http://www.softwaredriverdownload.com and it works perfectly.