In the last video we figured out how to serve different content within our templates based on the users's login and subscription status. We use that ability in this screencast to work on the "Sales Page" - that is, the page we've put at /lodge/ with a custom template. When a user is logged in, it will be a portal to the content inside The Lodge. When logged out, it will be the Sales Page.

We wrote a bunch of copy (in the Photoshop file, of all places) and I've moved that into the WordPress editor for this page. It's a lot of copy, and it really belongs in the editor, not in the template. So, in our template, if the user is logged out or their subscription is expired, we'll out put the_content(), otherwise we'll do something else to show them the portal.

Part of this sales page content is a Big Ol' Signup Button. We need a very clear call-to-action on this page, and this button will be it. We also put it both on the top and bottom of the page so it's nearly always visible and easy to reach.


  1. User Avatar

    Noice Bruh

Leave a Comment

Posting Code!

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.