Not working on Front End
-
I have added the orderby argument as shown in the full code registering my custom post type, below..
$args = array( 'labels' => $labels, 'public' => true, 'exclude_from_search' => true, 'publicly_queryable' => true, 'show_ui' => true, 'query_var' => true, 'capability_type' => 'post', 'hierarchical' => true, 'orderby' => 'menu_order', 'order' => 'ASC', 'menu_position' => null, 'supports' => array('title','editor','thumbnail','custom-fields','excerpt','comments', 'page-attributes') ); register_post_type(__( 'portfolio' ),$args); }The plugin works great in the backend but in vain for the front end. Any help would be appreciated. ^_^
Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Not working on Front End’ is closed to new replies.