Paolo

Forum Replies Created

Viewing 15 posts - 24,541 through 24,555 (of 27,715 total)
  • Author
    Posts
  • in reply to: Map width not working #26560

    Paolo
    Site Admin
    Post count: 31211

    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,

    in reply to: Split: Default city in each Region #26558

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: Layout problems after 1.3.3 updates #26552

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: add custom fields to the slug #26529

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: Split: Release of GD Core 1.3 and all addons #26527

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: Conflict With My Arcade Plugin #26525

    Paolo
    Site Admin
    Post count: 31211

    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.

    in reply to: Near Me km o miles? #26506

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: Author pages just show either events or places #26502

    Paolo
    Site Admin
    Post count: 31211

    There will be an addon for both.

    1 extended users addon for those not wanting the extra buddypress features
    2 the official buddyrpess integration

    Both are on my todo list for January

    in reply to: Split: User page? #26501

    Paolo
    Site Admin
    Post count: 31211

    No, these events at the moment do not trigger a notification.

    Thx

    in reply to: Conflict With My Arcade Plugin #26500

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: Listings not appearing on second category #26499

    Paolo
    Site Admin
    Post count: 31211

    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

    in reply to: Moving places between different cpts #26450

    Paolo
    Site Admin
    Post count: 31211

    you’re welcome! 🙂

    in reply to: Site Showcase #26449

    Paolo
    Site Admin
    Post count: 31211

    You can now add your website to the official showcase section: https://wpgeodirectory.com/category/showcase/

    Submit your website here

    in reply to: Moving places between different cpts #26413

    Paolo
    Site Admin
    Post count: 31211

    ok,

    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

    in reply to: Possible bug in geodir_listing_permalink_structure() #26409

    Paolo
    Site Admin
    Post count: 31211

    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,

Viewing 15 posts - 24,541 through 24,555 (of 27,715 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount