Forum Replies Created
-
AuthorPosts
-
hmistlerMember
Oh ok - that was part of the original theme, I didn't even notice it. Just changed it and it works perfectly, thank you!
hmistlerMemberCheck your front page settings in Appearance > Customize. I was having the same problem as you, then I changed my setting in Static Front Page to latest posts (instead of static front page). Got rid of the title instantly.
hmistlerMemberOk...how would I move the title in the template?
hmistlerMember*Update*
Here is the part of the code in the archive_product page that comes with WooCommerce and controls the shop page, if it helps:
if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } get_header( 'shop' ); ?> <?php /** * woocommerce_before_main_content hook. * * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content) * @hooked woocommerce_breadcrumb - 20 */ do_action( 'woocommerce_before_main_content' ); ?> <?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?> <h1 class="page-title"><?php woocommerce_page_title(); ?></h1> <?php endif; ?> <?php /** * woocommerce_archive_description hook. * * @hooked woocommerce_taxonomy_archive_description - 10 * @hooked woocommerce_product_archive_description - 10 */ do_action( 'woocommerce_archive_description' ); ?> <?php if ( have_posts() ) : ?> <?php /** * woocommerce_before_shop_loop hook. * * @hooked woocommerce_result_count - 20 * @hooked woocommerce_catalog_ordering - 30 */ do_action( 'woocommerce_before_shop_loop' ); ?>
hmistlerMemberWell everything with WooCommerce is working perfectly... it's just annoying that when I visit the shop page multiple times a day or hit the back button, sometimes the new info (if there is any) isn't displayed without a refresh. The way this shop sells is all about timing, as pieces are released at one time and sell quickly since there is a limited supply of only one product for each SKU. So it's important that anyone visiting the page sees the up-to-date info.
hmistlerMemberVictor - sorry I had missed your previous post; I added the corrected code and it works perfectly now, thank you.
What is the normal rate for refresh for pages that might have ongoing changes (like Gmail, or larger ecommerce stores where products sell very quickly?) 30 seconds, one hour?
hmistlerMemberHmm, just looked through and don't see it in the source code on the page. Maybe I am missing it?
mossandblue.com/shophmistlerMemberHi Erika - I am viewing it as an outsider. For example, I checked the site on my laptop in Chrome this morning, after knowing that one of the products sold over the weekend, and when I went to the page, it was still listing the product as in stock. After I manually refreshed, the product was then listed as sold out. So I want to make sure that anyone who visits the site semi-often will see the most updated shop page. I had my hosting provider turn off the caching plugin they use on Friday, and so it was frustrating to look at the site today in my browser and still see it not updated.
I added Victor's code to my functions.php - is there any way to tell if it's working and auto-refreshing?
hmistlerMemberI had my hosting company remove caching from the site, but I notice that the site will still cache on my computer (in Chrome and Firefox), so is there something else I can do to remove caching from the site?
I will add the code you wrote to my functions.php file and see if that helps, thanks!
hmistlerMemberAh I see, perfect. I just changed the color for now since I notice Woocommerce is forcing the title inside the wrap and I need it outside, but now that I know how it works I should be able to figure that out. Thank you!
hmistlerMemberJust deactivated a plugin, that seems to have solved the problem!
hmistlerMemberI built most of it, and I based it on the Centric theme. I can't see what's changed with the menu as I haven't edited anything in the navigation. It was working just fine a day or two ago. The files in the JS library are the same as with Centric, but also include 2 Isotope files - there is no responsive.js. Any thoughts on what to do from here?
December 9, 2016 at 2:24 pm in reply to: Different Header Image on Mobile – trying to center it #197370hmistlerMemberPerfect, thanks a million!
December 2, 2016 at 5:36 pm in reply to: Remove Entry Title from home page/Front Page (Atmosphere) #196941hmistlerMemberUPDATE: I've realized that my code to move the titles to the after_header position deletes the titles from the blog page (see here. So maybe this isn't the best way to get the titles where I want them to be. If anyone has a better way to move the titles with Atmosphere Pro, I'd really appreciate it. I just don't like how I can't make them full width because I wanted to add photos behind the text. Happy to have someone take this on as a separate job.
hmistlerMemberSorry - if you look at my site right now , I have a main nav bar in gray running across the top. Under that, I have a logo on the left (Custom Header) and another nav on the right (Header Right Widget). I want to know if I can move that logo up into the gray nav bar, and then get rid of the Header Right widget area. Does that calrify?
hmistlerMemberThank you, perfect!
hmistlerMemberThanks David - I ended up downloading a 'maintenance mode" plugin, which is working better for what I need to do anyway. Appreciate the response!
hmistlerMemberAh...ok I tried simply:
header { display: none; } footer { display:none; }
And that got rid of it, but I'm still confused how these differ from
.site-header
and.site-footer
and why they still showed up on the landing page template in the theme I used for the home page? Any ideas? Thanks in advance - was very frustrated there!hmistlerMemberAh...that would make sense. I never installed that plugin so I didn't even think to look there. Thanks!
hmistlerMemberThe homepage is now showing the correct logo, I did not change anything. But it seems that whenever I make a change to the front page, it takes about 24 hours to take place. Is there something wrong with the front-page.php that would cause such a huge lag? All the other pages update immediately.
-
AuthorPosts