Skip to content

adam-aido/generatepress-child

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeneratePress Child

This is a simple scaffold of GeneratePress child theme containing most common snippets and corrections.

Installation

Go to your themes folder

$ cd wp-content/themes

Clone this repo with following command:

$ git clone https://github.com/adam-aido/generatepress-child.git

And activate it with wp-cli:

$ wp theme activate generatepress-child

SMTP Configuration

There is a method forcing PHP Mailer to use SMTP in functions.php. I use this method to increase email notifications deliverability and avoid installing third party SMTP plugins. To make it work add custom constants to your wp-config.php file in your WordPress root folder:

define( 'SMTP_USER', 'user@example.com' );
define( 'SMTP_PASS', 'a-password' );
define( 'SMTP_HOST', 'smtp.example.com' );
define( 'SMTP_FROM', 'user@example.com' );
define( 'SMTP_NAME', 'A user name' );
define( 'SMTP_REPLYTO', 'replyto@example.com' );
define( 'SMTP_REPLYTO_NAME', 'Reply to name' );
define( 'SMTP_PORT', '587' );
define( 'SMTP_SECURE', 'tls' );
define( 'SMTP_AUTH', true );

About

Simple starting scaffold for GeneratePress child theme

Resources

License

Stars

Watchers

Forks

Packages

No packages published