Problem: I have a View of taxonomy terms that displays each term as a link in a grid of results. Google recommends increasing the space between each item so that it is more easily clickable on mobile devices. How can I increase the gap between rows in the View results?
Solution: Use CSS padding applied to a wrapper element around the taxonomy shortcode in the loop to increase the gap between rows.
<div class="tssupp-padding-top-bottom-8px">
Example content: [wpv-taxonomy-link]
</div>
Problem: I am trying to use Forms in a PHP 8 site but I see a Fatal Error:
An error of type E_ERROR was caused in line 437 of the file /path/to/site/wp-content/plugins/cred-frontend-editor/application/views/dialogs/shortcodes/cred-relationship-form.phtml. Error message: Uncaught ValueError: Unknown format specifier "S" in /path/to/site/wp-content/plugins/cred-frontend-editor/application/views/dialogs/shortcodes/cred-relationship-form.phtml:437
Stack trace:
#0 /path/to/site/wp-content/plugins/cred-frontend-editor/application/views/dialogs/shortcodes/cred-relationship-form.phtml(437): sprintf()
#1 /path/to/site/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/files.php(99): include('...')
#2 /path/to/site/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/renderer/renderer.php(136): Toolset_Files->get_include_file_output()
#3 /path/to/site/wp-content/plugins/cred-frontend-editor/vendor/toolset/toolset-common/inc/autoloaded/renderer/renderer.php(110): Toolset_Renderer->render_phtml_template()
#4 /path/to/site/wp-content/plugins/cred-frontend-editor/application/controllers/shortcode_generator.php(942): Toolset_Renderer->render()
#5 /path/to/site/wp-content/plugins/cred-frontend-editor/application/controllers/shortcode_generator.php(916): CRED_Shortcode_Generator->render_dialog_templates()
#6 /path/to/site/wp-includes/class-wp-hook.php(292): CRED_Shortcode_Generator->render_footer_dialogs()
#7 /path/to/site/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#8 /path/to/site/wp-includes/plugin.php(484): WP_Hook->do_action()
#9 /path/to/site/wp-admin/admin-footer.php(78): do_action()
#10 /path/to/site/wp-admin/post.php(369): require_once('...')
#11 {main}
Solution: Our developers are in the process of adding support for PHP 8. This issue has been reported and we will resolve the problem in upcoming releases of the Toolset suite.