Events not found

This topic contains 7 replies, has 2 voices, and was last updated by  Paolo 8 years, 4 months ago.

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #62928

    johan
    Free User
    Post count: 93

    When I list my events : http://jaltembadirectory.com/upcoming-events/
    or click them on the sidebar
    or search for them
    I get not found
    the URL looks like this:
    http://jaltembadirectory.com/events/nayarit-1/rincon-de-guayabitos/entertainment/pacific-rock-plays-at-mr-ribs/?gde=2015-12-10

    I did change: Add region and city slug in listing urls (/region/city/)

    but businesses still work just fine. eg:
    http://jaltembadirectory.com/places/nayarit-1/la-penita-de-jaltemba-1/for-sale-by-owner-1/beach-home-under-260k/

    #62929

    johan
    Free User
    Post count: 93
    This reply has been marked as private.
    #62931

    johan
    Free User
    Post count: 93

    The search option after:

    The article you were looking for was not found, but maybe try looking again!

    does find them if you search for “Christmas” but the links are also not found if you click them.

    #62967

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    this is super strange, I need to pass it up to the developers though as I can’t find the problem.
    Must be something I’m overlooking.

    We’ll let you know asap.

    Thanks

    #62982

    johan
    Free User
    Post count: 93

    Thanks for taking a look Paolo. Since you couldn’t find anything I tried disabling my functions.php. That fixed it so it is something I did. It is not a problem with your software. I will figure it out.

    #62994

    Paolo
    Site Admin
    Post count: 31206

    Thanks for letting us know and keep us posted if you can’t find the solution.

    Thanks

    #63001

    johan
    Free User
    Post count: 93

    In my fuctions.php I had this:

    add_filter(‘geodir_posts_order_by_sort’, ‘jj_change_sort_order’,10,3);

    function jj_change_sort_order($orderby, $sort_by, $table){
    $orderby = $table . “.geodir_service desc, wp_posts.post_title asc,” . $orderby;
    return $orderby;
    }

    When removed it works just fine. Not sure why it wants to sort a single post.

    Removing ” wp_posts.post_title asc,” also fixes it so I assume the post is not available in this context.

    Thanks for your help. Resolved.

    #63049

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 total)

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

Open Support Ticket