Current User Event Page

This topic contains 2 replies, has 2 voices, and was last updated by  Kiran 7 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #335096

    Tony Kishawi
    Free User
    Post count: 11

    Hi,
    I have followed the instructions on from another topic and decided to see if I could get it working for events. Just didnt happened.
    https://wpgeodirectory.com/support/topic/current-user-listings-page/
    Changed the code to

    function gd_events_listings_custom($atts, $content = ”) {
    $user_id = (int)get_current_user_id();

    return do_shortcode( ‘[gd_listings post_author=”‘ . $user_id . ‘” post_type=”gd_events” layout=”3″ post_number=”9″]<p>Oops! No events found.</p>[/gd_listings]’ );
    }
    add_shortcode(‘gd_events_listings’, ‘gd_events_listings_custom’);

    All I get is the ‘Oops! No events found’ msg.

    http://whatsoningympie.com.au/edit-your-event/

    I have other CPT I would like to use this option with.
    I rather this option atm as the ‘My Dashboard’ widget doesnt match my theme after the page is fully loaded and can’t see the full list under ‘Add Listing’

    Many thanks for your help

    #335097

    Tony Kishawi
    Free User
    Post count: 11
    This reply has been marked as private.
    #335196

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount