Conditionally display different images before the content in a page template
You could try the loop_start hook depending on what position you want the image and use the code in your functions file. add_action(‘loop_start’, function() { if(is_page(10)) { echo do_shortcode(‘[plugin_shortcode 1 …..]’); } else if (is_page(11)) { echo do_shortcode(‘[plugin_shortcode 2 …..]’); } else if (is_page(15)) { echo do_shortcode(‘[plugin_shortcode 3 …..]’); }}); Or you could pull the … Read more