-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#78] setting up Goodbids main theme #110
Conversation
/** | ||
* Disable remote block patterns. | ||
*/ | ||
add_filter( 'should_load_remote_block_patterns', '__return_false' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove remote patterns.
themes/goodbids-main/screenshot.png
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom screenshot for the main theme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update style.css
/** | ||
* Disable remote block patterns. | ||
*/ | ||
add_filter( 'should_load_remote_block_patterns', '__return_false' ); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable remove patterns.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are doing this in the parent theme, we shouldn't need to do this in the child theme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that is correct.
themes/goodbids-main/theme.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the colors are updated and any custom padding or style for buttons is moved into the main
and removed from the child site.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update the nonprofit site to be a child of the goodbids main theme.
themes/goodbids-nonprofit/theme.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed most of the custom style in the child theme as they are now in the main theme. The only thing we had to keep is the colors. If I removed the colors from the child theme they all default to black/white, which is not what we want.
@bd-viget and @nathanlong I have made notes to all the files that I have edited, which should make it easier for you. The rest are a copy of the twenty twenty-four theme. Some of these templates and patterns we may not need, but once the pages are set up we can go through here and remove all of them that we don't need. |
5e75cfe
to
e4580f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job going through all the Twenty Twenty-Four theme files! You nailed getting all the references updated. Requested a few small changes, and had some questions about other stuff.
/** | ||
* Disable remote block patterns. | ||
*/ | ||
add_filter( 'should_load_remote_block_patterns', '__return_false' ); | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are doing this in the parent theme, we shouldn't need to do this in the child theme.
0888976
to
c9c8ae6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! One update to the Namespace and Since tags, and should be good to go!
c9c8ae6
to
4220484
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chatted you directly about the @since
, otherwise good to go!
Summary
This sets up the main Goodbids theme which is a copy of WP Twenty Twenty-Four theme. 99% of this is copied files, I will flag the files I edited.
All of the base styles are removed from the nonprofit site and moved into the main theme.
I added the plum and the two pink as accent colors to the main site as the originally Twenty Twenty-Four accent colors did not go with the GB green, but we needed those accent colors for some core patterns. May not be a big deal if we remove the core patterns, but does not hurt to have those colors available to the main site editor.
Issues
Testing Instructions
Screenshots