cashie Posted April 4 Share Posted April 4 Hi! Has the twcsl link changed? When I click the link, I get an error message. Thanks! Link to comment
creedon Posted April 5 Share Posted April 5 13 hours ago, SarahCashmore said: Has the twcsl link changed? When I click the link, I get an error message. My apologies. Please try the link again. It should be working now. Let me know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
DavidCliff Posted June 18 Share Posted June 18 (edited) This keeps popping up quite a bit, I fixed it doing this. The blog category is displayed in the title tag. This bit of javascript will find it and publish in a div with an ID of "title-content" Just paste this into a HTML block and replace SITE TITLE with yours. The blog category title will be published in the block. <div id="title-content"></div> <script> // Retrieve the title tag content let pageTitle = document.querySelector('title').textContent; // Remove the site title pageTitle = pageTitle.replace('SITE TITLE', '').trim(); // Remove everything after the first "—" pageTitle = pageTitle.split('—')[0].trim(); // Display the filtered title content on the page document.getElementById('title-content').textContent = pageTitle; </script> This assumes you are using the Squarespace default em dash as a separator within the title tag Edited June 18 by DavidCliff Link to comment
giftsonthegoldcoast Posted June 22 Share Posted June 22 (edited) I am trying to add a description to each Category. I have been trying to find the two lines of code. I found 1. I am lost in all the information so far and need some help. Can anyone help me do this, please. Edited June 22 by giftsonthegoldcoast Link to comment
creedon Posted June 22 Share Posted June 22 11 minutes ago, giftsonthegoldcoast said: I am trying to add a description to each Category. Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us. A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. You may find How to post a forum question post useful. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
giftsonthegoldcoast Posted June 22 Share Posted June 22 I am lost with all of this. It has been an issue for a long time. https://www.giftsonthegoldcoast.com.au/ Site https://www.giftsonthegoldcoast.com.au/store/chocolate-gift-hampers-delivery-gold-coast Chocolate Category Being a gift Hamper store we have a few categories. My site is public so I cannot set up a site-wide password. Link to comment
creedon Posted June 22 Share Posted June 22 (edited) 34 minutes ago, giftsonthegoldcoast said: I am lost with all of this. Your confusion may come from this thread is talking about blog pages and your page is a store page. Please see the following. Edited June 22 by creedon Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment