WordPress site help

Forum to require and offer php jobs. Are you searching for php developers to make or complete your php script ? This place is for you.

Moderators: egami, macek, gesf

Post Reply
bondimedical3
New php-forum User
New php-forum User
Posts: 7
Joined: Fri Jun 01, 2012 11:14 pm

Sat Oct 03, 2015 1:39 am

I would like a small job done on a WordPress site. In footer.php there is text "Proudly Powered by WordPress". What I would like is a space put under this for mobiles. I have a plugin installed which has the function wpmd_is_phone () which returns true on mobiles only. How do I write this in PHP?

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Sat Oct 03, 2015 10:20 pm

This is more a wordpress question than a PHP question unfortunately, but I actually looked at that very same plugin this morning for a similar question, and the site says that you can use shortcode [phone][/phone] to specify something that should only be echoed on a phone.

User avatar
j4012345
New php-forum User
New php-forum User
Posts: 21
Joined: Sun Feb 14, 2016 10:57 am

Sun Feb 14, 2016 1:02 pm

bondimedical3 wrote:I would like a small job done on a WordPress site. In footer.php there is text "Proudly Powered by WordPress". What I would like is a space put under this for mobiles. I have a plugin installed which has the function wpmd_is_phone () which returns true on mobiles only. How do I write this in PHP?
First you should check if your website is mobile friendly, search on google: "website mobile friendly test".

Have a great day.

Post Reply