Reputation
656
Next tag badge:
7/100 score
5/20 answers
Badges
5 14
Newest
 Yearling
Impact
~18k people reached

Jan
5
comment How to limit WP_Query to one result on the loop?
Couple of things to check: what is the value of $normal_args['posts_per_page'] prior to your first creation of WP_Query, and how many posts get returned from just a simple WP_Query (without the array_merges you have going on)?
Oct
9
comment Allow up to 5 Concurrent Login Sessions
What do you consider to be "activity" on the site? Is it viewing pages, interacting with specific elements on the public pages, creating/editing content or administering the site, or something else? Is there a room for "low activity" below a threshold, or just no activity at all in that 4 hour timeframe?
Aug
21
comment File Not Found error returned when trying to access Media Library in Wordpress 4.2. Plugins cannot be installed either
Your question says you get a 404 for /wp-admin/uploads/, which makes sense because that folder shouldn't exist in /wp-admin/ (it's in /wp-content/). There a file called /wp-admin/upload.php, though. Can you double-check the 404 error for which one it is?
Aug
21
comment WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for
Have you searched through your code (themes and plugins) for that SQL query, or one like it? I've tried several variations in WP core and can't find it, so I'm wondering if there's a plugin or a query in your theme that's running into this. It looks like where the query is created, the value that's being passed to ID isn't generated, so the query fails since it doesn't know how to handle it stopping abruptly with ID=.
Aug
21
comment File Not Found error returned when trying to access Media Library in Wordpress 4.2. Plugins cannot be installed either
Has this worked in the past and just stopped? Have you upgraded WP recently or added/removed/updated a theme or plugin? Check the server's PHP logs to see if there's an error being thrown in there that can help point to where the problem is.
Aug
21
comment 'Notice: Undefined index' error on plugins page
Try switching to another theme (like Twenty Fifteen) to see if the error goes away. That will help you figure out if there's a problem with that theme.
Aug
4
comment Can't create child themes. “Stylesheet is not readable.”
Have you checked out codex.wordpress.org/Child_Themes yet? Try to follow along with the example there and see if you can create a basic Twenty Fifteen child theme. If that works, you can apply that code towards your other child theme.
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.