Forum Replies Created
-
AuthorPosts
-
SRDMember
Thanks Victor,
Which code are you referring to?
I have restored from backup and the issue remains. 🙁
SRDMemberHello? Are you there?
SRDMemberThanks,
I can only find http://my.studiopress.com/tutorials/setup-custom-header/ on Google, which doesn't talk about moving or re-adding the header image.
If I search http://my.studiopress.com for "move header image" I find nothing relevant.
SRDMemberWe're talking about a Genesis child theme here, which does support WooCommerce, not a plugin.
Child Theme's woocommerce.php:
<?php /** * WooCommerce Template * * Template used for all WooCommerce views for your site * */ //* Remove standard post content output remove_action( 'genesis_loop', 'genesis_do_loop'); //* Add WooCommerce content output add_action( 'genesis_loop', 'woocommerce_setup_genesis' ); genesis();
Child Theme's functions.php:
/* WooCommerce */ function woocommerce_setup_genesis() { woocommerce_content(); } add_theme_support( 'woocommerce' );
I was hoping to learn the custom code to allow header images to work with WooCommerce.
SRDMemberHi Victor,
The code
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); add_action( 'genesis_after_header', 'genesis_entry_header_markup_open', 11 ); add_action( 'genesis_after_header', 'genesis_do_post_title', 12 ); add_action( 'genesis_after_header', 'genesis_entry_header_markup_close', 13 );
works on post titles and page titles.
How do I make it only affect page titles, leaving post titles where they are?
March 2, 2017 at 9:41 pm in reply to: Blog page title area not the same as other web page title areas #202388SRDMemberHi Victor. Please see http://vmpersonal.com/blog.html
SRDMemberah okay, thanks Victor.
March 2, 2017 at 6:40 am in reply to: Blog page title area not the same as other web page title areas #202329SRDMember(we developed the theme ourselves)
March 2, 2017 at 6:40 am in reply to: Blog page title area not the same as other web page title areas #202328SRDMemberIt's a custom child theme with no home.php, which is used to display the Blog page.
SRDMemberheader image thanks, @ http://vmpersonal.com/shop.html
March 1, 2017 at 7:24 am in reply to: Blog page title area not the same as other web page title areas #202243SRDMemberWe're using a child theme of Genesis.
We don't have a custom template for the blog (e.g. home.php).
SRDMemberHello?
SRDMemberThe PHP code is inside a function called to be added into the <head> already.
The PHP code executes but the URL is an empty string.
Cheers.
SRDMemberHi Victor,
I've been searching for something like knowthecode.io for about a year.
Thank you so much for the link, and for your support.
Regards,
SteveSRDMemberThank you Victor, it worked perfectly.
I have access to a visual hooks guide, but is there also a genesis functions guide?
I understand
genesis_after_header
is a genesis hook, andgenesis_do_post_title
is a genesis function. Is that right?Regards,
SteveDecember 19, 2016 at 6:53 am in reply to: can't add action to 'genesis_before_content_sidebar_wrap' hook #197820SRDMemberBeaut, that example has provided me with:
function mhm_do_home_slider() { if ( is_front_page() && function_exists( 'putRevSlider' ) ) { putRevSlider("home", "homepage"); } } add_action('genesis_before_content_sidebar_wrap', 'mhm_do_home_slider');
which works now.
Thank you.
SRDMemberI was searching for how to create our own widget areas.
SRDMemberHi Braddalton,
Thanks for the reply. I had uploaded
functions.php
to the wrong folder.Silly me!
Thanks,
SteveDecember 18, 2016 at 8:11 pm in reply to: Altered prefix for breadcrumb in child theme functions.php does not display #197793SRDMemberExcellent, thank you kindly Victor.
-
AuthorPosts