Paolo
Forum Replies Created
-
AuthorPosts
-
Hi,
the problem is that the shortcode plugin isn’t able to pass the width variable to the function creating the map, like the widget did.
Why don’t you add a custom widget area to your custom home page instead, that way you can use the widget as it is supposed to be used?
add this to your theme functions.php
if ( function_exists('register_sidebar') ) register_sidebar( array( 'name' => __( 'My Custom Widget Area - 1'), 'id' => 'mycustomwidgetarea', 'description' => __( 'An optional widget area for your home map', 'yourthemename' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => "</div>", 'before_title' => '', 'after_title' => '', ) );and this in your home page template.
<?php // Custom widget Area Start if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('My Custom Widget Area - 1') ) : ?> <?php endif; // Custom widget Area End ?>It will create a widget area where you can use the widget as it is supposed to be used.
Let us know,
This would be a bug, I’ve split the topic, this way you can provide a url and wp admin credentials in private and we can have a look.
Thx
I’ve flagged this for John (theme author) to see if he can see a better way to fix this, meanwhile you can add this to your custom css:
.geodir-search { width: 100%; } .geodir_category_list_view li.gridview_onehalf { width: calc(49% - 4px); }Let us know,
Thx
Hi,
what would you like to show at this URL? domain.com/places/country/region/city/custom-field/
All listing with that custom field assigned?
This would be a feature request and as such it should be listed here to see if it can be neeeded for other members too.
https://wpgeodirectory.com/requests/
Thanks
HI,
I simply deleted dummy data and re-entered it and now all is working fine. Multilocation seem correctly setup too.
I think the DB table for place listing wasn’t converted correctly before adding dummydata.
Let me know if you need anything else.
Thx
We just discovered that WP recently introduced decimals for menu priorities, so in the next version we will assign it a number that is unlikely to be used by anyone else.
Thanks
p.s. It isn’t GD causing a conflict, we just chose the same priority (55). Our plugin overwrites theirs because wp handles plugin activation alphabetically and GeoDirectory coming after Arcade overwrites it. If he’s smart, he will change his to decimal too, but seeing how little updates he provide, I doubt he will.
Hi Matteo,
by cursor you mean the distance range selector?
You can hide that with css if you wish, please add this to your custom css:
.gd-advanced-s-menu-range { display: none; }I’ve added the bug you spotted as a task for the team to fix asap.
Thank you
There will be an addon for both.
1 extended users addon for those not wanting the extra buddypress features
2 the official buddyrpess integrationBoth are on my todo list for January
No, these events at the moment do not trigger a notification.
Thx
Hi,
the problem will appear again when we update geodirectory. Given that we update on avarage every 15 days, while they last updated 6 months ago, I think it would be safer for you to change its menu priority rather than GD menu priority.
Thanks
The category drop down will appear if you make the category field an advance search filter in GD >> CPT settings >> double click on category and down at the bottom of its setting enable it as an advance search filter.
It will not appear in the 1st line, but only in the drop down that appears, when customize my search button is clicked.
To make it appear instead of the CPT select, a customization is required.
Thx
you’re welcome! 🙂
You can now add your website to the official showcase section: https://wpgeodirectory.com/category/showcase/
Submit your website hereok,
to do that we will need to add a new body class for each price package.
You can add this to your theme functions.php file:
add_filter('body_class', 'gd_price_body_classes'); function gd_price_body_classes($classes) { global $post; if(isset($post->package_id) && $post->package_id=='1') { $classes[] = 'gd_price_1'; return $classes;} elseif(isset($post->package_id) && $post->package_id=='2'){ $classes[] = 'gd_price_2'; return $classes;} else {} }The function above works if you have 2 prices and the IDs are 1 and 2.
Make sure package ID are correct and use the new classes .gd_price_1 or .gd_price_2 to alter the css of the page.
I’ve tested it and works in our demo, let me know if it also works for you.
Thx
Sorry Jeff,
I think Stiofan missed it. I’ve added it to Project Manager and sent him a reminder via email too.
Thanks for your patience,
-
AuthorPosts