Title: shortcode issues
Last modified: April 18, 2026

---

# shortcode issues

 *  [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * (@ip-rob)
 * [3 weeks, 5 days ago](https://wordpress.org/support/topic/shortcode-issues-18/)
 * I’ve noticed that the plugin uses only the administrative settings. Overrides
   on these settings using the shortcode options does not work. This appears to 
   be caused by some of the logic statements in the wp-gpx-maps.php file.
 * For example, I have the default to have the summary “true” which works. Shortcode
   summary=false or summary=”false” does not override this setting. This is because
   the value is passed as a string from WordPress. The code, however, assumes a 
   logical value. PHP assumes a string is “true” unless it is empty. Changing the
   conditional statement for the summary from if ( true == $summary (which is always
   true unless $summary is ”) to if ( $summary = “true” fixes the issue.
 * There are several other shortcode logic statements that have this same issue.
 * Am I missing something? Or is this a correct explanation?
 * I was going to open this issue on github but did not see an issues option on 
   the project page ([https://github.com/devfarm-it/wp-gpx-maps](https://github.com/devfarm-it/wp-gpx-maps)).
   Is that the right project? I also did not see a way to contribute a change. Looks
   like this would require a fork and then submit those back as suggested changes?
 * Thanks!

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-issues-18%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gpx-maps_bcbfb3.svg)
 * [WP GPX Maps](https://wordpress.org/plugins/wp-gpx-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gpx-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gpx-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gpx-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gpx-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gpx-maps/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ip-rob](https://wordpress.org/support/users/ip-rob/)
 * Last activity: [3 weeks, 5 days ago](https://wordpress.org/support/topic/shortcode-issues-18/)
 * Status: not resolved