Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Bookmarks inbookmarks:mine
inbookmarks:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options user 2527

Themes create the public (front-end) interface for a WordPress site.

0
votes
2answers
Looking to add an action to wp_head but only if the user is in "theme customizer" mode. Does anyone know if there's a conditional for this?
asked Apr 1 '13 by Brian
2
votes
1answer
So, after poking around in the code it looks like the filter image_make_intermediate_size is not called by the various WP_Customize_Control() classes at either WP_Customize_Image_Control() or it's par …
asked Apr 28 '13 by Brian
0
votes
2answers
This should b really easy but I can't find reference - easy points for someone! I have an option in my wp_options table, and need to set it via update_option(). I just can't find the correct syntax …
asked Dec 8 '13 by Brian
1
vote
3answers
So I am using the http://woothemes.com/woocommerce/ plugin for eCommerce and it's registering jQuery local and conflicting with my default jQuery call from Google CDN. It took a long time but I isola …
asked Mar 5 '12 by Brian
1
vote
Sorry for being dense, you need to grab the object, overwrite the key you want to set and then save the updated object as the new option: $my_plugin_settings = get_option('my_plugin_settings'); $my_p …
answered Dec 8 '13 by Brian
0
votes
1answer
Simple question but I can't find an answer - how do I find whether the current blog in a multisite network has a given plugin activated (speaking about plugins that are available to all sites on the n …
asked Aug 10 '13 by Brian
0
votes
Looks like get_option('active_plugins) does the trick. Also, this question has already been answered here, sorry for the duplicate: How to Check If A Plugin Is Enabled Through API?
answered Aug 10 '13 by Brian
1
vote
1answer
In the Theme Customizer, I've got a custom add_action('wp_handle_upload', 'upscale_responsive_bg_imgs') which upscales responsive background images when uploaded from the theme customizer. It's worki …
asked Oct 19 '14 by Brian
1
vote
Thanks to the tipoff from @birgire in the comment, I was able to locate two things, an example of an implementation that includes context, here (also of note is that the Github gist has code for the v …
answered Oct 20 '14 by Brian
2
votes
If someone has a better solution, I'm open to it, however, what I came up with seems to work fine. Basically the following code is just waiting for the image to finish uploading and then hooking in …
answered Apr 28 '13 by Brian
10
votes
2answers
I'm trying to create a simple function to do a "status test". Goal is to test and see if the current page being viewed has any child pages or not. Using this to alter layout to accomodate child page …
asked Dec 7 '11 by Brian
0
votes
0answers
I have some layout changes that are being applied to the_content. I need to do one of two things, but neither is working as expected... either: Pass data to the filter so that it knows if it is a "l …
asked Dec 16 '13 by Brian
2
votes
2answers
I need to "unhook" jQuery from my wp_footer() ... it's being called automatically and I'm looking for something I can add to functions.php which prevents it from being called a second time in the foot …
asked Feb 1 '12 by Brian