• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to create simple front page?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to create simple front page?

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 9 years ago by sethbahookey.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 24, 2014 at 7:27 am #132663
    sethbahookey
    Member

    I need to create a front page that simply has two buttons on it. Basically when you land on the site there will be a background picture asking if you are a patient or therapist. Then you would click the appropriate button to send you to the correct part of the site.

    How would I do this? Would I simply edit my front-page.php and just use some basic html? All the guides on front-page.php are to make your posts appear differently on the site, but this is not a blog.

    Thanks!

    November 24, 2014 at 11:58 am #132678
    marybaum
    Participant

    That would work, but it puts content in a template file.

    And that's kinda one of my pet peeves.

    Here's why: Imagine that someone besides you needs to make a change down the road - maybe the pic needs updating, maybe the terminology changes because of a change in the industry. Meanwhile, you're on the vacation of a lifetime with the love of your life.

    You really don't want somebody who doesn't know your code well to get all up in your files. And if they don't know html or php well, their simple change could bring down a white screen of death. Wanna guess who's gonna take the fall for that?

    Also, there's no need to put text in a picture if it's just for typography. There's probably a web font available for your typeface - or a close version - and it's been five years since we had to stick to web-safe type.

    So what I'd rather see you do is set up a category called something like 'front-posts' and set up two posts - maybe one with a big beauty photo as your background, and then each with your button and a little descriptive copy.

    Then you'd edit your front-page.php (aka the home-page template file) to make two widgets - one to hold the photo and one button and the other to hold the other button.

    Now, when someone wants to make a change, and you're on vacation, they edit the posts instead of the files. No broken site - and everyone's happy.

    It's more work upfront, but imho it's totally worth it.

    M


    Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀

    November 24, 2014 at 12:07 pm #132681
    sethbahookey
    Member

    That is a very insightful post, thank you so much for taking the time to write that out! I will definitely try and figure out how to make what you said work.

    I think this is my disconnect with WP in general. I'm lost when it comes to making custom pages that can be edited via the WP admin. I'm still in the mindset of making static pages for this and that.

    So anytime I want to do something custom, I should try and turn it into a post?

    November 25, 2014 at 1:54 pm #132790
    sethbahookey
    Member

    Hmm marybaum, now that I have tried to accomplish this goal you had me set out to do... I've come to realize I have no idea what I'm doing at all haha.

    How would I go about creating a category and all these posts? Rather, would these be custom page templates that you are having me create, or simply going into WP backend and creating a category then making two posts and associating them with that category?

    Thanks

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble