{% if heading %}

{{ heading }}

{{ contentHtml|e('wp_kses_post') }}
{% endif %}
{% if terms %} {% include 'Partials/_filter.twig' %} {% endif %}
{% if searchValue %} {% for key, post in posts_to_show %}
{% if blockIconImages[post.ID] is defined %} {{ blockIconImages[post.ID]|e }} {% endif %} {{ post.thumbnail.alt|e }}

{{ short_title[post.ID] }}

{% if post.terms('tag') is defined and post.terms('tag') %} {% endif %} {{ short_desc[post.ID] }}
{% endfor %} {% else %} {% for key, post in posts %}
{% if blockIconImages[post.ID] is defined %} {{ blockIconImages[post.ID]|e }} {% endif %} {{ post.thumbnail.alt|e }}

{{ short_title[post.ID] }}

{% if post.terms('tag') is defined and post.terms('tag') %} {% endif %} {{ short_desc[post.ID] }}
{% endfor %} {% endif %}

 

 

{% if searchValue %} {% else %} {% set pagination = posts.pagination %} {% if pagination.pages %} {% include 'Partials/_paginationButtons.twig' %} {% endif %} {% endif %}
{% if heading %}

{{ heading }}

{{ contentHtml|e('wp_kses_post') }}
{% endif %}
{% if terms %} {% include 'Partials/_filter.twig' %} {% endif %}
{% if searchValue %} {% for key, post in posts_to_show %}
{% if blockIconImages[post.ID] is defined %} {{ blockIconImages[post.ID]|e }} {% endif %} {{ post.thumbnail.alt|e }}

{{ short_title[post.ID] }}

{% if post.terms('tag') is defined and post.terms('tag') %} {% endif %} {{ short_desc[post.ID] }}
{% endfor %} {% else %} {% for key, post in posts %}
{% if blockIconImages[post.ID] is defined %} {{ blockIconImages[post.ID]|e }} {% endif %} {{ post.thumbnail.alt|e }}

{{ short_title[post.ID] }}

{% if post.terms('tag') is defined and post.terms('tag') %} {% endif %} {{ short_desc[post.ID] }}
{% endfor %} {% endif %}

 

 

{% if searchValue %} {% else %} {% set pagination = posts.pagination %} {% if pagination.pages %} {% include 'Partials/_paginationButtons.twig' %} {% endif %} {% endif %}

Fatal error: Uncaught Error: Call to undefined function Flynt\Components\GridPostsLatest\getACFLayout() in /home/customer/www/wmcompliance.co.uk/public_html/wp-content/themes/wm-compliance/inc/fieldGroups/casestudyComponents.php:36 Stack trace: #0 /home/customer/www/wmcompliance.co.uk/public_html/wp-includes/class-wp-hook.php(324): Flynt\Utils\FileLoader::{closure}('') #1 /home/customer/www/wmcompliance.co.uk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #2 /home/customer/www/wmcompliance.co.uk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/customer/www/wmcompliance.co.uk/public_html/wp-content/themes/wm-compliance/lib/Init.php(28): do_action('Flynt/afterRegi...') #4 /home/customer/www/wmcompliance.co.uk/public_html/wp-includes/class-wp-hook.php(324): Flynt\Init::loadComponents('') #5 /home/customer/www/wmcompliance.co.uk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /home/customer/www/wmcompliance.co.uk/public_html/w in /home/customer/www/wmcompliance.co.uk/public_html/wp-content/themes/wm-compliance/inc/fieldGroups/casestudyComponents.php on line 36