Title: leaflet-fullscreen.php
Last modified: August 22, 2016

---

# leaflet-fullscreen.php

 *  [ahd261](https://wordpress.org/support/users/ahd261/)
 * (@ahd261)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/)
 * Hi
    How can i open my homepage directly with this fullscreen page : [http://www.tld.com/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php?layer=1](http://www.tld.com/wp-content/plugins/leaflet-maps-marker/leaflet-fullscreen.php?layer=1)
   I didn’t find any source code ? What are the wp files to modify to get this ?
 * Many thx
 * [https://wordpress.org/plugins/leaflet-maps-marker/](https://wordpress.org/plugins/leaflet-maps-marker/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/#post-5321569)
 * you could create a template file which includes the shortcode to a map. the page
   using this template could then be set as frontpage. More details about using 
   shortcodes in template tags at [https://www.mapsmarker.com/docs/basic-usage/how-to-add-maps-to-your-site-using-template-tags/](https://www.mapsmarker.com/docs/basic-usage/how-to-add-maps-to-your-site-using-template-tags/)
 *  Thread Starter [ahd261](https://wordpress.org/support/users/ahd261/)
 * (@ahd261)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/#post-5321613)
 * Hi Thx for your reply
    Could explain me in this case why the index.php file save
   as root and including : `<?php echo do_shortcode('[mapsmarker layer="1"]'); ?
   >` gives me back a white page ?
 * I need to get a full width page
    How to use the shortcode to get this fullscreen?
 * Thx
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/#post-5321674)
 * wp_head() and wp_footer() are anyway needed for Leaflet Maps Marker maps to load
   properly (for javascripts and CSS) – just adding the do_shortcode() function 
   to a template file will not work for maps…
 *  Thread Starter [ahd261](https://wordpress.org/support/users/ahd261/)
 * (@ahd261)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/#post-5321675)
 * thx but could u develop a little bit more about what have i do concretely
    Thx
   for your help
 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/#post-5321676)
 * sorry, that is theme dependent – I’d advise asking your theme developer to create
   a new page template file, use that file for a page, test it, if it works, remove
   all html elements between <body> and </body> and add the do_shortcode in between
   and then select the page as front page in General / Reading…

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘leaflet-fullscreen.php’ is closed to new replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/leaflet-fullscreenphp/#post-5321676)
 * Status: not a support question