miguel84
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: String before price only for variable productsI will try that, thank you.
Also, is it possible to only add this string on category pages and not on product pages?
thanks in advance
Forum: Fixing WordPress
In reply to: Images not working after moving WordPress to another domainOK i found out the problem. Not with DB, but images files. After being zipped uploaded and uncompressed, the special chars go funny. I’ve tried different formats on cpanel zip gzipped etc and backwpup and no luck…
Forum: Fixing WordPress
In reply to: Images not working after moving WordPress to another domainHi
search and replace doesn’t work im afraid. all other methods dont as well. The weird thing is, on image library, the path to images is correct, the special chars like ? doesnt change to weird chars, but images dont open in spite of being in uploads folder…. very very weird…
Forum: Plugins
In reply to: [WHMCS Bridge] WHMCS V6Domain Checker not working….
After connect the site to FB profile, where do I select the page? Cheers
Forum: Fixing WordPress
In reply to: How to get taxonomy nameI had to go with a different approach
$country = strip_tags( get_the_term_list( $recent->ID, 'location', '', ', ', '' ) );
Thanks for your time
Yes my friend, it works now. Thank you
Forum: Fixing WordPress
In reply to: How to get taxonomy namevar_dump result:
array(1) {
[145]=>
object(stdClass)#104 (10) {
[“term_id”]=>
string(3) “145″
[“name”]=>
string(8) “Portugal”
[“slug”]=>
string(8) “portugal”
[“term_group”]=>
string(1) “0″
[“term_taxonomy_id”]=>
string(3) “146″
[“taxonomy”]=>
string(8) “location”
[“description”]=>
string(0) “”
[“parent”]=>
string(2) “95″
[“count”]=>
string(1) “2″
[“object_id”]=>
string(3) “238″
}
}Forum: Fixing WordPress
In reply to: How to get taxonomy nameStill NULL….
Forum: Fixing WordPress
In reply to: How to get taxonomy nameDoes not work and if I do
$name = $terms->name;
var_dump($name);I get NULL….
Forum: Plugins
In reply to: How to display taxanomy field from latest posts$recent->ID returns null value…. But it shouldn’t…
Forum: Plugins
In reply to: How to display taxanomy field from latest postsSo my $terms[0]->slug is empty…
Any idea why???
Forum: Plugins
In reply to: How to display taxanomy field from latest postsok so I got to this:
<h2>Recent Posts</h2> <ul> <?php $args = array( 'numberposts' => '15' ); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ $terms = get_the_terms( $recent->ID, 'location' ); $flagimg='<img src="'.get_bloginfo('template_directory').'/images/flags/'.$terms[0]->slug.'.png" alt="'.$terms[0]->name.'" border="0" />'; echo '<li class="country-'.$terms[0]->slug.'"><a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >'.$flagimg.' '.$recent["post_title"].'</a> </li> '; } ?> </ul>
but the img src link i get is: https://inovve.net/expoff/wp-content/themes/inovve/images/flags/.png
ie the taxonomy name is missing…. :/
Forum: Plugins
In reply to: [Transposh WordPress Translation] Automatic translation show   everywhereI have problem with nbsp; characters appearing…. is there a fix already????