Support » Plugin: WordPress Landing Pages » FYI Template Conflicts

  • Resolved atjackson45

    (@atjackson45)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Wells

    (@davidwells)

    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

    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 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘FYI Template Conflicts’ is closed to new replies.