refactor(autoload): migrate theme classes to Composer PSR-4
Move 288 types from global AKSRT_* + inc/classes manual requires into
namespace AKSRT\{Domain} under src/AKSRT/, wire composer.json psr-4,
and slim bootstrap to helpers/modules/hooks only. Split multi-class
widget/gateway files, update admin contract audit paths, and document
the layout in ADR/README.
This commit is contained in:
@@ -9,8 +9,8 @@ defined('ABSPATH') || exit;
|
||||
|
||||
get_header();
|
||||
|
||||
$page_settings = class_exists('AKSRT_Settings')
|
||||
? AKSRT_Settings::get_post_page_settings()
|
||||
$page_settings = class_exists('\AKSRT\Settings\Settings')
|
||||
? \AKSRT\Settings\Settings::get_post_page_settings()
|
||||
: ['reading_progress' => false, 'lightbox' => true];
|
||||
$page_id = get_queried_object_id();
|
||||
$page_content_style = get_post_meta($page_id, 'page_content_style', true);
|
||||
|
||||
Reference in New Issue
Block a user