WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Landing Pages
[resolved] FYI Template Conflicts (3 posts)

  1. atjackson45
    Member
    Posted 1 year ago #

    More For Your Information:

    Your plugin does not work with all templates. Since all developers create their templates different, I had to code a fix to filter the landing pages and give them a different header and footer.

    Note: I like this plugin, It has proved a way for me to create specialized landing pages that are also highly configurable so my members don't need to pay monthly for landing pages and mine are a whole lot nicer, so it's even more awesome.

    Unfortunately, there are a lot of major bugs that need to be fixed before I can have my members use it. They need to be able to install new plugins with having the deactivate the plugin and I need my community to give access to my main site with out redirecting to 404 pages.

    If I can help in the fixes. Let me know.

    Thanks
    Tara Jackson

    http://wordpress.org/extend/plugins/landing-pages/

  2. David Wells
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Tera,

    What Template are you working with?

    We have seen some issues with the thesis and genesis frameworks.

    Also, We would love to see the templates you are creating!

    The add-on deactivation bug should have been knocked out in the latest version 1.0.3.5 of the plugin and the newer versions on any add-on should not deactivate on plugin upgrade.

    Let me know if you run into any other issues! We want to fix anything we (or others) find!

    -David

  3. atjackson45
    Member
    Posted 1 year ago #

    Hey David,

    This is a tricky issue. I got a template from themeforest and the developer coded the header and footer in the base.php file so that every page automatically gets them.

    I had to add this fix in the base.php for my template to work.

    <?php
        session_start();
    ?>
    
    <?php if ('landing-page' !== get_post_type()) { ?>
      <?php get_template_part('templates/header'); ?>
            <?php include roots_template_path(); ?>
      </div>
      </div>
      <?php get_template_part('templates/footer'); ?>
    
    <?php wp_footer(); ?>
    </body>
    </html>
    
    <?php } else { ?>
    
      <?php include roots_template_path(); ?>
      </div>
      </div>
    
    <?php wp_footer(); ?>
    </body>
    </html>
    <?php } ?>

    Just something that may help others who get a theme coded the same.

    And I want to mention all of the bugs that I discovered are now fixed in the latest version of the landing page plugin, I couldn't be happier with the support provided.

    Awesome plugin :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.