Forum

Thread tagged as: Question, Blog

How do I call my custom blog? What URL can I place in my anchor tag?

With this setup, what URL would call it? I tried ....com/archive.php?fiction, but it's not calling it. And can you point me to more documentation on perch_get()?

                       if (perch_get('fiction')) {                  
                perch_blog_custom(array(
                        'category' => array('fantasy', 'science-fiction', 'children'),
                        'template'   => $template,
                        'count'      => $posts_per_page,
                        'sort'       => $sort_by,
                        'sort-order' => $sort_order,
                        ));
                $posts_displayed = true;
            }
Cody Sherrod

Cody Sherrod 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

'fiction' would need to be set and not empty. So try:

archive.php?fiction=show

You are awesome!!