i tried
avf_transparency_logo_data and avf_header_setting_filter – but with no luck
so how to have on a specific page a different transparency logo if both are svg files ( with png or jpg there are many options ) but with a svg file it seems that the replacement of the img tag to inline svg hampers the known methods.
Hey Guenni,
Thanks for contacting us!
Could you please try using following code
function replace_transparent_logo_on_some_pages($sub){
if( is_page( 59 ) ){
$sub = 'content of the SVG file here';
}
return $sub;
}
add_filter('avf_logo_subtext','replace_transparent_logo_on_some_pages');
This does work on my local installation with SVG :)
Best regards,
Yigit
The svg code itself – that might be possible – hope that linebreaks in the svg code do not disturb that solution.
i will inform you about that trial.
…
Edit: that works – if you have set to the enfold options a transparency logo on default. If it is set – we can replace that – with your snippet.
Is solved – Thanks