| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 10 months |
| seen | Sep 23 '12 at 13:35 | |
| stats | profile views | 4 |
|
Sep 23 |
awarded | Commentator |
|
Sep 23 |
comment |
Collecting Data from a Table I tried adding my solution but it wouldn't let me for x amount of hours then I just tried doing it again and someone's closed the thread so basically the workaround method I found involves this from gravity forms: gravityhelp.com/forums/topic/dynamic-checkboxes-1 |
|
Sep 21 |
comment |
Collecting Data from a Table Ok, thanks for that. I've actually just managed to figure out a way of doing this differently using Gravity Forms after all but for future reference I'll bare that in mind bud, cheers. |
|
Sep 21 |
asked | Collecting Data from a Table |
|
Aug 31 |
answered | Checking if Post Title is Unique as Loop Criteria |
|
Aug 29 |
comment |
Checking if Post Title is Unique as Loop Criteria Can anyone help please? |
|
Aug 23 |
asked | Checking if Post Title is Unique as Loop Criteria |
|
Aug 2 |
comment |
get_page_by_title() not returning anything That's cool, it's working for me so I'll just run with it! Thanks again bud. |
|
Jul 18 |
comment |
get_page_by_title() not returning anything Ok bud thanks for the advice. Could you answer one more simple thing for me please? Is there any problem with achieving this the way I found that works and just use the SQL query version? Any precautions I need to take or will it be fine just not to elegant. Thanks again for all your help bud :-) |
|
Jul 18 |
comment |
get_page_by_title() not returning anything Hi Max, I specifically sought out the code that was basically what get_page_by_title() contained to test it, how weird is this though? I've tried your suggestions and no matter what I try it will not work! I've done nothing to any Wordpress Core files and as far as I know my plugin's are doing nothing weird. The only reference to the function outside of the core definition is in the Types plugin and it is using it the same way I'm trying to just a bit more complex, no redefiniton. $exists = get_page_by_title($_POST['wpcf']['group']['name'],
'OBJECT', 'wp-types-group'); |
|
Jul 17 |
comment |
get_page_by_title() not returning anything Sorry, I'm having difficulty with the formatting of these responses |
|
Jul 17 |
comment |
get_page_by_title() not returning anything Even weirder, this works perfectly: add_filter('gform_field_value_parent_id', 'parent_id');
function parent_id() {
global $wpdb;
$posttitle = 'TESTID';
$postid = $wpdb->get_var( "SELECT ID FROM $wpdb->posts WHERE post_title = '" . $posttitle . "'" );
return $postid;
} |
|
Jul 17 |
comment |
get_page_by_title() not returning anything Nothing's working! Don't you just hate it when this happens! Any other ideas bud? As it is debugging is giving me nothing, do you perhaps know another way of checking this we can try? Oh one other thing when I try to use 'return $page->post_parent' or -> anything it gives me this error: Notice: Trying to get property of non-object in C:\xampp\htdocs\mydoctorschemist\wordpress\wp-content\themes\MyTheme\functions\gforms.php on line 69 |
|
Jul 17 |
comment |
get_page_by_title() not returning anything Thanks for your reply, I've tried what you said and I don't know if I'm being too literal but what form do you think OBJECT should take? I assumed it was as you'd written it here but that causes a php error (I've always had debugging turned on, it just didn't give me an error before): Catchable fatal error: Object of class stdClass could not be converted to string in C:\xampp\htdocs\mydoctorschemist\wordpress\wp-includes\formatting.php on line 510 Also the Wordpress Codex show it being used without all three calls codex.wordpress.org/Function_Reference/get_page_by_title. Thanks :-) |
|
Jul 17 |
asked | get_page_by_title() not returning anything |