WordPress-də custom post type ID tapmaq

Salamlar. Deməli problem belədir - kinoya aid bir saytdır, mövzu sevenmag (2.3.4), plugin isə wpmovielibrary(sonuncu versiya) istifadə edirəm. plaqinin rəsmi səhifəsində bu mövzu ilə inteqrasiya barədə yazıb, amma köhnə versiya üçün. indi orda yazılanı edirəm, amma effekt vermir. wpmovielibrary custom post type yaradır (movie). mənə də lazımdır ki saytda ancaq movie tipli yazılar görsənsin. adi post yazıları lazım deyil. Homepage The Home − Slideshow and Home − Blank page templates only support Posts. Files to edit: File Line Replace page-home-blank.php 64 'post_type' => 'post', by 'post_type' => array( 'post', 'movie' ), page-home-slideshow.php 64 'post_type' => 'post', by 'post_type' => array( 'post', 'movie' ), Masonry If you’re using Masonry to build nice Posts grid, you will need to edit the content-masonry.php file to avoid movies to be excluded and break your design: File Line Replace content-masonry.php 1 post_class(); by post_class( 'post type-post format-standard' ); Pages & Posts Options Sevenmag adds Metaboxes to your Pages and Posts editor pages; to enable these metaboxes for the Movie editor page, edit admin/meta-boxes.php: File Line Replace admin/meta-boxes.php 211, 278, 296 and 305 'pages' => array( 'post' ), by 'pages' => array( 'post', 'movie' ), admin/meta-boxes.php 13 and 134 'pages' => array( 'page' ), by 'pages' => array( 'page', 'movie' ), Burda deyilənləri edirəm. bircə Pages & Posts Options yerində lazım olan bəndlərdən cəmi 2-si var. 13 və 134. 211, 278, 296 and 305 bu bəndlər yoxdur. ümumiyyətlə 'pages' => array( 'post' ), ancaq 13 və 134-cü bəndlərdədi. Öncədən köməyə görə təşəkkürlər.

Verilmiş cavablar və yazılan şərhlər (1 cavab var)

E. Hacı (2016-08-10 23:37:49)
Plugini və ya theme-i tam yükləyin kompüterinizə, faylların daxilində kod axtarışı edin. ki məsələn array('page') harada var. Bəlkə update-dən sonra yeri dəyişib və ya bəlkə səhv fayla baxırsız