Plusieurs liens en php avec div sur tout un espace pour chaque logo affiché
-
Hello everyone,
My current WP configuration
MySQL Version: 5.5.62-0ubuntu0.14.04.1 – (Ubuntu)
PHP Version: 7.0.33
WordPress version: 5.2.2-en_US
Theme used: Greenfarm
Extensions In Place: Advanced Custom Fields, Akismet Anti-Spam, All in One SEO Pack, Contact Form 7, Easy Testimonials Pro, Envato Market, Fruitful Shortcodes, GDPR Cookie Consent, Gravity Forms, GreenFarm Shortcodes, No CAPTCHA reCAPTCHA for WooCommerce, Really Simple CAPTCHA, MailPoet 2, Ultimate Shortcodes, Slider Revolution, Smart Logo Showcase Lite, Wpshopmart Pro Tabs, Woocommerce, WP Responsive Menu, WPBakery Page Editor
Name of the host: Plesk
Website address:On this page I would like my link to be on all black square space. Currently the link is on the leaf icon, and I would like this to be like on the homepage. If I put the same code as on the homepage it does not work.
Here is my code in the page, the main lines that pose me problem are from 19 to 23
<?php $taxonomies = array( 'taxonomy' => 'car_marque'); $args = array(); $terms = get_terms($taxonomies, $args); if (sizeof($terms)>0) { foreach ( $terms as $term ) { if($term->parent == 0){ ?> <div class="smls-grid-image-wrap smls-overlay-title-center smls-external-link-wrapper"> <div class="smls-grid-pad-container"> <img />logo/<?php echo $term->slug; ?>.png"> <div class="smls-overlay-all-wrap"> <div class="smls-overlay-title"> <?php echo $term->name ?> </div> <a>"><span><i class="fa fa-leaf" aria-hidden="true"></i></span></a> </div> <div class="smls-overlay-wrap"> <a class="smls-overlay-wrap" href="<?php if ( isset( $smls_option[ 'logo' ][ $logo_key ][ 'logo_external_link' ] ) ) { echo esc_url( $smls_option[ 'logo' ][ $logo_key ][ 'logo_external_url' ] ); } ?>" target="_blank"></a> </div> </div> </div> <?php } } } ?>
Do you have a solution for the link to be on all the square space of the vehicle brands?
- This topic was modified 5 years, 3 months ago by .
- This topic was modified 5 years, 3 months ago by .
- This topic was modified 5 years, 3 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Plusieurs liens en php avec div sur tout un espace pour chaque logo affiché’ is closed to new replies.