• Resolved ipbroad

    (@ipbroad)


    Hi, Is there a way of making the Table a header Image. I have a table that is made up of number of images and clicable buttons (probably not the way to do it but hey ho. I’ve had to use another old no longer supported plugin called Websimmon tables which allows me to do this. But I am having format issues with various browsers.

    Any help really appreciated.

    Fantastic Plugin by the way!

    https://wordpress.org/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    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

    Thread Starter ipbroad

    (@ipbroad)

    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

    Plugin Author TobiasBg

    (@tobiasbg)

    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

    Thread Starter ipbroad

    (@ipbroad)

    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!!!!!

    Plugin Author TobiasBg

    (@tobiasbg)

    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Make a Table a Header Image’ is closed to new replies.