Plugin and Theme Installation

AppPresser has a suite of WordPress plugins and theme that you install on your WordPress site.

These plugins connect your WordPress site to the app, and allow for special features.  You must install and configure these plugins on your WordPress site before building your app on myapppresser.com.

1. Install AppPresser core plugin and theme

First, install and activate the  AppPresser core plugin. Login to your WordPress website, go to Plugins->Add New, and search for "AppPresser." Install and activate.

You also need to install the JWT Authentication plugin. You may see a notice like this:

You can click "Begin installing plugin" or you can download it here.

Visit the AppPresser settings, and add a random string in the JWT Secret Key field. You can get a random string here.
Copy only one string as below, not the whole line of code. You can also use your own random string if you like.

Add the string to the JWT secret key field, and save.

Enable Authorization Header

Most of the shared hosting has disabled the HTTP Authorization Header by default. To enable this option you’ll need to edit your .htaccess file adding the follow

# BEGIN AppPresser
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
</IfModule>
# END AppPresser

To enable this option on a WP Engine hosting you’ll need to edit your .htaccess file adding the follow

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Add the code for enabling the Authorization header right before this line # BEGIN WordPress  or ask your web host provider to make that change.

If you see errors when logging in, you may need to add this line to your wp-config.php:

define('JWT_AUTH_CORS_ENABLE', true);

Theme

Next, download the AP3 Ion Theme from your account page, at https://myapppresser.com/YOURSITE/billing

Go to Appearance->Themes->Add New->Upload, and upload the theme .zip file.   Please note that the AppPresser Theme cannot be uploaded as a plugin.

Do not activate the theme, it should stay inactive. The AppPresser core plugin handles switching this to the active theme for the mobile app using the app-only theme setting.

2. Configure Plugin Settings

After you create your first app on myapppresser.com, you will be provided an App ID.

Add your Site Slug and App ID to the AppPresser plugin settings on your website. You can find those by logging into myapppresser.com and visiting Your App => General.

Add those settings and save.

Next, add your account email in the AppPresser settings. Without this email, you will not receive plugin updates.

You must use the email that you purchased with.

3. Install Additional Plugins

Next, you'll install and activate any extensions as needed. For example, if you are using WooCommerce in your app, you'll need to install AppCommerce. BuddyPress => AppCommunity, LearnDash => AppLMS, and so on.

For each extension, download the .zip file from your account page. Login to your WordPress website, go to Plugins->Add New->Upload, and upload the .zip file (do not unzip the file before uploading).

Activate each extension after uploading.

Each extension is used differently, please consult our documentation for usage.

Plugin Blocker

It is highly recommended you install our plugin blocker. This disables conflicting plugins only in the app, which solves a lot of problems you may encounter when developing your app.

Click here for instructions.