ferruccioR
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Load more article in the same page
Started by: ferruccioR
in: Toolset Professional Support
Problem: I am having an issue with loading multiple articles on the same page using a Load More button. Instead of loading the next page below the first, the button opens a second page even though I have an infinite scroll set up. Solution: Remove the Pagination block and use the shortcode block with the following shortcode: [wpv-pager-next-page force="true"][wpml-string context="wpv-views"]Load More Button here ...[/wpml-string][/wpv-pager-next-page] Make sure to add the block inside the View Output block. If the issue persists, try creating a new view with the authors and check with the Block Editor instead of the classic view. Relevant Documentation: https://toolset.com/forums/topic/create-load-more-button-with-toolset-blocks/ |
2 | 15 | 1 year ago | ||
Split: How to preserve the JS to remove the last comma
Started by: ferruccioR in: Toolset Professional Support |
2 | 3 | 1 year ago | ||
Backend Icons missing
Started by: ferruccioR in: Toolset Professional Support |
3 | 4 | 1 year, 10 months ago | ||
Search site is not working correctly – Relevanssi + WPML + Toolset + Flatsome
Started by: ferruccioR in: Toolset Professional Support |
2 | 13 | 2 years, 10 months ago | ||
Masonry styles are not applied to a View of sibling posts displayed via wpv-view shortcode
Started by: ferruccioR
in: Toolset Professional Support
Problem: I have created some Views that use Masonry to display a grid of posts. One of these Views displays sibling posts of the post where this View is displayed. I need to use a shortcode attribute here to pass the current post's parent post ID into the post relationship Query Filter. The Query Filter seems to work as expected because I see the correct results in the output, however, the Masonry styles are not applied as expected. If I insert the View via the original Content Template, the Masonry styles are applied as expected, but the results are not filtered by post relationship. I need to use the wpv-view shortcode in this case so I can add a shortcode argument for the post relationship Query filter. How can I insert the View in a way that maintains the post relationship Query Filter and also displays the results in a Masonry grid? Solution: The most practical solution in this case is to add the missing CSS grid styles manually. To find the missing styles, temporarily insert the Content Template containing the original View. Compare the two results in the browser inspector / debugger tools to find missing styles. In this case, the following styles were missing when the View is inserted using a shortcode: .tb-masonry { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); grid-column-gap: 25px; } Add the missing styles in the View block's Custom CSS panel. |
3 | 15 | 2 years, 10 months ago |