1,512 reputation
620
bio website
location Rotherham, England
age 48
visits member for 3 years, 6 months
seen Mar 30 at 9:18

Jun
21
comment How to get a nofication when post submitted
Have edited my original post with the changes, try that big block of code again, have added a little to it regarding the action hook
Jun
21
revised How to get a nofication when post submitted
edit post to include final working code and avoid confusion
Jun
21
comment How to get a nofication when post submitted
changing if ($result->post_status == "pending") { to if ($result->post_status == "publish") { should do it..
Jun
21
revised How to get a nofication when post submitted
added 6 characters in body
Jun
21
answered How to get a nofication when post submitted
Jun
21
comment Adding featured image via PHP
does it have to be added via .php or could you consider a plugin?
Jun
21
comment orphaned taxonomy terms remove by sql query
Ok this is where i am now, but im still dubious at how these terms are assigned to wp_posts... DELETE tr FROM wp_term_relationships tr INNER JOIN wp_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.taxonomy = 'location' OR 'property_type' OR 'region' OR 'sale_rental' OR 'price' AND tr.object_id NOT IN (SELECT ID FROM wp_posts);
Jun
21
comment orphaned taxonomy terms remove by sql query
Getting close ( i think ) seems someone else has been looking at the same issue and come up with this: DELETE tr FROM wp_term_relationships tr INNER JOIN wp_term_taxonomy tt ON (tr.term_taxonomy_id = tt.term_taxonomy_id) WHERE tt.taxonomy != 'link_category' AND tr.object_id NOT IN (SELECT ID FROM wp_posts); which sort of works by cleaning out some orphaned records, but my dropdowns are still populated with the orphaned terms, im struggling to see how these are associated to a post id which would make it a heck of a lot easier to find a way around
Jun
21
comment 500 internal server error
what is your permalink structure?.. heavy sql queries can often be associated with custom permalinks that can hammer resources
Jun
21
revised Customize category page for different custom taxonomies
added 14 characters in body
Jun
21
answered Customize category page for different custom taxonomies
Jun
20
comment Custom Post Type Template - Archive
glad to be of help.. kinfa reminds me of when i was messing around with a user role mod for 3 days (went almost bald) and then someone kindly pointed out i spelt contributer wrong...hahah
Jun
20
comment Custom Post Type Template - Archive
you may not even have to bother with the 'has_archive' => 'true'; as i see your not using a rewrite, just try the file rename from plural to single first
Jun
20
answered Custom Post Type Template - Archive
Jun
20
answered Custom Post Types, or completely custom?
Jun
20
revised orphaned taxonomy terms remove by sql query
added 82 characters in body; edited body
Jun
20
comment Is user listing on wordpress private?
i take it by your reference to "google" that this "small panel" of user info is visible on the front end, have you looked at your source code to pinpoint something like a div css selector name and ran a search through your files to locate where this panel is and then zap the whole div?
Jun
20
revised orphaned taxonomy terms remove by sql query
added 34 characters in body
Jun
20
asked orphaned taxonomy terms remove by sql query
Jun
20
comment How to disable “Audio Player” to show up on the main page
By post page do you mean "single post" page?