Community Forums › Forums › Archived Forums › General Discussion › Create New Page Template
Tagged: custom layouts, Page Templates, widget areas
- This topic has 25 replies, 5 voices, and was last updated 11 years, 11 months ago by
marybaum.
-
AuthorPosts
-
March 13, 2013 at 10:26 pm #26126
BennettGlobal
MemberHey 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 #26127BennettGlobal
MemberNow 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 #26128marybaum
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 #26129marybaum
ParticipantSo 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 #26924BennettGlobal
MemberMB, 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 #27215marybaum
ParticipantNever 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. 😀
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.