Using id to show item

If the GPX file is attached to the current page you can find it with get_attached_media(), e.g. $gpx_files = get_attached_media( ‘application/gpx+xml’ ); if ( count( $gpx_files ) >= 1 ) { echo do_shortcode (‘[sgpx gpx=”‘ . wp_get_attachment_url( $gpx_files[0]->ID ) . ‘”]’); } else { echo ‘<p class=”warning”>No GPX file attached!</p>’; }

Make custom post types using ACF

I don’t believe that custom post types are a part of ACF. I use custom post type generators to add post types. This is the one that I use. You would just need to paste the resulting code at the bottom of your theme’s functions.php file.

install / update plugins remotely

If you have admin access to your WP site you can login remotely via any web browser and use built in Updates function. To login to your site visit http://yoursite.url/wpadmin (replace yoursite.url with your web address. From your Dashboard you will see the Updates option which will check for updates of legitimate Plugins. If you … Read more