Hi,
thanks for your question, and sorry for the trouble.
I’m not really sure what you mean. Tables are not images, so that you can not set them as actual Header Images to posts/pages (in the sense that WordPress knows them).
You could however add the Shortcode as the first thing in your post/page or use a Template Tag function in your theme’s PHP code.
Regards,
Tobias
Hi Tobias thanks for the speedy response.
I’ve put the images as code into the table. What I need to do is have the table shortcode display where the header image is normally.
Thanks again
Hi,
I see. Unfortunately, this is nothing that I can really help with, as this is different from theme to theme. I can therefore only suggest that you contact your theme’s support team about this and ask them what modifications are necessary. You will basically have to replace the Header Image code with a Template Tag function like tablepress_print_table()
, from https://tablepress.org/faq/documentation-template-tag-functions/
Regards,
Tobias
Hi Again
Solved it by adding <?php echo do_shortcode(‘[table id=1 /]’); ?> to the theme header.php
Thanks for the suggestions – works really well!!!!!
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!