To insert code use <code>...</code>.
Custom Template - Sales Landing Page
  • Did a quick Custom Template - Sales Landing Page:
    Included in this zip are the following:

    1. The custom template file (any modifications to the CSS are inline here too
    2. Custom header.php file
    3. Custom footer.php file

    All you need to do is unzip these files to your Striking directory. Create a new page and then use the Landing Page template as the page template.

    What you will get is a header with only your logo and no link. A fullwidth page, that you can still use the header introduction options of your choice (or none) and a footer with only the subfooter. I have commented areas if you would like to remove cufon etc...

    I commented every place in these three files where the changes were made and left the original code in so that you can see how easy it is to create these custom templates and that with KaptinLin's shortcodes you can make almost any type of landing page, squeeze page that you would like. There is no reason to buy the sales page plugins.

    Of course any questions, don't hesitate to ask.....

    Runner2009
    Burt Gordon
    CustomLandingPage.zip
    4K
  • 22 Comments sorted by
  • Nice work Burt !!!
  • Works like a charm! You've saved me a lot of work, Burt!
  • how to remove the logo from the landing page?
  • Hi

    .page-id-999 #logo {display:none;}

    replace the 999 with the correct page-id

    to get the page id install a plugin wp show id's

    Best regards,
    Striking Team
    Paul
  • Hello, I am very keen on using this template, however when installed in the directory and set as a template for a new page I still have the menus and search bar in the header.

    When I tried to investigate the file header-landing.php was locked, could this be the source of my problem and if so, how do I unlock it?

    Thanks for your help!
    Caitlin
  • Hi Caitlin,

    Just tested this on my server again and i have not a single problem with this. It just displays the landing page like it suppose todo.

    Best regards,
    Striking Team
    Paul
  • It should work. I just created another one that allows you to use some of Striking's custom fields. to be used to add content in a customize fashion.

    Runner2009
    Burt Gordon
  • Hi Paul, thanks, I figured out the locking problem was the text edit program on my mac.

    However, my landing page header is still reverting to my standard header.
    Under the editor in wordpress I see the files:
    header_landing.php
    footer_landing.php
    Landing Page Page Template

    Am I missing something or do you have any other suggestions on how to reconcile this?

    I am very new to this and have never built a website let alone worked with code before, but I am looking to learn! Sorry if my questions are tedious in the meantime...

    Thanks,
    Caitlin
  • Hello,
    Figured out the problem, I had inserted the entire custom landings folder in the striking directory. Inserting the files individually under the main directory fixed the problem. Thanks for the template - looks great!
    Cheers,
    Caitlin
  • Hello,

    Thank you for this template, it's great. I'm having a little trouble with it as I try to add custom css. Just FYI I'm using complex css because I'm using woocommerce, not sure that makes a difference.

    1) I can change the page background color into a solid color by doing this
    #page {
    background-color:#fec54c;
    }

    into the header-landing.php file where it says "add CSS here" and it's not working.

    Any help would be so appreciated!!!

    Thank you so much!

    Maayan
  • Sure, this was written awhile ago, before there was the complex CSS. send me a link of the page and I'll show you what to do
    You can PM me if you want.... runner2009 (AT) gmail (DOT) (COM)

    Runner2009
    Burt Gordon
  • Hi

    When one uses the complex css code some of the theme classes change. Not all but some.

    this means to get the classes as mentioned below behave different you will have to add the "theme_" prefix to the class.

    However de #page is not affected by the complex css. Within the #page there could be a button which then needs the prefix to get hold of that item.

    #page .theme_botton.grey

    Can you please put in a link to the page so we see the problem.

    I also believe to override the #page bg color you should use

    #page {
    background-color:#fec54c !important;
    }

    If you need any help on this can you grant me access to the admin part of your website?

    Just send me a private email with the login details to the admin.

    Click on my name and then on the left you can send me a private email.

    Please also include a link to this thread so i know what the personal mail is about.

    Best regards,
    Striking Team
    Paul


    he purpose of this setting is to activate an alternative css file called screen_complex.css (found in the CSS folder) in Striking that amends the Striking theme classes to avoid class name conflict with Woo-Commerce as that plugin uses css classes that are traditionally used for theme builders, in their plugin.

    The css classes covered include button, code, pre, tabs, mini_tabs, pane, panes, tab, accordion, info, success, error, error_msg, notice, note, note_title, note_content and each class is pre-pended with theme in order to amend the class name.
    For example: button become theme_button.

    This is the only purpose of this setting although Striking users have also indicated that in rare situations where another plugin is encroaching on traditional theme classes this setting has helped alleviate them.

    Anytime one is using a more advanced plugin that includes many css settings for active styling, such as an ecommerce plugin, it is always a good idea to do a quick review of the css of both the theme and the plugin to see if the latter encroaches on theme css. One has always to remember that almost all plugins are designed for the default WP themes shipped with the wordpress core, which contain minimal css classes, not premium themes as robust as Striking, which contain much more advanced css, and so the potential for css (and js conflict if diff js and jquery versions are in use) becomes much greater. Striking is the framework to which the plugin is attempting to fit, so it is incumbent upon the plugin developer to write clean non-conflicting code, not the theme. Nonetheless, Striking goes the extra distance to try and bridge situations where this is not the case, and this setting is one such example.

  • Hello!

    Thank you so much for your replies! I didn't receive an email alerting me of the responses, oddly enough. Thank you so much for taking the time, I so appreciate it.

    Thank you Burt so much - the page is called. www.palmsforlifefund.org/join1000. Any tips? I'll email Paul with the admin details he asked for, especially as now that I've updated I've lost the ability to have the feature header on the landing page, not sure why. Thank you so much for your response and help..and of course for the template it's great :) I'll update this discussion with the solutions once I have them!

    Warm regards,

    Maayan
  • Hi,

    just to clarify,

    " especially as now that I've updated I've lost the ability to have the feature header on the landing page"

    Can you explain what do you mean by that. The idea of the landing page was to strip out all of the header part content.

    Is this a new problem added to the custom css problem you where talking about?

    Pls advice.

    Best regards,
    Striking Team
    Paul
  • I believe you need to add the $post_id = get_queried_object_id(); to the main template file - otherwise you can't use the Striking built in Heading or introduce function....


    //////////////////////////////

    $post_id = get_queried_object_id();

    get_header("landing"); ?>


    Runner2009
    Burt Gordon
  • Hello Burt and Paul,

    Thank you both so much for your messages. Yes, indeed, there are two problems, I apologize, perhaps I should have started a new thread but I wasn't sure if it was all related to the Landing Page Template.

    Burt - I have $post_id = get_queried_object_id(); added to the main template file (if you mean the template_fullwidth_land.php file) and it hasn't made a difference.

    1) Indeed, I had/have trouble with background - I could change it into a color but not an image.

    2) The second problem was that the feature header was not working properly (not sure if it's because of the custom page or Striking). I had re-integrated into the template the possibility of having a feature header - so I had a CUSTOM TEXT in the feature header where I was using a MaxButton shortcode and it was lovely.

    After the update, the feature header doesn't work anymore if I select CUSTOM TEXT. I have to now select CUSTOM TEXT AND SLIDESHOW (which I actually don't want) for the shortcode that I have inputed in the CUSTOM TEXT area to display.

    I hope that makes sense and thank you in advance for your time and help.

    Best,

    Maayan
  • Thanks to Burt for resolving one of two issues - the feature header is totally working again! Attached is the file that Burt so kindly provided for me that helped resolve this problem :)
    landing-page.zip
    152B
  • What a valuable thread! Thank you so much for this little treasure. Paul and Burt, you are my heroes ! =D>
  • Thanks to Burt for resolving one of two issues - the feature header is totally working again! Attached is the file that Burt so kindly provided for me that helped resolve this problem :)



    I just tried downloading the zip, when unzipped there is nothing in the folder, could you please re-upload? My background image doesnt work :-)

  • BackuPs said:

    Hi

    .page-id-999 #logo {display:none;}

    replace the 999 with the correct page-id

    to get the page id install a plugin wp show id's

    Best regards,
    Striking Team
    Paul



    I have installed the wp show id,but where i should put the code".page-id-999 #logo {display:none;}".
    I put it in text,but it does not work.Could you tell me how to do it?
    By the way i have replace the 999 with the correct page-id.
  • hi

    Please put this custom css code into the custom css field of the striking general settings.

    And yes you need to replace 999 by the correct id.

    But you can also install striking_R as it has buildin support for landing pages.

    Best regards,
    Striking Team
    Paul

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion