Jump to content

Remove meta tags and comment section from singular blog page? Rally Template

Recommended Posts

Posted

Hello!

I have created a workaround for an author bio on my site, viewable on this page https://bitbloggist.com/video-game-blog-collection/how-to-fix-super-mario-party.

It looks great and serves the purpose that I need it to, however, if someone clicks on the author bio (summary list), it takes the visitor to that specific blog page.

https://bitbloggist.com/authors/jake-martin

I'd like this blog page ONLY to not have meta tags and the comment section, because it doesn't really make sense.

Is this possible through page header code injection or post blog item code injection?

post-header-code-injection.jpg.7fdb8735ee2b1dbc5049faca6b84568f.jpg

  • Replies 4
  • Views 990
  • Created
  • Last Reply
Posted

@BitBloggist Add to Home > Design > Custom CSS


/* Author Page */
/* Remove Comment */
.tweak-blog-meta-secondary-author .squarespace-comments {
   display: none;
}
/* Remove Meta Data */
.tweak-blog-meta-secondary-author .Blog-meta.BlogItem-meta {
   display: none;
}


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!)

Posted

@tuanphan you've done it again! I hope they're paying you the big bucks for your excellent response-time and help.

I did end up having to use my page ID to restrict only the author blog pages, but that's no big deal, because I only have 4 authors.

I might as well disclaim that my entire site was built by @tuanphan at this point! Haha

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.