creedon Posted January 9, 2022 Share Posted January 9, 2022 @dbailey I have found the issue! You have discovered a bug in my twcsl code. I will endeavor to fix it. Please give me several days. Please bump this thread if I don't get back to you. dbailey 1 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
creedon Posted January 10, 2022 Share Posted January 10, 2022 (edited) @dbailey In the code you installed find the following line. <script src="https://domain.removed.old.version/twcsl/0.1d16/twcsl.js"></script> In that line change d16 to d17 Let us know how it goes. Edited March 1, 2023 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
dbailey Posted January 11, 2022 Share Posted January 11, 2022 (edited) 22 hours ago, creedon said: @dbailey In the code you installed find the following line. <script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d16/twcsl.js"></script> In that line change d16 to d17 Let us know how it goes. Still no joy with this I'm afraid @creedon – the code is live if you get chance to inspect. Edit - so now I can see the custom title when I click the category from a meta link, however the title doesn’t display if clicked from the nav. Something to do with the way the URLs are structured? Meta results in a ‘/category’ whereas the nav results in a ‘blog?category=CategoryName’ No title:https://crow-crimson-r85z.squarespace.com/uk/dogs/blog?category=Care Title:https://crow-crimson-r85z.squarespace.com/uk/dogs/blog/category/Care Edited January 11, 2022 by dbailey Link to comment
creedon Posted January 11, 2022 Share Posted January 11, 2022 13 hours ago, dbailey said: Something to do with the way the URLs are structured? Yes that is exactly the issue! For some reason SS on the blog pages uses the /category/Care style for the links but when you create nav links with the SS interface they use the ?category=Care. Looks like I'll need to account for that in my next version of twcsl! In the meantime you could edit the Link pages and change the format of the URLs to the /category/Care style. dbailey 1 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
dbailey Posted January 12, 2022 Share Posted January 12, 2022 Thank you so much @creedon, I've updated the nav URLs and now that is pulling through! Last question if I may. How do I now make that title unique for each category page? i.e Care has its own title, Play has its own title, Walk has its own title, etc? It looks as though that is happening with the original posters blog, whereby the prefixText and suffixText from your code is unique to each category. Link to comment
creedon Posted January 12, 2022 Share Posted January 12, 2022 11 hours ago, dbailey said: How do I now make that title unique for each category page? i.e Care has its own title, Play has its own title, Walk has its own title, etc? It looks as though that is happening with the original posters blog, whereby the prefixText and suffixText from your code is unique to each category. The category is unique for each page. The prefix and suffix text is the same across all pages. Examples. Do you need to have each category page have not only the category but unique text as well? 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
Squarespace__learner Posted April 26, 2022 Share Posted April 26, 2022 Hello, Can anyone help me how can I do filtering code? please Link to comment
dera7dera Posted May 5, 2022 Share Posted May 5, 2022 https://www.will-myers.com/articles/add-a-breadcrumb-to-blog-category-tag-pages hello. I referred to this page and was able to solve this problem. unavolta 1 Link to comment
tuanphan Posted May 8, 2022 Share Posted May 8, 2022 On 4/26/2022 at 10:12 AM, Squarespace__learner said: Hello, Can anyone help me how can I do filtering code? please Can you describe in more detail your request? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
golivehq Posted January 16, 2023 Share Posted January 16, 2023 Hey @creedon! By chance, is there a version of this code that also would work for Blog Post Authors? We have a client that we used this on and it worked great! But in addition to categories and tags, they want author names to appear if someone clicks on an author bio. Let me know! Thank you! Link to comment
creedon Posted January 16, 2023 Share Posted January 16, 2023 4 hours ago, golivehq said: they want author names to appear if someone clicks on an author bio. Please post the URL for a page on your site where we can see your issue. 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. We can then take a look at your issue. golivehq 1 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
ThommyP Posted February 17, 2023 Share Posted February 17, 2023 Any solution to this? I also have installed as per the instructions and on the search results page the text [[bpstrwcotob]] is not visible but there but nothing replaces it. any help would be appreciated. Link to comment
creedon Posted February 18, 2023 Share Posted February 18, 2023 19 hours ago, ThommyP said: Any solution to this? Please post the URL for a page on your site where we can see your issue. 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. We can then take a look at your issue. You may find How to post a forum question post useful. 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
cka Posted March 1, 2023 Share Posted March 1, 2023 (edited) Hi @creedon I have sedonastarsongs.com My goal is to use your code so that I can use Tags on the blog posts, then have unique Tag URLs that show the Tag name at the top of the tag page, plus have unique SEO title. I installed the twcsl file, and the custom code that you provided but I am not seeing the Tag name appear at the top of the tag page. I also don't know how to make the page have a unique SEO title tag. Do you mind checking what I've done and let me know how to fix it? Thank you! You can see an example of a tag page here: https://www.sedonastarsongs.com/home/tag/crystals Edited March 1, 2023 by cka Link to comment
creedon Posted March 1, 2023 Share Posted March 1, 2023 37 minutes ago, cka said: I installed the twcsl file, and the custom code that you provided but I am not seeing the Tag name appear at the top of the tag page. You need to set the options in the code. Quote I also don't know how to make the page have a unique SEO title tag. Is this what you are looking for? 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
cka Posted March 1, 2023 Share Posted March 1, 2023 (edited) Thanks. I set the tag code to "true" but now it's showing this on the tag page: I just want it to say the tag name. For example, on this page it should just say "crystals" there, not any of the other words. FYI - I removed the tags for now, so you won't be able to see it live on the site. You can still see the code however. Edited March 1, 2023 by cka Link to comment
cka Posted March 1, 2023 Share Posted March 1, 2023 And for the SEO title, I'm not looking for the Blog post themselves. I'd like to make each of these Tag pages have a unique SEO title that includes the tag, rather than being a copy of the blogroll or homepage title tag. For example, on the Crystals tag page, the SEO title tag should say "Crystals - Sedona Star Songs" Link to comment
creedon Posted March 1, 2023 Share Posted March 1, 2023 18 minutes ago, cka said: I set the tag code to "true" but now it's showing this on the tag page You need to change the prefixText and suffixText to what you want. It's just below the previous change you made. If you remove the crystal tag I can't diagnose issues. 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
golivehq Posted March 1, 2023 Share Posted March 1, 2023 @creedon Finally actually following up on this! Sorry for the wait. Here's my original comment: Quote By chance, is there a version of this code that also would work for Blog Post Authors? We have a client that we used this on and it worked great! But in addition to categories and tags, they want author names to appear if someone clicks on an author bio. Let me know! Thank you! Here is the site: https://www.risenmotherhood.com/ Here's a page example of where we have posts from an author, but we'd like to see the author name at the top of the page: https://www.risenmotherhood.com/articles?author=63f9237ac2dafc54936f0890 We have it working great for categories and tags, shown here: https://www.risenmotherhood.com/articles/category/Disability Let me know if this is possible! Link to comment
creedon Posted March 2, 2023 Share Posted March 2, 2023 1 hour ago, golivehq said: By chance, is there a version of this code that also would work for Blog Post Authors? By default SS doesn't expose the author profile information to the blog list page. You can show the author name in the meta info. It may be possible to come up with some code that would allow you to enter manually the profiles and then present them in some fashion on the blog listing by linking to the displayed author name. I know of no code that does this currently. 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
cka Posted March 3, 2023 Share Posted March 3, 2023 (edited) Hi @creedon Thanks for helping me out. I entered tags onto the site, you can see an example of a tag page here: https://www.sedonastarsongs.com/home/tag/thunder+mountain First question, I have your code entered, but the header text is not reflecting the page's unique tag. Instead it's showing the site title. What do I need to tweak so that the tag page header shows that page's tag? Second question, on this tag page, I'd like the SEO title tag to reflect the page's tag as well, and not be the overall website title. Can I enter code to adjust that, so that each of these tag pages have a unique SEO title tag? Third question, in the backend where it shows this "placeholder" header, can I change these letters so it says something else, and not this? Is it okay to change that in the code? Thank you! Edited March 3, 2023 by cka Link to comment
creedon Posted March 3, 2023 Share Posted March 3, 2023 4 hours ago, cka said: I have your code entered, but the header text is not reflecting the page's unique tag. Instead it's showing the site title. What do I need to tweak so that the tag page header shows that page's tag? You've found a bug in my code. Thank you! I'll need to cogitate on how to go about a fix. In the meantime go into the code and set the tag true value to false. Also remove the page section with the [[bpstrwcotob]] text. Quote Second question, on this tag page, I'd like the SEO title tag to reflect the page's tag as well, and not be the overall website title. Can I enter code to adjust that, so that each of these tag pages have a unique SEO title tag? I think this might be accomplished. I know of no code that currently does this. Quote Third question, in the backend where it shows this "placeholder" header, can I change these letters so it says something else, and not this? Is it okay to change that in the code? Yes. You may want to hold off until I come up with a fix for the bug. cka 1 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
alcmarket Posted March 4, 2023 Share Posted March 4, 2023 Hi, I've installed the code per your instructions and set the category to 'true'; however, I'm not getting the category name to display. Do I need to tweak something or did I miss a step? Thank youhttps://chartreuse-cylinder-6n2p.squarespace.com/projects-2 password to view is: newenspect23 Link to comment
creedon Posted March 4, 2023 Share Posted March 4, 2023 4 hours ago, alcmarket said: Do I need to tweak something or did I miss a step? It appears you need to do the third step. 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
creedon Posted March 4, 2023 Share Posted March 4, 2023 I have updated my twcsl code which my cited code in my February 12th 2021 post depends on. From the changes... fix for blog tag not returning tag @cka You'll want to reinstall twcsl per the Install steps. Be sure to remove the old version of twcsl. 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