• Resolved scanner0928

    (@scanner0928)


    Hi,Tobias,
    Thanks for your great plugin indeed.

    I like to display the table if that has value A1 cell.
    and I check your docs and addon “single-cell-shortcode” and
    do the short code in template like below.

    $contents = do_shortcode('[table-cell id='.$tableID.' cell=A1 /]');?>

    $tableID means the value from ACF.

    if that has value, I can see it.
    but not, they reply “table “cellA1” could not be loaded /”.

    both of them, cell has value and not has, have string,
    so I cannot judge them.

    Could you teach me how to check it has value or not?

    Regards.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter scanner0928

    (@scanner0928)

    Sorry, when I tried again, it worked well.
    it seemed I don’t set table ID properly.

    I set it properly, and then they reply “NULL” if they has no value there.

    Sorry for bothering you.
    Regards.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that you were already able to solve this!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Like to display the table if that has value A1 cell.’ is closed to new replies.