7,973 reputation
31346
bio website ialoc.in
location Germany
age 35
visits member for 2 years, 6 months
seen 2 hours ago

Openness of information is first and foremost a social model


13h
comment How to get all the predefined do_action() calls from an active theme
Because you're already addressing the specific element in the array. The first level are the hook names/tags. To get all your »pre_*« hooks you have to iterate and/or search through the array, there are plenty of threads how to do this on Stack Overflow. Or at least I don't know of a build-in functionality to do it with.
15h
comment How to get all the predefined do_action() calls from an active theme
Do you do add_action( 'pre_kk', 'your_function' ) to your do_action( 'pre_kk' )? Because otherwise - if I'm not totally mistaken - it won't be added to $wp_filter.
15h
comment Get value of one meta key from different meta key
Can you please rewrite your question? It isn't understandable - to me at least - what you want.
15h
comment Execute Closing Shortcode After the_content
Isn't do_shortcode() hooked to the_content with priority 11, and shouldn't the shortcode just be parsed if added to the content beforehand, or am I missing something? @BradDalton
15h
comment Execute Closing Shortcode After the_content
Stay cool, calm and collected - people are just trying to help you, right?
16h
revised Woocommerce Filter Main Loop by Tag
edited tags; edited title
1d
comment Do attachments added to custom post types have a post parent?
Are the links to the post you uploaded the attachment to at the media library overview correct? Besides, don't worry, you know the invisible hand will take care of it :) You surely never heard that one before :D
1d
comment Multisite infinite redirect loop
Too bad, luckily you solved it for your needs, but that can't be a solution for everyone. @NazarSerdyuk Have you seen this Q&A's?
2d
reviewed Reviewed How to change the color theme per post?
2d
reviewed Reviewed Only i can see that the images are missing, but other user see them just fine showing
2d
reviewed No Action Needed how to change the wp register page url from www.site.com/register-2 to www.site.com/register
2d
reviewed Reviewed best place to fix corupted links on invalid search caused by spider/bot
2d
comment outerHeight not working in wordpress
jQuery noConflict Wrappers information might help you, although the script should work, outerHeight() in and of itself isn't the problem, so you have to inspect a little bit more I guess.
2d
comment Best way to create onepage wordpress theme
Yea, ask three developers what the best way is and get five answer what that way would be.
Apr
15
answered Multisite infinite redirect loop
Apr
14
comment Best way of passing PHP variable between partials?
Don't shoot the messenger :) The only thing I said is, it is indeed a scope problem. There is a way, it is global, right? But it is out of the question for good reasons. Besides you kind of have to "call" global-variables too, by using the keyword to make them available. Depending on the use case sessions might be a solution. Otherwise - as mentioned - I think a function or a class to do the job for you is the way to go.
Apr
14
comment Best way of passing PHP variable between partials?
PHP Manual: Variable Scope
Apr
14
comment Should I make data available using an exported file or an ajax request?
I personally wouldn't save to a file, you are not having a real benefit from it in most cases, if ever. Make use of AJAX supported by a caching mechanism via transients. That way you can account for changes in the data and have a pretty fast solution. I have done this for some map solutions, which are JS/jQuery based, with thousands of posts, so hundreds shouldn't be a problem.
Apr
13
comment Display child pages on homepage template
Someone usually does.
Apr
13
comment Display child pages on homepage template
Yea, you needed to read the correct documentation, the one for WP_Query, thats all :D But, hey, you solved it!