• 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

Should I create custom page template or use functions.php?

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 › Should I create custom page template or use functions.php?

This topic is: resolved

Tagged: custom page template, functions.php

  • This topic has 4 replies, 3 voices, and was last updated 3 years, 9 months ago by Paul Wylie.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • June 2, 2019 at 2:19 pm #491467
    Paul Wylie
    Participant

    Hi

    This is my first posting on here and I am just starting to use Genesis for the first time creating a website. I'm using the Business Pro theme.

    I want to customise the contact page and if you view the URL, you can see the Email and Telephone sections that I want to create next to the form.

    My question is should I create custom page template or use functions.php to target the contact page using a conditional. I guess I'm trying to find out best practise or if one method is better than the other in this case.

    Thanks

    Paul

    https://www.pauls1.sgedu.site/screenshot.png
    June 2, 2019 at 3:49 pm #491468
    Anita
    Keymaster

    You can probably just use the new block editor (Gutenberg) and Atomic Blocks to get that look.


    Love coffee, chocolate and my Bella!

    June 3, 2019 at 5:28 am #491477
    Paul Wylie
    Participant

    Hi Anita

    Thanks for reply.

    I prefer to try and code it instead of using a plugin.

    June 3, 2019 at 8:39 am #491479
    Victor Font
    Moderator

    Set the page to use sidebar/content layout, then use Custom HTML widgets in the sidebar.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    June 4, 2019 at 3:10 am #491488
    Paul Wylie
    Participant

    Hi Victor

    Thanks for your reply. I did as you suggested and also set a class on the body using the 'Custom Body Class' field on the Contact page so I could target that page with CSS and make the content full width (no wrap).

    Paul

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Should I create custom page template or use functions.php?’ is closed to new 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