Skip to main content
12 events
when toggle format what by license comment
Jan 9, 2014 at 2:20 history edited fuxia CC BY-SA 3.0
fixed typos and grammar
S Jan 7, 2013 at 1:19 history suggested Mateusz Hajdziony CC BY-SA 3.0
There was some confusion over post type and post slug, and which function can be used to test for them. The code in final edit was using a function to test for specific post, but the author of the question wanted to test for custom post type.
Jan 7, 2013 at 1:15 review Suggested edits
S Jan 7, 2013 at 1:19
Jan 6, 2013 at 23:57 comment added Mihad Aiko @toshco Thank you that works great lol :) Thank you for so much of your help. I'm learning a bit more :)
Jan 6, 2013 at 23:52 comment added Mihad Aiko I'm trying to avoid creating a single-{custom post type}.php for each custom post type.
Jan 6, 2013 at 23:50 history edited fuxia CC BY-SA 3.0
added 126 characters in body
Jan 6, 2013 at 23:34 comment added Mihad Aiko i didn't place the enueing in the header i placed it in the functions.php if i use is_single( 'pretty-little-liars' ) it won't work i have tried that. Are you saying that if i call it in functions.php i don't need to call it in the header, because it doesn't work by just calling it in the functions or just in the header.
Jan 6, 2013 at 0:34 vote accept Mihad Aiko
Jan 5, 2013 at 23:55 comment added fuxia @MihadAiko The order doesn’t matter.
Jan 5, 2013 at 23:52 comment added Mihad Aiko Het @Toscho thanks, but doesn't add_action( 'wp_enqueue_scripts', 'wpse78368_enqueue_custom_stylesheet' ); go before function wpse78368_enqueue_custom_stylesheet() {
Jan 5, 2013 at 20:38 history edited Chip Bennett CC BY-SA 3.0
added 573 characters in body
Jan 5, 2013 at 20:07 history answered fuxia CC BY-SA 3.0