Home › Forums › General Issues › ACF and Tablepress › Reply To: ACF and Tablepress
With some help, I managed to get this working. I will leave here as it might help someone! Thanks : )
<?php
$post_obj = get_field( 'top_table_number' );
// get the table id and put in a variable
tablepress_print_table( "id=$post_obj" );
?>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.