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.

This feature requires an edit to your wp-config.php. Some hosts do not allow this to happen automatically, so you may need to do it manually.

If you see an admin notice that says there is a problem with your key, you need to manually edit your wp-config.php file and add a secret key like this:

define('JWT_AUTH_SECRET_KEY', 'REPLACE_THIS_WITH_A_SALT');
Grab any salt here and replace the portion that says 'REPLACE...
For example:
define('JWT_AUTH_SECRET_KEY', 'PeP`xW^ZQI-:#`;=2e0/x&]=ioe{~Tk|U27(cd+#r#(4P3|iam(h*]F+U!MHz3AJ');
	

After replacing with your unique key, add that line to your wp-config.php file. After the existing salts is a good location for this so your wp-config.php file would end up looking something like this:

define('AUTH_KEY',         '0{@;/$(~.Jzp$;`wK76--UJ/G90v/mb+`Q-,)*<S?^?khKu,`h^ _HZSb#*(}-]j');
define('SECURE_AUTH_KEY',  '%})&|}Ki;`en#{8A+_+`%TWRysifF_mSE~QcX)=Hv:V^X+(76(.w&#EpuP+PjXU%');
define('LOGGED_IN_KEY',    'Z8c!S%9RiJKZQ9;qySZU4$H8W;[{YqMpqe4YODA9MWf|A(PCJs.|mNUI{LQoD83I');
define('NONCE_KEY',        '}o:N2dYw{ydNLGU|,[email protected]#^dLB>^Sb-XwK.0c}AY}##D|**rT8UAz=>z=&0xj};%');
define('AUTH_SALT',        'z^Amqr6O(Z>8RiXk>e|+4eG_T)tvo;ZC3S]Tn+^lJNCU-YejNl*7P^++kg*SeDAL');
define('SECURE_AUTH_SALT', 'iw:k.(hP8ET>=9=+sqK;=G=zSq`[email protected]>anA{[ZazP,]A-H(|BG.;:By');
define('LOGGED_IN_SALT',   'X7hq(TkWw?v_0dgIx^!Qj03+/*@5,.!h>uw+?tI+?TpayRi;M&zcX~SL{&/Mz-/!');
define('NONCE_SALT',       'OU,%w%v1-4j`16]t-eQ.YO8<$-YG4BhSLF)h;f3EdoA:0$7lVR-Rh;h*J:m -E+k');
define('JWT_AUTH_SECRET_KEY', 'PeP`xW^ZQI-:#`;=2e0/x&]=ioe{~Tk|U27(cd+#r#(4P3|iam(h*]F+U!MHz3AJ');
	

Please check that this key was added successfully via FTP, otherwise your app logins may not work.

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

RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]

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.

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.