-
AuthorPosts
-
September 21, 2017 at 7:01 am #854649
Hi I managed to change logo for page
http://www.ultimatestorage.com.au/flooring-rangeusing
add_filter(‘avf_logo’,’av_change_logo’);
function av_change_logo($logo)
{
if( is_page(1826) ) {
$logo = “http://www.ultimatestorage.com.au/wp-content/uploads/2017/09/ultimate_logo.jpg”;
}return $logo;
}However, I found that this function does not work for folio page. I am trying to use the Ultimate Flooring logo for all folio listed on ultimate flooring page.
Is there any way I can acheive this?I tried is_post instead of is_page but it did not work.
September 22, 2017 at 3:06 pm #855392Hey,
Please use following code in functions.php file in Appearance > Editor
add_filter('avf_logo','av_change_logo_single'); function av_change_logo_single($logo) { if(is_singular( 'portfolio' )) { $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png"; } return $logo; }Best regards,
YigitSeptember 25, 2017 at 1:48 am #856278Hi Thanks for your help.
I have tried your code but our website went blank after that.What I am trying to do is just to change logo for flooring page and the few folios.
Would it work?
September 25, 2017 at 6:35 am #856333Hi,
Please, may you provide to us your website link and the WP and FTP credentials?
Best regards,
John TorvikSeptember 26, 2017 at 2:29 am #856748Hi it is
http://www.ultimatestorage.com.au
and the page I am trying to change logo is
http://www.ultimatestorage.com.au/flooring-range (I already changed logo for this page only)
Also, all the folio linked on this page, I would like to change the logo to Ultimate flooring.September 26, 2017 at 3:56 pm #856986Hi,
I added the code to bottom of Functions.php file via FTP and it worked fine. Please review your website :)
Best regards,
YigitSeptember 27, 2017 at 12:19 am #857194Cool. Thanks for your help!
:-D
September 27, 2017 at 2:04 am #857220 -
AuthorPosts
- The topic ‘Change logo for folio page’ is closed to new replies.
