• Resolved lifeinsaudiarabia

    (@lifeinsaudiarabia)


    Hi, I am using Tables Press to add Tables on my WordPress site. However, these tables are not appearing in Facebook Instant Articles? Can you suggest a way? on Facebook Instant Articles, it is just appearing as
    [table id=37/]

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    You could maybe try adding this code to the “functions.php” of your theme:

    add_action( 'init', 'load_tablepress_in_the_admin', 11 );
    function load_tablepress_in_the_admin() {
      if ( is_admin() ) {
        TablePress::load_controller( 'frontend' );
      }
    }

    Regards,
    Tobias

    Thread Starter lifeinsaudiarabia

    (@lifeinsaudiarabia)

    Hi TobiasBg,
    I appreciate your prompt response.
    Please forgive me for my limited knowledge in programming. Where to add it in the functions.php file? I added it at the end of all the coding and the same code is appearing at the top of the loaded page.

    Thread Starter lifeinsaudiarabia

    (@lifeinsaudiarabia)

    I have added the above action in the functions.php file after other actions. But it is not working in Instant Articles. Is there any other way to add tables in Instant Articles?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You should add it before the ?> of the theme’s “functions.php” file. It must not appear on the page.

    Regards,
    Tobias

    Thread Starter lifeinsaudiarabia

    (@lifeinsaudiarabia)

    You are a Champ Tobias. It has started working. Bundles of thannks!

    Plugin Author Tobias B?thge

    (@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 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Tables are not working in Instant Articles’ is closed to new replies.