xalone
Forum Replies Created
-
AuthorPosts
-
November 15, 2017 at 9:15 am in reply to: Display Custom fields on another place in tthe page #405307
yes, i use supreme theme. i would display the the logo (custom fields image upload) on the place of avatar details listing page.
is it possible to display the logo (custom fields image upload) like the photo on listing page. ( on the listing page replace the photo by my custom fields image upload )Is it possible to have tuhe actuall Location with postal code record .??
or a list of all postal recordThnks. dio you think it’s possible to have The GD location without region/city filter. What i mean is to have just the select field and all region and city mixed in dropdown not separate by tab.
could you please help me how can i get that.for the result page i use this code with 2 shortcode :
$location = do_shortcode('[gd_current_location_name]') ?> <h1 class="entry-title">Les Acteurs ressources sur <?php echo $location; ?> </h1> <?php echo do_shortcode( '[gd_listings post_type="gd_place" layout=2 post_number="6" list_sort="latest" character_count="400"]' ); ?> <hr> <h1 class="entry-title">Les projets sur <?php echo $location; ?> </h1> <?php echo do_shortcode( '[gd_listings post_type="gd_event" layout=2 post_number="6" list_sort="latest" character_count="400"]' );
the link is : http://dev2.parents-solos-compagnie.org/
Where can i found your standart research with location .?
I have a little solution :
1st i use the wp native research. i add this the my theme function files :
function filter_search($query) { if ($query->is_search) { $query->set(‘post_type’, array(‘gd_place’, ‘gd_event’)); }; return $query; }; add_filter(‘pre_get_posts’, ‘filter_search’);
2nd: I copy geodir-search.php file in my theme folder. i put it on the root of my theme folder beside index.php and others…
3rd: I rename geodir-search.php on search.php , this file become my default WP search.php file.
now when i make a research the result come from gd_place and gd_event and display whith the gd search style.
nobody see difference. its look lie a little tips.
now i would like to add in my search the location select filter… somebody help ?thnks for your light.
The first thig i d o is that:
function filter_search($query) {
if ($query->is_search) {
$query->set(‘post_type’, array(‘gd_place’, ‘gd_event’));
};
return $query;
};
add_filter(‘pre_get_posts’, ‘filter_search’);
@StofianOconnor if the search is limited like you said. Maybe the solution is to make one formular: blanck fields + Location fields + searchbutton , who send two great request and show result:
1st : Request Blank fields + location in gd_place
2nd : Request Blank fields + location in gd_eventThe results is two list:
- ==> The results is Place + Location
- ==> The results is event + Location
Do thing this solution is possible and better ?
Thanks . but is not working..
i looked CSS. autocompleter animation add this css class: .gd-wait-btnsearch ….
Hi thanks.
i turn my question like this because i listen on the forum that is not possible to make a search in all the CPT in the same times.The first things i do is this:
i modified the wp search fonction for a search in just two CPT gd_place and gd_event .
the search work. But the result is show with the wordpress search.php ( in the blog) not like the geodir search .now i nknow that i have to make a new search fonction and call the result in the geodir search… something like that…
someone could show me where is the geodir seacrh function ( the first search function)..?
and where is the search result page.I want to use my new(futur) search function just on the home page to search on both CPT in same time.
the futur search fields shall look like this:
blank feilds + Search button
or
blanck fields + Location fields + searchbuttonThanks
do you think that i can try somethings with merge location function …
Merge guadeloupe ( default google map as country ) with a created location Guadeloupe, France… somethings like that ..
Thanks for reply.
Ok thanks.
for the 2) May be the solution is:
1 – to made an event like with new custom post type ,
2 – with custom field :
begin date *
end date
reccurence day: Monday , ect ….
reccurence mounth: January , ect …ect…
End date is not absolutely requiered.
3 – custom filter : with custom field filter
Or could you add location like France and DOM?
France and DOM is :France (land )
and island:
Martinique
Guyane
Reunion
Guadeloupe
MayotteOK a ggo to look for that.
use “Payments Manager” whithout payenment mode for user is it possible ?
-
AuthorPosts