Skip to main content
9 events
when toggle format what by license comment
May 18, 2013 at 0:17 history edited fuxia
edited tags
Dec 22, 2012 at 7:44 vote accept Dz.slick
Dec 14, 2012 at 12:42 answer added barakadam timeline score: 1
Dec 14, 2012 at 12:34 comment added barakadam I am starting to understand your confusion. Please answer me: where did you place this code in your theme's folder: index.php? page.php? single.php?
Dec 14, 2012 at 8:22 history edited Dz.slick CC BY-SA 3.0
added 104 characters in body
Dec 14, 2012 at 8:22 comment added Dz.slick Barakadam, It works but it brings all the posts in the category instead of the one that was clicked on.
Dec 14, 2012 at 7:54 comment added barakadam Not clear : if you only want the current post, why would you bother searching it by category? Something is not logical in your question : if you are on the URL of the post you are looking for, then you already have the post! You might just check that it has a certain category applied to it, but you already have it. And you can directly echo the_title, the_content, etc. without having to execute a query_posts...
Dec 14, 2012 at 6:32 answer added markcbain timeline score: 0
Dec 14, 2012 at 6:07 history asked Dz.slick CC BY-SA 3.0