I've the below php to display the content of the post id#9 on my 'home page' of my site, so that whenever the client updates the page, it's reflected on the homepage as well - rather than having to ...
I'm trying to achieve a similar effect to get_page($id), but with the current post acting as the argument for get_post(). Something like this pseudocode: get_post($this=>ID); . Seems simple, but I ...
I want get all categor and after that i want get 5 post per category. but my code not work! http://pastebin.com/vxDSGGZk <?php $categories=get_categories(''); foreach($categories as ...
I would appreciate if any one could help me on this, I am trying to pull all the attachments from media library using get_posts, every thing works well but it does not shows the pagination at all. ...