182 reputation
211
bio website
location
age
visits member for 2 years, 3 months
seen Jan 21 at 5:02

Jun
23
comment Nonce failing with second argument
Fails on check_admin_referer($pluginmaker_nonce, $pluginmaker_nonce);. Fails on check_admin_referer('pluginmaker-nonce-key', $pluginmaker_nonce);. Works on check_admin_referer('$pluginmaker_nonce');. Weird...
Jun
23
comment admin.php taking 14 seconds
@chrisguitarguy Normally it shouldn't take that long, no? Even on a shittiest localserver. I'm not sure how to ask.. where do I go from here?
Jun
22
comment Nonce failing with second argument
@Wyck Tested, it's not because of that (still gives that error). But I think it's more because how pluginmaker-nonce-key is totally different from _wpnonce. $pluginmaker_nonce seems to me is defined ..weird.
May
31
comment jQuery does not enqueue for my purpose… (before an inline script in the footer)
@AndrewBartel Part of my script has to be dynamically made, using variables from my plugin. (I'm looking into how to achieve my goal without that, but this is still a valid approach, no?)
May
31
comment jQuery does not enqueue for my purpose… (before an inline script in the footer)
@Rarst TRhank you!! I saw that it loads after my code.. I should put wp_enqueue_script( 'jquery' ); outside of myscript_jquery() function. It's working now. :)
May
20
comment How to handle shortcodes through plugin
You're absolutely right. I'm a dumbass x_x (it's somehow working now)
May
20
comment Can't seem to get [shortcode]s to work
@Milo Thank you! It works now from the theme's function.php. Any idea how could I put it into my plugin code and make it work? Or is that simply not possible?
Nov
25
comment Can I change header.php of current theme through a plugin function?
I just tested and it appears that child theme's header.php completely overrides the parent's. As in it doesn't care what's in its parent's header.php. Doesn't that mean that any updates to parent's header.php wouldn't matter unless they are manually copied to the child?
Nov
25
comment Can I change header.php of current theme through a plugin function?
So as I understand it, a child theme's header.php would need to override parent's with whatever I want it to, right? For that I'll need to copy parent's header.php and add to that. But then any updates to the parent theme wouldn't apply, right? So isn't there anything more .. permanent?
Nov
25
comment Can I change header.php of current theme through a plugin function?
@toscho no, the <header> inside the <body> tag.
Nov
3
comment Where does the uploaded image go?
Thanks. Also, how would I refer to it (in php)? (without knowing the particular URL) ..like if I wanted to use the uploaded image in my theme's header?
Aug
2
comment Basics: adding template tag to display custom fields in the post
Actually I'm going over with the rest of the tutorial, but I was just curious why that isn't working. Does it mean something else by "post" than what I understand?