Support Forum
I am using the Add Identities plugin to add Pinterest and Instagram icons to spTopicView.php as outlined in the codex. Everything works fine on the desktop side but for some reason the icons don't show up on the mobile version. I am using Default Child) for desktop and Unified Child as the mobile phone theme. I've added the identities at the exact same locations in each spTopicView.php. Also, if I set the Unified Child as the desktop theme the icons do show up. Do feel free to take a look using the credentials I sent earlier for the pop-up issue.
Hey Thorsten,
Are you putting the add identities code inside the correct section of Unified theme's spTopicView.php?
There are two lots of the same template functions in a section, one for mobile and one for desktop:
if($spDevice == 'mobile') { #i.e If device is mobile - Anything here is for mobile }
and:
if($spDevice != 'mobile') { #i.e if device is not mobile - Anything here is desktop }
My guess is that you have put the code under the desktop block rather than the mobile block.
Hey Ike,
Thank you again, that was it indeed. I didn't notice the different sections in Unified since Default doesn't have them, which is the one I've used exclusively to this point. The codex doesn't make mention of it either, perhaps it could be added for clarification (https://simple-press.com/docum.....dentities/)? In any case, I am all set now.
Thorsten
thanks for the update...
hard to address every theme or possible theme since many of ours do it different (4 ways I think) and others could do it how they want... but we can look at the codex...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)