| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 1 year, 11 months |
| seen | Mar 21 at 10:43 | |
| stats | profile views | 20 |
|
Aug 10 |
accepted | how to get tax percentage in wp-ecommerce |
|
Aug 10 |
accepted | Importing posts from XML into custom post type |
|
Aug 8 |
accepted | run script on publish |
|
Aug 5 |
revised |
run script on publish added 24 characters in body |
|
Aug 5 |
comment |
run script on publish Hi Otto, it needs it in this case as the script is run outside of WordPress as well as using this method but maybe I could check for this anhd thennot load it if within WordPress. |
|
Aug 5 |
revised |
run script on publish added 375 characters in body |
|
Aug 5 |
revised |
run script on publish added 241 characters in body |
|
Aug 5 |
comment |
run script on publish I have tried that as well as trying ` include( $_SERVER['DOCUMENT_ROOT']. "/wp-content/plugins/bb-jobs/jobsfeed.php" );` i get no errors and I think that the file is being run now but it seems the file that is running ( a page that has the loop on it to create an xml file) it seems like it only updates the new edits and blanks everything else which is very odd. The file being run is simply a loop with require_once wp-load.php and works fine if i go direct to the file. |
|
Aug 5 |
revised |
run script on publish added 21 characters in body |
|
Aug 5 |
asked | run script on publish |
|
Aug 5 |
comment |
how to get tax percentage in wp-ecommerce interesting I have enabled it and also added in a tax value but i get nothing. I have only pt in a value and left it as all markets. What globals are you using? |
|
Aug 4 |
asked | how to get tax percentage in wp-ecommerce |
|
Jul 26 |
awarded | Teacher |
|
Jul 26 |
accepted | how to search in custom fields & custom taxonomy for custom search |
|
Jul 26 |
answered | how to search in custom fields & custom taxonomy for custom search |
|
Jul 25 |
awarded | Commentator |
|
Jul 25 |
comment |
how to search in custom fields & custom taxonomy for custom search UPDATE: I feel like I am almost there but can anyone spot what I am doing wrong here: $where .= "OR (t.name LIKE '%".trim($_SESSION['js'])."%' AND {$wpdb->posts}.post_status = 'publish')"; $where .= "OR ($wpdb->postmeta.meta_key = '_job_ref' AND $wpdb->postmeta.meta_value = '".$_SESSION['js']."')"; |
|
Jul 25 |
comment |
how to search in custom fields & custom taxonomy for custom search I have got the search taxonmy from teh code above to work so now just need the custom fields part. I assume i need the sql part for the custom fields to be added to the end of this: $join .= "LEFT JOIN {$wpdb->term_relationships} tr ON {$wpdb->posts}.ID = tr.object_id INNER JOIN {$wpdb->term_taxonomy} tt ON tt.term_taxonomy_id=tr.term_taxonomy_id INNER JOIN {$wpdb->terms} t ON t.term_id = tt.term_id"; |
|
Jul 25 |
comment |
how to search in custom fields & custom taxonomy for custom search The search everything plugin works fine for the wordpress search but i need to be able to do it for my own search which is for a job search for a particular custom post type with many different filters. |
|
Jul 23 |
comment |
how to search in custom fields & custom taxonomy for custom search The search I am using does nit use the built in search itis a search that filters the wp query |