refactor: reorganize class files for better structure
Moved class files into a dedicated 'classes' directory to improve project organization. Updated file paths in functions.php to reflect these changes. This helps maintain a cleaner directory structure and separates core files from auxiliary classes.
This commit is contained in:
parent
a09cd80a50
commit
3b51684b3a
3 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ function duck_behavior_journal_scripts()
|
|||
}
|
||||
add_action('wp_enqueue_scripts', 'duck_behavior_journal_scripts');
|
||||
|
||||
require_once get_template_directory() . '/class-wp-bootstrap-navwalker.php';
|
||||
require_once get_template_directory() . '/classes/navwalker.php';
|
||||
|
||||
function duck_behavior_journal_customizer($wp_customize)
|
||||
{
|
||||
|
@ -852,7 +852,7 @@ function handle_pdf_download()
|
|||
}
|
||||
|
||||
if (is_tcpdf_available()) {
|
||||
require_once get_template_directory() . '/PaperPDF.php';
|
||||
require_once get_template_directory() . '/classes/paperpdf.php';
|
||||
|
||||
$post_id = get_query_var('download_pdf');
|
||||
|
||||
|
|
Loading…
Reference in a new issue