• 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

Create New Page Template

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 › General Discussion › Create New Page Template

This topic is: not resolved

Tagged: custom layouts, Page Templates, widget areas

  • This topic has 25 replies, 5 voices, and was last updated 12 years, 2 months ago by marybaum.
Viewing 6 posts - 21 through 26 (of 26 total)
← 1 2
  • Author
    Posts
  • March 13, 2013 at 10:26 pm #26126
    BennettGlobal
    Member

    Hey Bill,

    Sorry about the tutorial mix up.  I'm so tired, I can't keep my eyes open.  I will test the code in the morning...I've been at this for 18 hours.  My eyes are shot.

    Michael

    March 13, 2013 at 10:53 pm #26127
    BennettGlobal
    Member

    Now I'm really stumped.

    Re-did my Custom Home Page Template (the one I call Entertainment) using Brad's code as a test.  My previous line 12 error is now on line 9 but the same message.  It's the exact same line of code in both error messages.

    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );\

    I'm stumped.  Any ideas what I should do?  I will check tomorrow.  I've been at this for 18 hours trying to solve this and my eyes are shot.

    Thanks,

    Michael

    Parse error: syntax error, unexpected T_STRING in /home/bgeinc/public_html/wp-content/themes/genesis/page_entertainment.php on line 12

    Parse error: syntax error, unexpected T_STRING in /home/bgeinc/public_html/wp-content/themes/magazine/Entertainment.php on line 9

     

    March 13, 2013 at 10:58 pm #26128
    marybaum
    Participant

    (double submit removed.) I hit Submit and get a 404, then hit it again and don't realize the system's accepted my Submit!


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

    March 13, 2013 at 10:58 pm #26129
    marybaum
    Participant

    So this is the line that's stumping you, right?

    remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );\

    Try getting rid of the backslash at the end of the line, after the semicolon.

    That just might be your whole problem . . .

    Gnight ...

    MB


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

    March 14, 2013 at 6:12 pm #26924
    BennettGlobal
    Member

    MB, Bill, Brad,

    Well, I have finally solved my problem.  That / mark after this--- remove_action( ‘genesis_loop’, ‘genesis_do_loop’ );\ was the problem.  As I examined the code further, it appears that when I copied the code into my php folder it placed a / mark after several lines of code and gave me a continuous set of error codes, so I removed all of them and it works fine now.  I feel incredibly stupid putting you all through this, but I'm now off to the races.

    Thank You All...

    Until I need you again (which I'm sure I will)

    Michael

    March 15, 2013 at 4:07 pm #27215
    marybaum
    Participant

    Never fear, Michael.

    I think my original problem was a version of the same thing - one line had Pa after the semicolon that got there (I think) when I thought I was typing into a signup form or something on my other monitor.

    I also had a situation yesterday where some content wouldn't go into a middle widget on a home page. Of course not - I had uploaded an old copy of the home.php file that didn't HAVE a middle widget, because I had written the middle widget into the server version instead of the local version without realizing it, then uploaded the local copy to overwrite it . . . D'oh!

    Fortunately, a lot of what I call writing, in this case, was mostly copy-paste-change. So it wasn't a big deal to redo it on the local version and then upload.

    Have a great weekend!

     

    Mary


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

  • Author
    Posts
Viewing 6 posts - 21 through 26 (of 26 total)
← 1 2
  • The forum ‘General Discussion’ 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