Thread tagged as: Question, Addons, Blog

Select post type from post.php

Hi, instead of filling a new blog post form and choosing witch post type it is... is there any chance to fill the new blog post form without choosing the post type and then from post.php call the post choosing witch post type template I want to apply?

Hope I am explaining my self..

Raul Serrano

Raul Serrano 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, use the template option in perch_blog_custom().

Yep, it works

'template' => 'post.html',
'filter' => 'postSlug',
'match' => 'eq',
'value' => perch_get('s'),

Thanks! Thats the way to get a multilingual blog :)