an
groups-icon

Creating a blank template or…

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    Brian Jester
    0 points
    Beginner

    Hi,

    I’m having an issue I hope someone here can resolve, but I think it’s a general wordpress issue, and not specific to premiumpress themes.

    I want to create a ‘splash’ page (outside of my wordpress installation directory) where I can put a google map shortcode on, this will be a plugin not specifically a map from premiumpress. So far, I have tried two different googlemap plugins, and none will allow me to run them from outside of the wordpress installation folder.

    Now here is where premiumpress comes in…Is it possible to create a blank template in premiumpress so that I can avoid using the header, and footer but still be able to use shortcode?

    I know if I use the shortcode inside of my theme, it does in fact work, but I NEED TO HAVE A BLANK TEMPLATE, ONE WITHOUT A HEADER / FOOTER OR MAIN CONTENT.

    Note: I have for testing purposes added the categories shortcode (premiumpress shortcode) to my splash page, and it DID in fact Work, but my other plugin shortcode did NOT WORK.

    Can someone share with me how to accomplish this? Note: I know how to do the basics, in fact this is what I have done so far as in outside of the wordpress directory:

      Created my .htaccess
      Created my splash.php

    .htaccess file looks like this:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    DirectoryIndex index.html splash.php

    splash.php file looks like this:

    <?php 
    
    include_once($_SERVER['DOCUMENT_ROOT'].'/wordpress/wp-load.php' );
    echo do_shortcode('[put_wpgm id=1]');?> 
    
    <?php echo do_shortcode('[CATEGORIES]');
    ?>

    Thank you
    Brian

    October 29, 2015 at 3:39 pm
  • Brian Jester
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 29, 2015 at 6:35 pm
  • Josh njenga
    -13 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 29, 2015 at 6:59 pm
  • Mark Fail
    11,845 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    October 30, 2015 at 4:06 am

504

Views

3

Replies