Title: Very Basic Coding Question
Last modified: August 20, 2016

---

# Very Basic Coding Question

 *  [DanAmerson](https://wordpress.org/support/users/danamerson/)
 * (@danamerson)
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/)
 * 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](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752096)
 * 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](https://wordpress.org/support/users/danamerson/)
 * (@danamerson)
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752100)
 * Sure,
 * [http://diythemes.com/thesis/create-landing-pages-thesis/](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](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752105)
 * 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](https://wordpress.org/support/users/danamerson/)
 * (@danamerson)
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752108)
 * 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](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752115)
 * This may help, see this link for creating a static front page (landing page).
 * [http://codex.wordpress.org/Creating_a_Static_Front_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](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](https://wordpress.org/support/users/danamerson/)
 * (@danamerson)
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752126)
 * I’ve found this site
    [http://wordpresssqueezepage.com/](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](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752166)
 * I would be careful of that site. The domain name alone violates WordPress policy.
 * [http://wordpress.org/about/domains/](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.

 * 7 replies
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/very-basic-coding-question/#post-2752166)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
