A few problems

This topic contains 36 replies, has 5 voices, and was last updated by  Stiofan O’Connor 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #374064

    The
    Expired Member
    Post count: 102

    Thanks.

    There was one other problem I mentioned yesterday that has still not resolved :

    On map, none of the listings show the text excerpt on the window that opens when you click the icon.

    #374066

    Kiran
    Moderator
    Post count: 7069
    #374075

    The
    Expired Member
    Post count: 102
    This reply has been marked as private.
    #374093

    The
    Expired Member
    Post count: 102
    This reply has been marked as private.
    #374108

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    For the info window, we don’t show the excerpt, you can set custom fields to show there but not the actual excerpt, i have updated and applied changes to the code

    
    
    add_action('geodir_infowindow_meta_after','my_theme_add_infowindow_meta',10,2);
    
    function my_theme_add_infowindow_meta($postinfo_obj,$post_preview ){
    $text = apply_filters('the_excerpt', get_post_field('post_excerpt', $postinfo_obj->post_id));
    echo $text;
    echo " <a href=' ".get_the_permalink()." '>Read More...</a>";
    }

    The post_author=”current” is for showing listings of the current posts author, so this can be used to get listings of for example and event listing and show in another tab, not the logged in user, but i can see how that can be confusing, i have now added new params and updated your page

    Thanks,

    Stiofan

    #374118

    The
    Expired Member
    Post count: 102

    Thank you so much, Stiofan. That was a lifesaver.
    I believe all my issues are solved.

    #374119

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Great 🙂

Viewing 7 posts - 31 through 37 (of 37 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket