634 reputation
414
bio website morganestes.com
location Edmond, OK
age 39
visits member for 2 years, 6 months
seen yesterday

I'm a Web Engineer with 10up, a WordPress core contributor, and a plugin author.


Jul
19
comment Change “Back” button text depending on where you came from?
How are you including the HTML: directly in a template or through a function in your theme/plugin? At what point does it get printed?
Jul
6
comment jQuery conflict in WordPress, works fine in HTML
When you said there's "a massive jQuery conflict" I assumed you were referencing something in particular. Is that not the case? Also, is the script that defines Grid (and parallax()) also enqueued with the right dependencies?
Jul
5
comment jQuery conflict in WordPress, works fine in HTML
What's the conflict message you're getting? Is this file loaded with wp_enqueue_script() with jQuery passed as a dependency?
Jun
15
comment Git Deploying - Disabling plugin/theme installation/update on remote?
@toscho Thanks for the info. I always wondered why there were two different ways and never knew when to use one over the other.
Jun
15
comment Git Deploying - Disabling plugin/theme installation/update on remote?
This may just be preference of core, but all the constants in wp-config.php are set using define() instead of const, probably because of the global use of them. define( 'DISALLOW_FILE_MODS', true ); matches the rest of the config file structure.
Apr
26
comment How do I get an external php page to load using javascript
Thanks for catching that @Pieter. Typo fixed now.
Mar
11
comment Menu of pages with an image
Would you mind posting your solution as an answer so others can learn from it?
Mar
11
comment Menu of pages with an image
Does this code work already and you're just trying to modify it so others can use it, or is some aspect of it not working? Plugin recommendations are off-topic, but if you can clarify what you've tried so far it'll help folks who are trying to help you.
Mar
9
comment Wordpress 3.8.1 Multisite blog slug problem
Editing core files is almost never a good suggestion. The changes you make will be overwritten when you update versions and may cause other problems with your site that you're not expecting.
Mar
4
comment my self hosted blog
Where did you transfer the site from, and how did you do the transfer?
Mar
4
comment Create a blank admin page from plugin
What have you tried so far? Post the code you've used so we can test it out.
Mar
2
comment Text editor has problem with having '<html>' in a post
Please reread the question. The OP isn't using invalid code in a theme or plugin; code is being used inside a pre tag inside a post.
Mar
1
comment Super administrator db name
I've set up a test multisite install with a single test site, an admin user on the site, and an additional network admin. All three of them show up in the user_capabilities column as "administrator".
Feb
27
comment Can't figure out why a jquery file is not loading!
When you're adding an external JavaScript file, it doesn't get parsed by PHP on the server, just by the browser. So this line: url: '<?php echo admin_url('admin-ajax.php'); ?>' doesn't actually produce the URL to admin-ajax.php so it's not going to work. You can add a line to your functions.php to create the URL for use in JavaScript, and I see that the fitvids script has already done this so you can follow their method to create a JS object that you can use in your scripts.
Feb
27
comment Can't figure out why a jquery file is not loading!
It's probably for the best that it's not loading. The code has a couple of serious issues, like triggering a print when the page is loaded, and trying to parse PHP inside the external JS file. Even if the script did load, it'd cause problems for you.
Feb
26
comment Warning: Illegal string offset on theme options page
@RichardMišenčík I've updated my answer with an update specific to the line 75 echo problem. Take a look and let me know if it helps or if you have any questions about it.
Feb
25
comment Warning: Illegal string offset on theme options page
Also, there are other Codex examples of using echo for HTML, so that method is perfectly valid (if more challenging to read and maintain). codex.wordpress.org/Settings_API
Feb
25
comment Warning: Illegal string offset on theme options page
Since both are supported and useful, I'm not sure there's a "proper" technique. I do my best to follow the WordPress coding standards, but on this one there's not a standard yet (see make.wordpress.org/core/handbook/coding-standards/php/…), although many examples do use the opening and closing tags to offset the html (see codex.wordpress.org/Creating_Options_Pages).
Feb
23
comment How do I get an external php page to load using javascript
I don't understand. The code you have loads both a stylesheet and a JavaScript file from the SAME URL (thepage.php?uid=1234)? Also, are you just trying to load a script from an external source, as the code suggests?
Feb
23
comment How To Add WordPress Style Toggle Boxes
Take a look at the code AIOSEO uses to create the box you reference and try to replicate it in your plugin.