Please try this PHP snippet instead. Also, please make sure that the listing has an attribute with the field name avis_knzd, as you have tried to display the value of this attribute in your code snippet
The problem is that I need a second block because the 1st āavis_knzdā is not displayed on all the listings. The āadsenseā block must appear on all listings before the description.
If you want to show the listing attribute with the field name adsense before the listing description on the listing page, then please change $listing->get_avis_knzd() on $listing->get_ adsense() in the last code snippet
I would like this code to be integrated on all listings (without creating a new attribute and having to manually integrate adsense into each listing) before the description:
Sorry for the inconvenience, but customization is beyond our support scope - it includes fixing bugs and guidance about the available features Support Policy | HivePress
If customizations are required for your site, please try customizing it using the collection of code snippets Search Ā· user:hivepress Ā· GitHub and other developer resources, or consider hiring someone for custom work https://fvrr.co/32e7LvY
Ok, is it possible to put a shortcode before the description instead? Maybe itās less complex? it would be nice to see in the next updates, the possibility of integrating adsense spaces in the themeā¦