Timeline for Have parent category contain only one post?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 1, 2012 at 6:08 | comment | added | Lea Cohen |
@mdegges: That's what the code is supposed to do... Maybe the condition is wrong? Can you confirm that the code is actually executed? You can either run the code in debugger mode to see if it gets to those lines, or write echo statements inside the condition and see if they are written on your screen.
|
|
Jun 27, 2012 at 18:57 | comment | added | mdegges | Thanks for your help. I tried that and then clicked on 'Projects,' but I am now seeing the subcategories AND the post associated with 'Projects.' Do you know how I can remove the subcategories' posts? | |
Jun 27, 2012 at 5:58 | history | answered | Lea Cohen | CC BY-SA 3.0 |