BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Mobile App icon
Tagged: app, homescreen image, mobile icon, touch icon
- This topic has 12 replies, 5 contibutors, and was last updated 9 years, 6 months ago by Anonymous.
Question
April 2, 2015 at 5:36 pm #38453@optimysticHi-
Is there any way to have a specific image used for mobile and tablet icons when saving my website to the homescreen of the tablet or phone? Other themes call this the “Touch Icon (iOS and Android)” or the “mobile touch image” etc.
Is there a way to have this for Buddyboss? If not can we add this option to a wishlist?
thanks,
KimAnswers
April 3, 2015 at 8:54 am #38472@alyssa-buddyboss
AlyssaParticipant@optimystic you will need to ask Apple for this, I have no clue, sorry.
April 3, 2015 at 8:54 am #38473@alyssa-buddyboss
AlyssaParticipant@optimystic you will need to ask Apple for this, I have no clue, sorry.
April 3, 2015 at 11:46 am #38487@vosypa@optimystic check out the Favicon plugin https://wordpress.org/plugins/favicon-by-realfavicongenerator/
You will have to set up a favicon and then choose how you want it to be displayed on iOS, Android and other devices.April 4, 2015 at 9:33 am #38508@alyssa-buddyboss
AlyssaParticipantThanks for the input Vone!
April 4, 2015 at 11:41 am #38516@optimystic@tjchester APPLE? really? This is a feature integrated in 3 of the last 4 themes I installed, has nothing to do with apple. Maybe you didn’t understand the question? But if you would like examples of the themes I have used that have this icon display option I will provide them. Have no idea what I would be asking apple for.
April 4, 2015 at 11:44 am #38517@optimystic@vosypa thank you for this i will look into it, but I am desiring it as a native feature. I don’t like to use plugins whenever I can avoid them.
April 5, 2015 at 8:12 pm #38543@alyssa-buddyboss
AlyssaParticipant@optimystic here is the Apple codex if you wish to add this to your site now. This is not currently a feature of our theme: https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
May 10, 2015 at 6:29 am #39985@tradingpremiumI’ve added the following code to functions.php to achieve the desired result…
function add_favicons() { echo "<link rel=\"shortcut icon\" href=\"http://tradingpremium.com/assets/icon-32.png\">\n"; echo "<link rel=\"apple-touch-icon-precomposed\" href=\"http://tradingpremium.com/assets/icon-57.png\">\n"; echo "<link rel=\"apple-touch-icon-precomposed\" sizes=\"72x72\" href=\"http://tradingpremium.com/assets/icon-72.png\">\n"; echo "<link rel=\"apple-touch-icon-precomposed\" sizes=\"114x114\" href=\"http://tradingpremium.com/assets/icon-114.png\">\n"; echo" <link rel=\"apple-touch-icon-precomposed\" sizes=\"144x144\" href=\"http://tradingpremium.com/assets/icon-144.png\">\n"; } add_action('wp_head', 'add_favicons');
May 10, 2015 at 6:33 am #39986@tradingpremiumThe following code is contained in header.php of the parent theme. Is there any way I can have the child theme remove/ignore this (as I do not want to have to update the favicon each time the theme is updated)?
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/images/favicon.ico" type="image/x-icon">
May 11, 2015 at 5:08 pm #40060@alyssa-buddyboss
AlyssaParticipant@tradingpremium you would need to copy the file to your child theme and remove this line.
May 11, 2015 at 5:54 pm #40075@tradingpremium@tjchester If I copy the file to the child theme, effectively I would not benefit from any updates of the file, right?
May 12, 2015 at 9:25 am #40102@
AnonymousHello @tradingpremium , if you keep your edits in parent theme you will lost it after updates, that’s why TJ suggested you keep/copy you edited files inside the child theme.
Regards
Varun Dubey
- The question ‘Mobile App icon’ is closed to new replies.