Forum Replies Created
-
AuthorPosts
-
Gemini55
ParticipantThanks Brad, I don't know where the H1 for the Homepage is coming from - all 'internal pages revert to an H2 with the post/page titles being H1.
This is a Metro P[ro Theme (quite old but I quite like it) on the Genesis Framework.
I also don't know where this file is genesis-site-title.php as I cannot see it.
Gemini55
ParticipantThanks Ren,
All I did at first was to copy the functions.php from the genesis which doesn't have that code...
but has:
require_once( dirname( __FILE__ ) . '/lib/init.php' );
and thanks for this...
- Also, when you’re getting that blank white screen, enable WP Debug in your wp-config.php file (just change the word false to true). This will print an error to the screen that you can use to troubleshoot or paste into support forums so someone else can better assist.
I have looked at http://ameliabriscoe.com/creating-your-genesis-child-theme/
which is very clear.... is there a Studiopress instructions for setting up child theme? (I am probably being an idiot but I could't see it)
Gemini55
ParticipantI have now got this working... created a new functions.php file etc... 🙂
Gemini55
ParticipantI have downloaded directly from Studiopress - files directly on to my computer - simply trying to get its started and create a child theme...
Gemini55
ParticipantI am...
Gemini55
ParticipantI am doing this on a fresh local install so there are no plugins...
Gemini55
ParticipantI have tried that Pixel but the theme just crashes.... when I go to view a post for example... in fact I cannot even login (white screen)
If I copy EVERYTHING from the genesis folder into new theme folder I cannot even login on the WP panel... but as soon as I remove the functions.php I am able to...
Gemini55
ParticipantI am trying to set up WordPress and theme on my 'local' computer but seem to be having a problem adding functions.php file to new theme folder...
I have downloaded Genesis and installed wordpress - no problem and all works
I create new theme folder and name it.... and also add an image to it.. and copy original style sheet across and teh theme appears in the Themes section of wordpress no problem...
Question: What other files do I need to add in the new theme folder? (if any)
I think it is the functions.php -
I have tried copying the functions.php and and when I do that cause a problem... I get a 'white screen' and only when I remove the functions.php from the new theme folder does it all work again
Question: Should I add the functions.php to the new theme folder or not? And IF so How?
Gemini55
ParticipantBrilliant Mary - that makes sense Many many thanls! 🙂
I am on to it and am setting up a local installation 🙂
I have all ftp settings etc.
Gemini55
Participantsorry that was my copying and pasting into here:
The following was added:
//* Remove the post meta function
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );My point is not so much that whatever code is added it is the subsequent crashing and being unable to rectify it. ie. unable to remove any code and save as it was before. I have never known this before with a functions.php
I haven't tried it but I wonder if it would crash simply by clicking on the update button - I am VERY reluctant to do this as it would crash the site again.
Gemini55
ParticipantThis is what was added:
//* Remove the post meta function
remove_action( ‘genesis_after_post_content’, ‘genesis_post_meta’ )Gemini55
ParticipantHi, it is not so much that it crashes the website it is the subsequent inability to put the functions.php back to how it was and restore everything.
The code that was added was from http://my.studiopress.com/snippets/post-meta/
<?php
//* Do NOT include the opening php tag//* Remove the post meta function
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );Gemini55
ParticipantThe small snippet of code I added shouldn't have made any real difference... but once the file is saved it crashes everything and I am then unable to access the functions.php to remove or edit again - in fact unable via wordpress login to access anything.
I haven't tried it but I think if I were to simply save the functions.php without adding anything it would probably crash everything.
Gemini55
ParticipantOkay... I am using Yoast and can add title and meta description... but it still leaves the original one there... which also 'populates' the website logo/title top front left.... how do I disable the meta for that but leave it displaying? Is that possible?
Gemini55
ParticipantHi Lauren,
I have found a work around.... I think it was a plugin that was causing the problem.... still testing but I think resolved.
-
AuthorPosts