The Loop

Where humor doesn’t work.
Feb 21, 2013 19:31
Should wp_list_pages() output classes like "current_page_ancestor" and "current_page_parent" by default? I'm getting a menu, but no classes at all. Could be a bug?
Nov 8, 2012 19:03
So, for under-the-hood API stuff?
Nov 8, 2012 19:00
[ I'm just wondering the kinds of things it might be used for ]
Nov 8, 2012 19:00
Backbone was recently added to core. Can anyone explain why we'd need that in WordPress?
Aug 30, 2012 17:10
To setup a proxy pass / mask situation, I just need to 1) setup the hosts directive, and 2) change the WP home_url, right? [ using wp multisite ]
Aug 24, 2012 11:46
Right. Ok, I'll do that. Thanks Rarst and anu.
Aug 24, 2012 11:45
@Rarst My site will just be another blog in the multisite
Aug 24, 2012 11:45
@anu interesting
Aug 24, 2012 11:45
I want to use WordPress for my non-blog site, and have it at accessed at a different url
Aug 24, 2012 11:44
I'm at a university. We've got a large no. of blogs, all on a blog server of some kind
Aug 24, 2012 11:42
Is this even possible?
Aug 24, 2012 11:42
But when people access the site, I want them to access it via: example.com/faculty/myblog
Aug 24, 2012 11:41
I want to have WP installed on our blog server: distance.example.com/myblog
Aug 24, 2012 11:40
Can I have my WordPress site installed in one place and accessed at a url somewhere else?
Aug 24, 2012 11:40
Hey all, quick question about redirecting
Jul 31, 2012 20:20
Perfect. Thanks!
Jul 31, 2012 20:17
@toscho but if I need to have something enabled?
Jul 31, 2012 20:07
Having the box checked by default works fine, but that value doesn't get sent to the database until the user clicks save on my Theme Options page
Jul 31, 2012 20:07
How can I get a default Theme Option to the database? I've got a checkbox that I want to be checked by default
Jul 19, 2012 14:40
so thanks for the nudge in the right direction!
Jul 19, 2012 14:40
@AahanKrish adding a class to the comment list <li>'s was a simple as putting it into the comment_class => comment_class('clearfix')
Jul 19, 2012 14:17
@AahanKrish Great Aahan. Thanks!
Jul 19, 2012 14:12
Is there a way add this class via a filter?
Jul 19, 2012 14:12
My li's simply aren't clearing their floats, and I want to add a class of 'clearfix' to each of them.
Jul 19, 2012 14:12
'Cause it's a rabbit's hole.
Jul 19, 2012 14:12
Hey all — I want to modify the comment form, without going down the rabbit's hole of the comment form.
Jun 22, 2012 18:15
@StephenHarris Didn't think so =)
Jun 22, 2012 17:51
wp_list_pluck(wp_list_pages) =)
Jun 22, 2012 17:51
Trying to return the top-most page in a list of hierarchal pages. Can I use wp_list_pluck and wp_list_pages together?
Jun 22, 2012 12:23
@StephenHarris Thanks for your help with this yesterday too: wordpress.stackexchange.com/questions/56088/… I left work just as you posted it and never got back to it last night. Thanks a million.
Jun 22, 2012 12:22
@StephenHarris I've been seeing it around a fair bit lately and wondered what it was up to. If I used it, I certainly wouldn't' have know why =) I think its a fairly basic/essential thing that I'm missing though
Jun 22, 2012 12:10
Know of a basic "$post for Beginners" ?
Jun 22, 2012 12:04
ack. It's always both
Jun 22, 2012 12:03
EXTREMELY basic question.....almost embarrassed to even ask this....but anyway.....here goes. Lots of functions use "global $post". Is this saying, "There's a global variable out there, outside of this function called $post, go get that and we'll use it." or is it saying, "Lets create a global called $post" ?
Jun 21, 2012 18:58
I'm using wp_list_pages to give me a list of my custom posts. How can I 'inject' taxonomy terms into the li classes? <li class="{tax-term}"> ?
Jun 20, 2012 15:09
Alright, that's a good bit to digest for the afternoon
Jun 20, 2012 15:08
I know, I know
Jun 20, 2012 15:08
[ sadly ]
Jun 20, 2012 15:08
[ that plugin actually only works for posts ]
Jun 20, 2012 15:06
aah
Jun 20, 2012 15:06
Something like single-pedagogy.php, or topics-pedagogy.php, etc
Jun 20, 2012 15:06
Post: Pedagogy
Jun 20, 2012 15:06
Custom Post Type: Topics
Jun 20, 2012 15:05
@StephenHarris I can't see a way to theme an individual custom post then
Jun 20, 2012 15:04
@TomJNowell HAHA!
Jun 20, 2012 14:59
@StephenHarris Knowing extremely little about how to fix this, it seems to me like just swapping 'post' for 'post' || 'capability_type' => 'post' might do the trick
Jun 20, 2012 14:56
Thanks.
Jun 20, 2012 14:56
@StephenHarris Right. Should have known. That's precisely why that custom post type template plugin exists.
Jun 20, 2012 14:53
@StephenHarris Gotcha. So even when I have my cpt set to have capability => page, it won't give me a template dropdown?