Digital experiences for all disciplines
Forum Replies Created
-
-
Fixed it:
figure:hover > a > .overlay { display:none;
Had someone from Codeable to fix it.
Though now I get this
Should I worry?
Translates to:This theme is broken and can not be used. Template is missing.
Attachments:
You must be logged in to view attached files.I have reversed the changes now, because there was no difference.
It’s still just the page heading that’s broken.
Only change now is the code you gave me, that I inserted into the functions.php in my child theme.
Still can’t get it to work.
I don’t know which changes I am supposed to make in the code you gave me to paste in functions.php.
When I update my child theme for example product-archive.php (the part about the removed code) it still just removes my H1 and breadcrumbs.
So I’m still really confused to how I’m supposed to fix the asset heading (width problem) on archive page and get my H1 and breadcrumbs back on single product pages.
Still doubts. I pasted the code into functions.php
I will fix the differences between the php files and keep you updated. I’ll let you know if this will kill me.
Yeah, you lost me there.
Can you give me a quick step by step?
Okay great.
Does that mean I have to include the sf-page-heading.php in my child theme as well for it to work?
Okay thanks.
Took a look at the php files again.
In product-archive.php you removed this part:
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) && $default_show_page_heading) : ?> <div class="row"> <div class="page-heading span12 clearfix alt-bg <?php echo $default_page_heading_bg_alt; ?>"> <div class="heading-text"> <?php if ( version_compare( WOOCOMMERCE_VERSION, "2.0.0" ) >= 0 ) { ?> <h1><?php woocommerce_page_title(); ?></h1> <?php } else { if ( is_search() ) { echo '<h1>'; printf( __( 'Search Results: “%s”', 'woocommerce' ), get_search_query() ); if ( get_query_var( 'paged' ) ) { printf( __( ' – Page %s', 'woocommerce' ), get_query_var( 'paged' ) ); } echo '</h1>'; } elseif ( is_tax() ) { echo '<h1>' . single_term_title( "", false ) . '</h1>'; } else { $shop_page = get_post( woocommerce_get_page_id( 'shop' ) ); echo '<h1>'; echo apply_filters( 'the_title', ( $shop_page_title = get_option( 'woocommerce_shop_page_title' ) ) ? $shop_page_title : $shop_page->post_title ); echo '</h1>'; } } ?> </div> <?php // BREADCRUMBS echo sf_breadcrumbs(); ?> </div> </div> <?php endif; ?>
How come? When I update the PHP file, my asset heading with H1 and breadcrumb will disappear
Yeah it will show the changes, but you pretty much edited the entire php file since version 1.0 from our childtheme.
Do you handle edits on hourly pay basis?
Hi David
I know what he did. I just don’t know where to find it in the code. 🙂
Is this something you guys can do? I’m not really that good with code.
I only think it’s about those 3 files (at least they’re the only ones in my child theme)
The only files in my child themes are
archive-product.php
content-prduct.php
content-single-product.phpAnd all of the versions are 1.0.. so yeah, they’re pretty outdated.
So what’s the purpose of having child theme if they’re outdated as soon as you guys update your theme?
Okay, I checked the differ: https://www.diffchecker.com/ajqsv0tx
Our archive has a few changes – for example our category description under products instead of above. But I can’t seem to find this here.
What I do seem to find is that the h1 asset + breacrumb area is removed in the newest version.
Hi
It works with parent theme.
So I don’t get why it didn’t work when replacing php files from child theme?
-