376 reputation
420
bio website
location
age
visits member for 3 years, 2 months
seen Apr 1 at 20:22

Feb
19
comment Multiple file inputs in array in theme options
Yes, I tried that, but didn't include it here. It returns the info of the file from input 1 (pastebin.com/3HuEZPiJ)
Feb
19
comment Multiple file inputs in array in theme options
@s_ha_dum Correct.
Feb
19
comment File input returns null in theme options array
@fischi I've progressed a bit and thus have created a new question with simplified code (although should be working this time) here: wordpress.stackexchange.com/questions/135186/…
Dec
16
comment Can't seem to get wp_localize_script to work
@s_ha_dum Tried your code but it doesn't seem to be working. I want to add some PHP vars to be used with JS without tying it to a specific script.. And nothing gets printed by your suggestion. Hm.
Dec
1
comment Is_single() conditional tag returns null in query
I appreciate your answer @Milo but since you answered at the same time as s_ha_dum and his answer is more elaborate I have to go with that one. Thanks alot though!
Dec
1
comment Is_single() conditional tag returns null in query
Also I need to get the categories and tags of these posts. Is that possible even?
Dec
1
comment Is_single() conditional tag returns null in query
Thanks, but if I use $post->ID rather than $loop->post->ID it gives me nothing..
Sep
16
comment Allowing access to certain Wordpress created pages or posts with htaccess / htpasswd
@Rarst You might be right. The reason I posted here was because there's already some .htaccess interaction happening within Wordpress, how posts and pages are assigned. Thus I figured it's somehow Wordpress specific how htaccess handles these rewrites.
Mar
31
comment How to create a multidimensional array with multiple loops
Thank you so much! You are right that isn't a specific Wordpress question. But I still decided to put it here rather than on Stack Overflow since there are alot of WP specific stuff in this particular case. Thanks again!
Jan
6
comment Adding Custom Styles to the MCE dropdown toolbar
I'm experiencing the same problem. @MihaRekar If I check HTML there's nothing wrapping the selected portion of text.
Dec
7
comment Remove parent slug for child pages
I don't think it does it automatically though..
Nov
26
comment Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
@JohannesPille In this specific case s_ha_dum's solution was what I was looking for although I recognize there's flaws to this method I know for a fact the the client only uses an iPhone or other iOS device to access the site and thus I tailored it to work for those devices. This is not ideal I know, but it saved me time.
Nov
26
comment Categories and products in random order
Where do you put this code?
Nov
26
comment Sorting Woocommerce products with numeric titles
I realize it's impossible for you to know what's wrong for my particular install. I will try and work with the MySQL solution instead. Could you please elaborate a little on how I can filter the results via MySQL for Woocommerce? I'm not sure where I should put any code or tie in with Woocommerce for this matter.
Nov
26
comment Sorting Woocommerce products with numeric titles
Thanks for your reply! I tried this: wordpress.org/support/topic/… but I didn't seem to work (The order didn't change when switching between asc/desc). What could be wrong?
Nov
17
comment TinyMCE Autoresize
@Hobo I know I would overwrite other plugins by doing as I initially wrote in the question, that was just for debugging purposes. As autoresize isn't part of TinyMCE for Wordpress it wouldn't work however I tried it. The plugin I wrote below does however work.
Nov
11
comment Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
Thanks for your reply! That could've been a valid approach. Unfortunately I'm on 3.3.2 and cannot upgrade WP because the site is built with very many custom scripts that possibly would break if WP is upgraded.
Nov
11
comment Publish page by invoking submit via jQuery
Solved it by having a secondary button like my example and having the original publish button hidden. Thanks for your help!
Nov
8
comment Publish page by invoking submit via jQuery
The problem is that I only have #publish in the real example, #secondary-publish was just something I used in this demo for illustration purposes (so it wouldn't collide with wp original publish meta box). In the real example you actually push #publish and there's a check via ajax and then it's supposed to published, so #publish is gonna get pressed indefinitely. It's all there in the pastebin in my last comment.
Nov
8
comment Publish page by invoking submit via jQuery
Thanks for your reply (and your corrections). It works as it should standalone, but when I implent it in where it's gonna be used it produces a loop. Hm, do you have an idea what I could do? pastebin.com/RBZq842m