Creating the “Home” Page (Front Page)

Lens knows you like to play with your front page (the main page of your site). That is why you have the flex­i­bil­i­ty of bring­ing your projects, gal­leries or parts of them, cen­ter stage.

The cus­tomiza­tion set­tings can be found in Word­Press Dash­board, under Appear­ance → Cus­tomize, but first, let’s go through the fol­low­ing steps:

Step 1 — Create a “Home” page

From your site Word­Press Dash­board, click on Add a new page and name it “Home” or alike in order to eas­i­ly remem­ber it.

Step 2 — Set the “Custom Home Page” template

Set the Cus­tom Home Page tem­plate by reach­ing the Page Attrib­ut­es sec­tion. This will allow you to dis­play your home­page like a Gallery, a Project, Port­fo­lio Archive, Port­fo­lio Cat­e­go­ry, Gal­leries Archive or Gal­leries Cat­e­go­ry.

Step 3 — Set the Content Source

Once you are done with the sec­ond step, you enable a new sec­tion named Choose your home page which allows select­ing the home page con­tent sources:

  • The Port­fo­lio Archive will put on your home­page the lat­est projects in your port­fo­lio with pag­i­na­tion, AJAX load­ing on scroll (infi­nite scrolling) and/or fil­ter­ing by cat­e­go­ry depend­ing on what options have you cho­sen.
  • The Port­fo­lio Cat­e­go­ry option is sim­i­lar to the Port­fo­lio Archive, but will only dis­play the lat­est projects from a cer­tain port­fo­lio cat­e­go­ry, cho­sen from the drop­down. This will also be affect­ed by whether or not you have infi­nite scrolling acti­vat­ed (fil­ter­ing will not be dis­played since we have noth­ing to fil­ter).
  • The Project option means you will only show a spe­cif­ic sin­gle project (pre­vi­ous­ly cre­at­ed). Once you choose this option you will see a drop­down with all of your cur­rent projects to choose from.
  • The Gal­leries Archive option is just like the Port­fo­lio Archive only that it will dis­play your gal­leries.
  • The Gal­leries Cat­e­go­ry option is sim­i­lar to Port­fo­lio Cat­e­go­ry.
  • Choose the Gallery option if you wish to use a sin­gle gallery as your home­page.

A use­ful fea­ture is the abil­i­ty to Exclude cer­tain projects or gal­leries from the archives. This was intend­ed to com­ple­ment the use of a sin­gle project or gallery as your home­page. This also comes in handy when you want to show­case a cer­tain project or gallery sep­a­rate­ly in your menu.

Step 4 — Set a Static Front Page

To fin­ish this up, let’s put the above-cre­at­ed page on front page. By default, Word­Press dis­plays the lat­est posts there — to change that and show your new “Home” page, fol­low the stan­dard method:

  1. Launch the site Cus­tomiz­er and click on the Sta­t­ic Front Page tab on the left.
  2. Select the Sta­t­ic Page option, then choose your new page from the Front Page drop-down.
  3. Click on the Save & Pub­lish but­ton to save your sta­t­ic page set­tings.

Addi­tion­al Read­ings:

This article applies to Border, and Lens as they share the same underlying structure.

Updated on December 1, 2017

Was this article helpful?