• 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

current page layout

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 › current page layout

This topic is: not resolved
  • This topic has 5 replies, 4 voices, and was last updated 11 years, 11 months ago by Brad Dalton.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 27, 2013 at 11:52 am #42811
    mmjaeger
    Member

    hello

    is there a way to determine the current layout in functions.php?

     

    thanks

    August 20, 2013 at 2:42 pm #57694
    Susan
    Moderator

    Hi - I'm working through the list of posts with no replies. As you posted a while ago, I hope your issue was resolved. If not, can you please check in here, and I will escalate for you.

    August 20, 2013 at 2:45 pm #57702
    mmjaeger
    Member
    This reply has been marked as private.
    August 20, 2013 at 3:02 pm #57712
    Lindsey Riel
    Member

    IF you mean to force a layout you can do that in your functions file. Here's a great tutorial:
    http://genesissnippets.com/force-a-layout/


    Lindsey
    prettydarncute.com

    August 20, 2013 at 3:05 pm #57721
    mmjaeger
    Member

    I'm aware of that function - thank - however, I need to figure out what the layout is of a page - so depending on the layout of the current page I might run this or another function

    August 20, 2013 at 4:45 pm #57793
    Brad Dalton
    Participant

    Yes. You can do that using code like this:

    https://gist.github.com/braddalton/5924781


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 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

© 2025 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