GuidoCimurro
Forum Replies Created
-
Forum: Plugins
In reply to: [SEO Auto Links] Custom FieldsHi, thanks for your reply.
In my custom post type I’ve some custom fields that I use to describe an object; for example, if I would review a supplement, I could have
Introduction custom field
Posology custom field
Ingredients custom field
Price custom field
Warning custom field
…It could be a good idea expose a function to apply substitutions on the fly in the theme, for example I use
$Ingredients = get_the_terms( $post->ID, ‘ingredients’ );
echo wpautop($Ingredients);and I’d like to have
echo wpautop(autolink($Ingredients));
Thank you so much for your reply and, please, forgive my English.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] [Plugin: Relevanssi] Error in error_log_phpThat’s great! Thank-you so much!
Forum: Plugins
In reply to: [Relevanssi - A Better Search] [Plugin: Relevanssi] Error in error_log_phpI solved excluding the third query
if (isset($taxonomy)) {
$term_id = $wpdb->get_var(“SELECT term_id FROM $wpdb->terms WHERE name LIKE ‘$taxonomy_term'”);
$term_tax_id = $wpdb->get_var(“SELECT term_taxonomy_id FROM $wpdb->term_taxonomy
WHERE term_id=$term_id”);
$taxonomy = $term_tax_id;
}with
//if (isset($taxonomy)) {
if (1==2) {
$term_id = $wpdb->get_var(“SELECT term_id FROM $wpdb->terms WHERE name LIKE ‘$taxonomy_term'”);
$term_tax_id = $wpdb->get_var(“SELECT term_taxonomy_id FROM $wpdb->term_taxonomy
WHERE term_id=$term_id”);
$taxonomy = $term_tax_id;
}Is that query to scan custom taxonomies?
Thanks and sorry for my bad english.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] [Plugin: Relevanssi] Error in error_log_phpSame error for every search.
WordPress 3.0.1
Relevanssi 2.0.3Thank-you for your helping!