i write some texts in the description place of the photo . i would like put my adsense code between my text
but i think it is not able to show with java code
also i tried to put by i frame html so result : adsense code show as iframe but piwigo system goes crazy
i am waiting your helps
i tihink sulation is easy but i don't know
Offline
i just want to know
which file can i add a like this function
if say me someone, will make me so happy :)
.....php ?
<?php
function adsense_goster() {
return ' '; }
add_shortcode('ads', 'adsense_goster');
?>
Offline
Hello,
If the code to add is just html, you can create a Template file in order to replace one .tpl. If it's more than one, I would say you should create a child theme. See theme folder and our doc/existing themes
If it's php, you need to learn how to create a plugin : use the doc and especially the plugin skeleton
Offline