honey3
Forum Replies Created
-
Forum: Plugins
In reply to: [Job Manager] Job List Sortinghow to show the jobs at front end by category wise.pls help
- This reply was modified 9 years, 6 months ago by honey3.
Forum: Plugins
In reply to: [Search & Filter] not giving result for single searchregister_taxonomy(‘durations’, array(‘packages’), array(‘hierarchical’ => true,’has_archive’ => true,’public’ => true, ‘label’ => ‘durations’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘durations’) ) );
register_taxonomy(‘prices’, array(‘packages’), array(‘hierarchical’ => true, ‘has_archive’ => true,’public’ => true,’label’ => ‘prices’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘prices’) ) );
is this right?
not working
Forum: Plugins
In reply to: [Search & Filter] not giving result for single searchpls tell me other than this file ,i need to code for prices & duration elsewhere
and
how to set it archieve and publici used
‘public’ => true,Forum: Plugins
In reply to: [Search & Filter] not giving result for single search<?php
function theme_taxonomy() {
register_taxonomy(‘tour-type’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘Tour Type’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘tour-type’) ) );
register_taxonomy(‘tour-category’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘Tour Category’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘tour-category’) ) );
register_taxonomy(‘destination’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘Tour Destinations’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘travel-destinations’) ) );
register_taxonomy(‘tour-features’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘Tour Features’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘tour-feature’) ) );
register_taxonomy(‘tour_settings’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘Package Type’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘tour-settings’) ) );register_taxonomy(‘hotel_facilities’, array(‘hotels’), array(‘hierarchical’ => true, ‘label’ => ‘Facilities’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘hotel-facilities’) ) );
register_taxonomy(‘hotel_accomodation’, array(‘hotels’), array(‘hierarchical’ => true, ‘label’ => ‘Accomodation Type’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘accomodation-type’) ) );
register_taxonomy(‘hotel_category’, array(‘hotels’), array(‘hierarchical’ => true, ‘label’ => ‘Hotel Category’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘hotel-category’)));register_taxonomy(‘durations’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘durations’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘durations’) ) );
register_taxonomy(‘prices’, array(‘packages’), array(‘hierarchical’ => true, ‘label’ => ‘prices’, ‘query_var’ => true, ‘rewrite’ => array(‘slug’ => ‘prices’) ) );
}
add_action( ‘init’, ‘theme_taxonomy’ );?>
the last two taxonomy i added