+321 123 4567
info@test.com
  • Home
  • My Services
    • Web Design
    • Web Development
    • Technical Writing
  • Portfolio
  • My Thoughts
  • Free Tools
    • Photo Editor
    • Avatar Generator
    • Email Migration Tool
    • QR Code Generator
    • RSS to HTML Converter
    • IP Address Geolocation
    • Base64 Image Encoder
    • NATO Translator
    • All Tools
  • Contact
Home
Wordpress
How to Make Plugins Work Properly On MobilePress

How to Make Plugins Work Properly On MobilePress

Wale Adekile
September 28, 2014

If you’ve been using MobilePress, you would’ve realized quite a lot of plugins do not work properly on it. Some sharing plugins appear awkwardly and quite a lot of functions do not work. Mobilepress is a great way to mobilize your WordPress site but unfortunately, this issue can make it not worth using in quite a lot of cases.


For instance, if you install plugins like BuddyPress or DW Question and Answer to extend your site’s functionality, the pages aren’t properly styled and this can make a responsive design look like the better alternative.

Also, if you’re using Jetpack statistics, mobile traffic is excluded completely because the footer script that logs visits is absent in the mobile theme.

Why is this happening?

By default, Mobilepress doesn’t include header and footer scripts and this is why certain functionality are disabled and plugins aren’t properly styled.

There are two hooks that are supposed to be in any wordpress theme: wp_head() and wp_footer() hooks. When these two are absent, you can expect this sort of issue to come up.

How to fix the problem on Mobilepress

It’s very easy o get this done, there are only two files to be edited.


1. Log in to FTP or cPanel filemanager and go to your MobilePress theme folder.

For default theme: …/public_html/wp-content/plugins/mobilepress/themes/default

For custom theme: …/public_html/wp-content/mobilepress/themes/theme_name

2. Edit header.php and find this line:

</head>

In the line just above it, paste this code:

<?php wp_head(); ?>

Save your change.

3. Edit footer.php and find this:

</body>

In the line just above it, paste this code:

<?php wp_footer(); ?>

Save the change and that’s all you have to do. If you check your mobile website, the mobile version should look much better as plugins previously not properly should now work just fine.

Did it work for you?


Previous Post
#GeekHumor: Apple iPhone 6 Funny Tweets & Memes #Bendgate
Next Post
Infinix Zero: Review, Features, Specifications & Price in Nigeria
Wale Adekile
Husband to the world's most beautiful woman and father to two awesome kids. A nerd, obviously; also, a technical business analyst, a web designer who preaches the gospel of WordPress, and a writer. You can check out my published books on Amazon.
secure wordpress from hack attack
Wordpress

5 Tips to Secure your WordPress Blog from Hackers

14 years ago
copy and paste
Wordpress

How to Deal With or Block Content Curation on Your Blog

7 years ago

Recent Articles

wahl rapic clip hair clipper
Wahl Rapid Clip Hair Clipper Review: DIY Made Easy
BenQ LaptopBar Review: Luxury or Necessity?
yunmai easepro unboxed
Yunmai EasePro Massage Gun Review
g20
Teendow G20 Robot Vacuum and Mop Review
bathroom
Dear Men, Spraying All Over the Toilet Seat is Disgusting and Irresponsible
winx mediatrans
How to Transfer Photos from iPhone to Computer Without iTunes
google workspace
How to Migrate Emails From Google Workspace/G Suite to cPanel
synology diskstation ds920+
Synology DiskStation DS920+ Review
playstation 4
Why I haven’t Upgraded to the PlayStation 5 Yet
pain
Started Watching Anime as an Adult? You’re Not Alone

All contents on this blog are copyright protected and cannot be reproduced on other websites without permission.

Copyright © 2022 – NerdieDad | Home | Contact | About | Privacy Policy