• DanAmerson

    (@danamerson)


    When I see step by steps and advice on coding,

    They give me a specific line of code to put.

    function landing_page() { if(is_page(array(’78’,’79’,’80’)))

    But I have no idea where to put this code. Is it simply in the ‘html’ part of the content? Or does it go somewhere else?

    Easy points for whoever answers

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Can you provide some more information such as where you got that advice?

    That’s only the beginning of a PHP function and just that if() by itself wont do anything.

    Thread Starter DanAmerson

    (@danamerson)

    Sure,

    http://diythemes.com/thesis/create-landing-pages-thesis/

    This link is to build squeeze pages using WordPress and Thesis.

    The code given was just an example

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Ah. The code like that page would go into your theme’s functions.php file. Make sure you have really good file backups before you try to edit any files.

    That specific code is for a commercial theme and uses that theme’s API. For support of Thesis code, you’ll have to ask at DIYthemes.

    Thread Starter DanAmerson

    (@danamerson)

    Sounds cool,

    I’ll ask around a little bit and see what’s what.
    I’m essentially looking to create a landing page/squeeze page, so if there’s any simpler way of making it happening, I’d love to hear it too!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    This may help, see this link for creating a static front page (landing page).

    http://codex.wordpress.org/Creating_a_Static_Front_Page

    If you get comfortable with page templates, then you can create your own landing page and apply that template to it.

    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

    There is a learning curve but that in my opinion makes it more interesting. 😉

    Thread Starter DanAmerson

    (@danamerson)

    I’ve found this site
    http://wordpresssqueezepage.com/

    Which offers a free WP squeeze page.
    I’ll give this a go for the time being!

    Will definitely look back at your resources and try them out (I have read them)

    Thanks for your patience!

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I would be careful of that site. The domain name alone violates WordPress policy.

    http://wordpress.org/about/domains/

    That alone would make me wary of them.

    Give the links I sent a read again, creating a static front page isn’t difficult to do.

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

The topic ‘Very Basic Coding Question’ is closed to new replies.