WP PLUGIN アーカイブページの投稿表示順設定
・管理画面メニュー(サブメニュー)の修正 ・1ページ表示件数の追加 ・pre_get_postするクエリの追加 ・検索用設定の追加
This commit is contained in:
@@ -25,6 +25,7 @@ License: GPLv2
|
||||
//メイン処理のクラスをインスタンス化
|
||||
require_once __DIR__ . '/class/class.apop.order.php';
|
||||
require_once __DIR__ . '/class/class.apop.ui.php';
|
||||
|
||||
$APOP = new APOP;
|
||||
|
||||
//CSS, JSの読み込み
|
||||
@@ -34,4 +35,6 @@ function register_my_styles() {
|
||||
wp_enqueue_style( 'hrc_post_style', $plugin_url . 'css/apop-style.css' );
|
||||
wp_enqueue_script( 'jquery-ui-sortable' );
|
||||
wp_enqueue_script( 'post-sort-cat-order_js', $plugin_url . 'js/apop-style.js' );
|
||||
}
|
||||
}
|
||||
|
||||
$APOP->set_query();
|
||||
|
||||
Reference in New Issue
Block a user