Hi,
The provided is under maintenance mode, 🙁 can you please make it public for us to check (You can provide your staging site page as well)?
Here there are some ways to custom them (And to make them work):
Let us know if there are any questions.
Hello Igor,
My test site is currently configured as a subdomain to my regular website, and should be accessible from anywhere. Hence the maintenance mode popup.
About that… My apologies. I forgot about the “Simple Maintenance” plugin being enabled. It just prevents non-logged-in users from viewing the site. I left it on for lack of a better method of preventing randoms from looking at my staging site. I have turned it off so that it may be looked at for the time being.
I took a look at the posts you sent me, and see that standard excerpts should be 55 words long. This should be sufficient for my website, and is honestly all I am after, though it does not seem to actually be making excerpts this long. The standard behavior is not functional.
Roxy
(@roxannestoltz)
Hi @evenimous ,
Thanks for providing additional clarity!
You can use the code snippet mentioned in this article to help you achieve this.
I’d suggest adding the code provided there to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin.
Please don’t add custom code directly to the Storefront theme’s functions.php file as this will be wiped entirely when you update the theme.
Hope this helps!
Hi @roxannestoltz, thank you for the reply.
I implement all of my custom code changes through the Theme-Customizations-Master plugin by WooThemes, and it works beautifully. They add to the functions.php page through there, so I would add the code there.
Speaking of which, I took a look at the code you sent me… and I have some questions regarding it. Namely, they remove the action “storefront_loop_post” and its function “storefront_post_content”. Could this affect the way that posts are displayed when looked at individually? I am unfamiliar with the way the standard posts are normally handled in WordPress, as I have mostly developed with WooCommerce.
Thank you for your help. I will implement this after I have discussed this more, as I am feeling hesitant.
Hello,
To get more information about the hooks, please check:
https://woocommerce.com/document/storefront-hooks-actions-filters/#section-6
I understand your point, that happens, I’d recommend creating a staging site, you can use the WP Staging plugin for quickly spinning up a new test site. That way, you’ll not have to make changes to the production site without testing.
I hope this helps 🙂