AppPresser Theme Setup
The AppPresser 3 theme is used to display your WordPress content in your app.
Setup
- Download the theme zip file from your account page. For AppPresser 4 apps, visit your myapppresser.com site and click "Account" at the top left. For older AppPresser 3 accounts, go here.
- Login to your WordPress website, and go to Appearance=>Themes=>Upload.
- DO NOT activate the theme
Customization
Most customization can take place in your myapppresser.com app customizer. You can change colors, and even add custom CSS there.
We recommend doing most customization through the myapppresser.com dashboard. However, you can also use a child theme if you need more control.
Child Themes
To download our ready made child theme, See: Child Theme
To create a child theme for the AppPresser 3 theme, create a folder with a style.css file inside. Add this to your style.css file:
/* Theme Name: AppPresser 3 Child Description: AppPresser 3 Child Theme Author: John Doe Author URI: http://example.com Template: ap3-ion-theme Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html */
The important line is "Template", everything else can be edited.
Next, create a functions.php file in your child theme folder. Add this code:
<?php function appp_child_enqueue_styles() { $parent_style = 'ap3-ion-style'; // This is the parent theme stylesheet wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'ap3-child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ), wp_get_theme()->get('Version') ); // this is your child theme stylesheet } add_action( 'wp_enqueue_scripts', 'appp_child_enqueue_styles' );
Make any CSS changes in your child theme style.css file, do not edit any files in the parent theme. You can additionally add template files in your child theme that will overwrite parent theme templates.
You can now zip your child theme folder and upload it under Themes => Add New => Upload.
More information on child themes can be found on the child themes codex page regarding when and why you should use a child theme.