2,469 reputation
2932
bio website ghosttoa.st
location United States
age 33
visits member for 2 years, 6 months
seen 10 hours ago

Father, Coder, Gamer


Jun
30
comment Multisite: List all Blogs alphabetically
And in English: us1.php.net/manual/en/function.usort.php
Feb
13
comment Which hook to add action on specific page?
Just a guess but thinking $id !=='112'` is too strict a comparison. Won't $id be an integer, and not a string? Either lose a = or lose the apostrophies ''
Jan
31
comment Calling mysql_query() on another database, assumes WordPress using that database
@AndrewBartel if you want to submit such an answer formally, I'll gladly accept it
Jan
31
comment Calling mysql_query() on another database, assumes WordPress using that database
Works splendidly with mysqli, and I was forced to improve to a better mysql class. Thanks @AndrewBartel
Jan
31
comment Calling mysql_query() on another database, assumes WordPress using that database
Same thing happens if I pass $link to mysql_query, going to try MYSQLi now if I can
Jan
29
comment Removing Author name
where's the rest of the code?
Jan
29
comment Possible to change the slug of default post type?
Guessing your post type is called something other than "notes"?
Jan
29
comment how is it possible that using wp_insert_category throw a fatal error?
Your question has already been answered possibly: stackoverflow.com/questions/12170554/…
Jan
29
comment Sign in with social media accounts without creating a WP account
Something like this should work, untested: wordpress.org/plugins/oa-social-login
Jan
27
comment Adding dashicon fonts to the admin of pre 3.8 installs
What browser(s) are you witnessing this in? I've seen this happen in Chrome quite often. And not just with dashicon fonts. It is somewhat common for admin-side fonts to flip back to something unusual until a bit of a screen refresh occurs (resizing browser for example, or hovering over items).
Jan
24
comment Loading by Ajax a plugin that also uses Ajax
This is how the robot wars begin...
Jan
23
comment Wordpress Image Resize fails without Error Message
you checked logs for error? debug is on? you don't always see an error if one is thrown, can sometimes quietly occur.
Jan
22
comment What is the point of get_comment_count() if you cannot limit by a comment type?
seems if you can get the comment_count fast, without type, you may be able to process it after it's retrieved? might be only option with given indexes
Jan
22
comment Load post with a different template?
die() seems a bit harsh. break perhaps?
Jan
17
comment Redirect logged in users if they are on a specific page
check error logs, but wp_redirect() will usually only work if headers haven't been sent yet, so has to happen before get_header(). Actually that seems like legit hook cause it's before headers...
Jan
16
comment Add item to media library from blob or dataUrl
Are the files already on an FTP source somewhere?
Jan
16
comment Can't change parent page
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes.
Jan
15
comment Custom Post Type Author limit
As well, you shouldn't comment on that question or answer with your own issues. Experiment and see what you can create! Use your imagination!
Jan
15
comment Insert/Update DB table when making new post or update older one
Have you read this yet? Creating Tables with Plugins « WordPress Codex
Jan
15
comment Custom Post Type Author limit
Here is a previous answer which may help: wordpress.stackexchange.com/a/50012/13676