options = get_option( self::APFT_OPTION_NAME ); ?>
'; printf( '', $checked ); _e("Aggressive means 'Do flush_rewrite when load a page.'", 'apft'); echo '
'; } /** * ベースディレクトリの設定部分 */ public function base_dir_callback() { if (isset( $this->options['base_dir'] )) { $base_dir = esc_attr( $this->options['base_dir']); } else { $base_dir = 'pages/'; } printf( '', $base_dir ); _e('Specify Base Directory. The paged template files should be located at the base directory. (Default: pages/)', 'apft'); } /** * テンプレートファイル一覧の設定部分 */ public function template_files_callback() { $templates = AP_TemplateSearcher::getTemplates(); ?>| slug; ?> | status), 'apft'); ?> | path)); $themeName = basename(get_stylesheet_directory()); $editUrl = home_url('/wp-admin/theme-editor.php?file='.$filepath.'&theme='.$themeName); ?>| |