edd_remote_api_url - The EDD remote API URL, has to be the same as remote_api_url in the config parameter in the EDD_Theme_Updater_Admin class.edd_theme_slug - The EDD slug, has to be the same as theme_slug in the config parameter in the EDD_Theme_Updater_Admin class.edd_item_name - The EDD item name, has to be the same as item_name in the config parameter in the EDD_Theme_Updater_Admin class.license_help_url - A custom help link regarding licensing.license_step - Turn on license activation (compatible with Easy Digital Downloads Software Licensing). dev_mode - Retain the "Theme Setup" menu item under the WordPress Admin > Appearance section for testing.child_action_btn_url - The url for the child theme generator's "Learn more" link.merlin_url - The admin url slug where Merlin WP will exist.directory - The location in your theme where the merlin code directory is placed (example: inc/merlin, if you placed the merlin folder in your theme's inc folder).The config file also let's you modify any of the text strings. In this config file, you can also enable the Easy Digital Downloads Software license activation step. The merlin-config.php file tells Merlin WP where the class is installed. Also, if you have TGMPA included within your theme, ensure Merlin WP is included after it. In the example above, the /merlin/ directory and the merlin-config.php file are both placed within the theme's /inc/ directory location. Require_once get_parent_theme_file_path( '/inc/merlin-config.php' ) Require_once get_parent_theme_file_path( '/inc/merlin/class-merlin.php' ) Require_once get_parent_theme_file_path( '/inc/merlin/vendor/autoload.php' )
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |