There is not an option I've seen in the Salient menus, but I'd like to be able to add tags to the blog posts in the masonry layout. I am using a child theme and have a style.css and functions.php file, but I'm not sure where else to look that would declare this. The closest I found was blog.php but that function is specifically for the Related Posts on single page blog view.
Right now it looks like it is using get_the_category() function starting on line 650 of blog.php, but there doesn't seem to be get_the_tags() function called anywhere.
I can see that I can manually find a list of tagged posts (ignore duplicate images etc... slowly adding and updating content and images, right now it's just barely up for testing):
I've attached an image showing my desired functionality on the current Squarespace-based site that I'm trying to transition from while making some improvements along the way.
***BONUS***
I found what I assume is a typo while searching for 30 minutes for an icon of the infinity logo lol. In icon-collections.php line 529 says:
'iconsmind-Inifity' => '\eae0',
I think the reason I couldn't find it is that it should say "Infinity" and still link to //eae0.
Count that as my potential contribution to the next release :D
Alright, so I managed to get the tags in there by creating a new post-categories-tags.php and referencing that in the child entry.php instead of post-categories.php. I got it to add commas when there are multiple categories or tags, and separated categories and tags with a little bullet point.
Here's the thing I can't quite figure out...
How do I address the spacing when it wraps lines, it is spacing them so far apart but does not appear to be using padding or margin to do so, based on what I can see when I 'inspect' with Chrome.
Hey Kurtis, you can reduce that vertical spacing by adding the following snippet into the custom CSS box located in the Salient options panel > General Settings > CSS/Script related tab:
There is not an option I've seen in the Salient menus, but I'd like to be able to add tags to the blog posts in the masonry layout. I am using a child theme and have a style.css and functions.php file, but I'm not sure where else to look that would declare this. The closest I found was blog.php but that function is specifically for the Related Posts on single page blog view.
Right now it looks like it is using get_the_category() function starting on line 650 of blog.php, but there doesn't seem to be get_the_tags() function called anywhere.
I can see that I can manually find a list of tagged posts (ignore duplicate images etc... slowly adding and updating content and images, right now it's just barely up for testing):
https://2sapphires.com/tag/downtown/
https://2sapphires.com/tag/jw-marriott-hill-country/
https://2sapphires.com/tag/hotel-emma/
I've attached an image showing my desired functionality on the current Squarespace-based site that I'm trying to transition from while making some improvements along the way.
***BONUS***
I found what I assume is a typo while searching for 30 minutes for an icon of the infinity logo lol. In icon-collections.php line 529 says:
'iconsmind-Inifity' => '\eae0',
I think the reason I couldn't find it is that it should say "Infinity" and still link to //eae0.
Count that as my potential contribution to the next release :D
Attached files: Screenshot 2024-07-03 at 12.07.35 AM.jpg
Hey Kurtis!
The file which would need to be updated to include that custom data would be salient/includes/partials/blog/styles/masonry-material/entry.php
You can copy that into your child theme, keeping the same file path, in order to add in any customizations.
Also, thanks for reporting the possible issue in iconsmind. I've noted to look further into it![smile.png](https://assets.ticksy.com/app/_theme/shared_assets/redactor2/emoticons/emoticons/smile.png)
Kind regards
https://2sapphires.com/blog/
Alright, so I managed to get the tags in there by creating a new post-categories-tags.php and referencing that in the child entry.php instead of post-categories.php. I got it to add commas when there are multiple categories or tags, and separated categories and tags with a little bullet point.
Here's the thing I can't quite figure out...
How do I address the spacing when it wraps lines, it is spacing them so far apart but does not appear to be using padding or margin to do so, based on what I can see when I 'inspect' with Chrome.
Any thoughts?
Attached files: Screenshot 2024-07-03 at 7.52.38 PM.jpg
Screenshot 2024-07-03 at 7.52.44 PM.jpg
Hey Kurtis, you can reduce that vertical spacing by adding the following snippet into the custom CSS box located in the Salient options panel > General Settings > CSS/Script related tab:
Kind regards