Çözülmedi, functions.php içeriğide bu şekilde.
<?php
define('BUNYAD_THEME_VERSION', '10.3.0');
if (class_exists('Bunyad_Core')) {
return;
}
require_once get_theme_file_path('lib/bunyad.php');
require_once get_theme_file_path('inc/bunyad.php');
require_once get_theme_file_path('inc/theme.php');
Bunyad::register('theme', [
'class' => 'Bunyad_Theme_SmartMag',
'init' => true
]);
Bunyad::register('smart_mag', ['object' => Bunyad::get('theme')]);
$bunyad = Bunyad::core()->init(apply_filters('bunyad_init_config', [
'theme_name' => 'smartmag',
'meta_prefix' => '_bunyad',
'theme_version' => BUNYAD_THEME_VERSION,
'post_formats' => ['gallery', 'image', 'video', 'audio'],
'sphere_components' => [
'social-follow',
'breadcrumbs',
'auto-load-post',
'adblock-detect',
'elementor\layouts',
'elementor\dynamic-tags'
],
'customizer' => [
'font_aliases' => true
],
'add_sidebar_class' => false,
]));
function custom_pagination_base_tr() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'sayfa';
}
add_action('init', 'custom_pagination_base_tr');