|
|
Featured image not loading in Views
Started by: richardG-4
in: Toolset Professional Support
Quick solution available
Problem:
The Featured Image Shortcode does not show the correct size.
Solution:
Add the shortcode like this:
[wpv-post-featured-image size="size-img" width="300" height="400" crop="true" cached="off"]
Make sure that you add the image size to your theme functions.php file:
add_image_size( 'size-img', 300, 400, true );
Install the Regenerate Thumbnails plugin and make sure that all the image sizes are generated:
https://wordpress.org/plugins/regenerate-thumbnails/
|
|
2 |
15 |
4 years, 6 months ago
richardG-4
|
|
|
Views not working correctly after making changes
Started by: carlosb-7
in: Toolset Professional Support
Quick solution available
Problem:
Views not working correctly
Solution:
There was a hard caching used from server side that is why the changes made to the view/page was not reflected.
Relevant Documentation:
|
|
2 |
15 |
4 years, 6 months ago
carlosb-7
|
|
|
How to manage nested quotes when adding shortcodes in alt text attribute
Started by: dominiqueM-3
in: Toolset Professional Support
Quick solution available
|
|
2 |
8 |
4 years, 6 months ago
dominiqueM-3
|
|
|
Blank number field is outputting a 0
Started by: nateW
in: Toolset Professional Support
Quick solution available
Problem:
The code to add commas to the numbers to separate the thousands shows 0 when the result of the custom field is empty.
Solution:
Change the code to this:
add_shortcode( 'ts_format_number', 'ts_format_number_func');
function ts_format_number_func( $atts, $content ) {
$int = (int) do_shortcode($content);
if ($int == null) {
return "";
} else {
return number_format($int, 0);
}
}
|
|
2 |
3 |
4 years, 6 months ago
nateW
|
|
|
Grid elements equal height
Started by: jillT
in: Toolset Professional Support
Quick solution available
Problem:
How to make the Grid element the same height.
Solution:
Customer had border inside the inner wrapper and that is why the way to make the items same height was to add the CSS code below:
.tb-grid .tb-grid-column,
.tb-grid .tb-grid-column .wpv-block-loop-item,
.wp-block-toolset-blocks-grid{
height: 100%;
}
|
|
2 |
3 |
4 years, 6 months ago
jillT
|