2,517 reputation
2933
bio website ghosttoa.st
location United States
age 33
visits member for 2 years, 8 months
seen Nov 19 at 20:59

Father, Coder, Gamer


Jan
10
comment What does $_GET['iphone'] do?
There is not nearly enough information supplied to answer this. Please provide more code. Do you know what $_GET variables are? example.com/?iphone=something
Jan
10
comment Custom field in title
Are you trying to update these posts in the database, or just on the display side of things?
Jan
9
comment Check with jQuery value of checkbox from custom admin panel
So you need to save this somewhere. codex.wordpress.org/Settings_API
Jan
9
comment Only display link to author social media when it exists
Ah yes, "title" - took me a minute to see
Jan
9
comment Filter posts by custom field (Advanced Custom Fields)
Right. I gave you a link to a method for correctly forming arrays in $_GET, above. But the gist is ?arr[]=a&arr[]=b&arr[]=c etc;
Jan
9
comment Filter posts by custom field (Advanced Custom Fields)
Just install this, it'll make life easier: wordpress.org/plugins/error-log-dashboard-widget
Jan
9
comment Check with jQuery value of checkbox from custom admin panel
reading a checkbox's value with jQuery isn't really a WordPress specific thing. Although, what you might want to do after you learn the status probably is. Still, that question has been asked before at stackoverflow, no doubt. .is(':checked')
Jan
9
comment Filter posts by custom field (Advanced Custom Fields)
Chrome's console won't help with PHP, only javascript and CSS. Go read your logs, as you don't always get output
Jan
9
comment Filter posts by custom field (Advanced Custom Fields)
If you get a blank page, you should check your logs for the error report... You do have debugging enabled, right? Also, updated answer.
Jan
9
comment Custom post type won't take my custom fields
Not sure why you're defining the $kjdz_adress_meta_box variable in the register_post_type function, as it's not used there. Beyond that, try to use a little debugging to see what's going on. Does the action get fired? Where in the chain does it break? Make sure you have debugging enabled and check your logs. Even if you don't see something there, you can use breadcrumbs like file_put_contents() to write where you are at in the chain of events. See where this is breaking.
Jan
9
comment Custom post type won't take my custom fields
use add_meta_boxes hook instead of admin_menu
Jan
9
comment Change url tag name
What research have you done? The topic you need to learn about is htaccess rewrites wordpress
Jan
8
comment Using Iris Colorpicker on TinyMCE shortcodes page
require_once("../../../../wp-load.php"); <-- there has got to be a better way!
Jan
8
comment Add an access code form to call a unique page based on page without registration
This sounds like a great idea for a plugin, and is going to take quite a bit of work if you are new to plugin development. I would suggest reading about how to register shortcode. The rest of the work is going to be cleansing the $_POST variable to make sure its valid, and then using wp_redirect() to go to the permalink of the page in question. Sounds like a fun project, honestly!
Jan
3
comment GravityForms to Salesforce API, problem with people who leave out company
$form['id'] gravityhelp.com/documentation/page/Form_Object
Jan
3
comment GravityForms to Salesforce API, problem with people who leave out company
Sure, change the hook name from gform_pre_submission_1 to gform_pre_submission. It'll then run on everything unless you do a check inside to only run this given certain conditions, such as by form ID. you could also do the opposite of that. For example if(!in_array($entry['form_id'], array(2,5))) where 2 and 5 might be forms you don't want processed.
Dec
23
comment Change header when on home page
use is_front_page() instead, or target the actual page id and use is_page($x) where $x is the id of the page in question
Dec
19
comment Displaying a random user with a shortcode
well, foreach would imply you're doing this to more than one $user. We really just want to randomly select one from the deck and be done. You could still shuffle() before getting your array_rand(), which help to make the randomization more random probably.
Dec
19
comment Displaying a random user with a shortcode
Pretty simple. Modify your existing code and instead of 'orderby' => 'ID' you should be able to do 'orderby' => 'rand'.
Dec
19
comment Images in grid Twenty Eleven theme
Not sure what you're trying to do, but (24+1)*5 is always going to equal more than 100...