Suzanne
Forum Replies Created
-
AuthorPosts
-
No that didn’t work – it doesn’t remove it from the search bar completely.
I just found this code which hides the first post which seems to work.
/*Hide the first CPT in the CPT dropdown*/
.gd-search-input-wrapper.gd-search-field-cpt .search_by_post option:nth-child(1){
display:none;Thank You … I added View All link as suggested.
Thank you! That worked perfectly.
This reply has been marked as private.Thank you!
I have done the updates now and they work. I have summarised where the updates were below.
Listings on Home Page
1. Set up Home Page to display the listings.
a) Use the shortcode [gd_listings] which displays using the Archive Item template2. Set up content of listings on the home page
a) Geodirectory / Settings / General – Pages / Template Pages Settings Archive Item Page
b) Select default Template – GD Archive Item
c) Customise short codes as per Page Design documentation3. Set fields to be displayed on the home page listings
a) Places / Settings /Custom fields
b) Select field to be displayed on listing
c) Show in Extra Output Location – Select Listings PageDetails Page
1. Set up main content of details page
a) Geodirectory / Settings / General – Pages / Template Pages Settings – Details Page
b) Select default Template – GD Details
c) Customise short codes as per documentation2. Set fields to be displayed in sidebar (GD Sidebar) of details page
a) Places / Settings /Custom fields
b) Select field to be displayed in sidebar
c) Show in Extra Output Location – Select Details Page Sidebar3. Add sidebar to Details page
a) Appearance / Widgets / GD > Output Locations – add to GD Sidebar(Custom Fields that are set to display on the Details page are displayed with this widget.
Shortcode – [gd_output_location location=”[detail]”] -
AuthorPosts