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