Admin Columns カスタムフィールド. How to sort by one of the custom list_display fields that has no database field. If ( $post_meta ) { echo $post_meta;
WordPressの管理画面、投稿一覧にカスタムフィールドやカスタム分類などの項目を追加するプラグイン「Admin from www.vektor-inc.co.jp
$post_meta = get_post_meta( $post_id, '椅子', true ); If ( $post_meta ) { echo $post_meta; Function my_posts_custom_column( $column, $post_id ) { switch ( $column ) { case '椅子':
Instantly Share Code, Notes, And Snippets.
$post_meta = get_post_meta( $post_id, '椅子', true ); If ( $post_meta ) { echo $post_meta; All gists back to github sign in sign up sign in sign up {{ message }} instantly share code, notes, and snippets.
Function My_Posts_Custom_Column( $Column, $Post_Id ) { Switch ( $Column ) { Case '椅子':
How to sort by one of the custom list_display fields that has no database field. Admin columns では、すべてのカスタム フィールドの投稿 (投稿メタ) とユーザー (ユーザー メタ) のカスタム フィールドを表示できます。 ファイル、画像、数字、投稿やユーザー関係など、さまざまなカスタムフィールドタイプがサポートされており、カスタムコンテンツの美しい概要を作成できます!
0 Response to "Admin Columns カスタムフィールド"
Post a Comment