mula4
Forum Replies Created
-
Forum: Plugins
In reply to: [Piraeus Bank WooCommerce Payment Gateway] Result code is 1049@tseitan Έχω την εντύπωση ότι τελικά αλλάξαμε τους live κωδικούς.
Χωρίς να είμαι 100% σίγουρος πάντως.Forum: Plugins
In reply to: [Piraeus Bank WooCommerce Payment Gateway] Result code is 1049Ευχαριστώ πολύ για την απάντηση, θα επικοινωνήσω με την τράπεζα.
Καλή συνέχεια.Forum: Plugins
In reply to: [Colorful Categories] How To Get ColorThe final code that worked is ”
foreach ( $terms as $category ) {
$color = ColorfulCategories::getColorForTerm($category->term_id);
$term_list .= ‘<a class=”col-12 col-md-12 col-lg-6″ style=”background-color: ‘.
$color .'” href=”‘ . esc_url( get_term_link( $category ) ) . ‘” alt=”‘ .
esc_attr(
sprintf( __( ‘View all post filed under %s’, ‘my_localization_domain’ ),
$category->name ) ) . ‘”>’ . $category->name . ‘‘;
}
echo $term_list;?>thank you very much for your help!
Forum: Plugins
In reply to: [Colorful Categories] How To Get ColorHello,
i tried but the generated code is the code below.
How can i use the value $color as a background color of the tag?
Forum: Plugins
In reply to: [Colorful Categories] How To Get ColorHello , i display my categories like this.
<?php
$terms = get_terms( ‘arthra_categories’);
foreach ( $terms as $category ) {
$term_list .= ‘<a class=”col-12 col-md-12 col-lg-6″ href=”‘ . esc_url(
get_term_link( $category ) ) . ‘” alt=”‘ . esc_attr( sprintf( __( ‘View all post
filed under %s’, ‘my_localization_domain’ ), $category->name ) ) . ‘”>’ .
$category->name . ‘‘;}
echo $term_list;?>I think i should put the code get_term_meta($term_id, ‘cc_color’, true); under $terms = get_terms( ‘arthra_categories’);
But then what i will have to do?
Thank you