Forum Replies Created
-
AuthorPosts
-
Gregory
Member... thanks Victor.
Gregory
MemberHi Victor,
I have. There are only two that I've been able to find with any development legs and both of those have not been updated in quite some time. Besides, as stated above, we've already built a custom child theme and are simply looking for guidance on how to properly integrate either Bootstrap or Foundation into the Genesis Framework given its wrap/html structure.
We need to to implement Bootsrap/Foundation rows and grids, menus, etc..
If you're available for commission work, I wouldn't be opposed to having you take a look at our theme code from the inside if that will assist with your answer.
Thanks.
Gregory
Member... thanks again Victor.
Gregory
MemberHi Victor,
Your snippet worked perfectly. Thanks for your help.
Gregory
Member... just read your BIO as well. Would have never expected that type of background in a WP Developer! I come from a leadership background as well (in the construction management space), and can appreciate the dedication it must have taken you to learn and contribute at that level you have. Good stuff Victor!
Gregory
Gregory
MemberHi Victor,
Thanks. I'll give that a shot. I assume then that this same targeting can be applied to the genesis_structural_wrap filter depending on what wrap we want to target?
Gregory
Gregory
MemberHi Victor,
Thanks for your reply, but won't your solution add the additional CSS to the "header" DIV block? I'm looking to add the additional CSS to the "wrap" DIV block directly following the "header" DIV block, i.e.,
<header class="site-header"> <div class="wrap my-additional-class"> ... </div> </div>
Thanks in advance.
Gregory
Gregory
MemberUPDATE
Okay, by disabling Photon, I got rid of the wp.com entries, however, many of the other entries remain which I believe are not related to Jetpack:
https://www.dropbox.com/s/p4qfwfa167lq1j6/wpAddImageII.PNG?dl=0
Thoughts?
Gregory
Member... I deactivated Photon (from within Jetpack) which did not resolve the issue. Posted the question to WP.org per your suggestion as well.
Gregory
Member... thanks.
Gregory
MemberSo from the code we posted above, the produced html source is NOT something you've seen before?
Gregory
Member... any ideas or is the source produced designed WP behavior?
Gregory
MemberHi Brad,
Sure thing. Here's the long version:
//* Add new featured image sizes add_image_size( 'home-bottom', 150, 100, TRUE ); add_image_size( 'home-top', 400, 200, TRUE ); // Add featured image sizes add_image_size( 'entry-image', 650 ); add_image_size( 'featured-small', 320 ); // Add other useful image sizes for use through Add Media modal add_image_size( 'small-width', 320 ); add_image_size( 'medium-width', 480 ); add_image_size( 'podcast', 200, 200 ); add_image_size( 'twitter-in-stream', 506, 253 ); add_image_size( 'facebook-link-timeline', 484, 252 ); add_image_size( 'facebook-link-page', 470, 246 ); add_image_size( 'facebook-image-timeline', 504, 0 ); add_image_size( 'facebook-image-page', 470, 470 ); add_image_size( 'front-page-hero', 1200, 9999 ); add_image_size( 'podcast-thumbnail', 200, 9999 ); add_image_size( 'podcast-feature', 300, 300 ); add_image_size( 'portfolio', 300, 200 ); add_image_size( 'slider', 1200, 500 ); // Register the image sizes for use in Add Media modal add_filter( 'image_size_names_choose', 'sg_custom_sizes' ); function sg_custom_sizes( $sizes ) { return array_merge( $sizes, array( 'featured-large' => __( 'Featured Large' ), 'featured-small' => __( 'Featured Small' ), 'small-width' => __( 'Small Width' ), 'medium-width' => __( 'Medium Width' ), 'podcast' => __( 'Podcast' ), 'twitter-in-stream' => __( 'Twitter In Stream' ), 'facebook-link-timeline' => __( 'Facebook Link Timeline' ), 'facebook-link-page' => __( 'Facebook Link Page' ), 'facebook-image-timeline' => __( 'Facebook Image Timeline' ), 'facebook-image-page' => __( 'Facebook Image Page' ), 'front-page-hero' => __( 'Front Page Hero' ), 'podcast-thumbnail' => __( 'Podcast Thumbnail' ), 'podcast-feature' => __( 'Podcast Feature' ), 'portfolio' => __( 'Portfolio' ), 'slider' => __( 'Slider' ), ) ); }
And here's a screenshot of the produced source:
https://www.dropbox.com/s/ynpfctlevddvrt0/wpAddImage.PNG?dl=0
Thanks Brad.
Gregory
-
AuthorPosts