Новости

Ещё одна запись нашей компании

f you want to add the whole Custom post into the menu ( archive ) there are 2 ways:

  1. The clean way
    Custom Post types have their own permalink - yoursite.com/taxonomy/custompost. So in the menu navigation you create your Custom Menu Item with a link to yoursite.com/taxonomy/After thats done you can customize the taxonomy with a template that sould be named as follows:
    taxonomy-your-custom-post-type-name.php
    and then you code it as you wish.
  2. the developer friendly way
    create a custom Page template and force the loop of custom posts like so:

Комментариев еще нет.

Оставить комментарий