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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I’m not sure that I understand. That’s exactly what the code from that forums thread does. It changes the HTML tag for the TablePress table name to h3.

    Regards,
    Tobias

    Thread Starter ibudhubudhu

    (@ibudhubudhu)

    I what to change my Table name to H3.

    add_filter( 'tablepress_print_name_html_tag', 'heymrdj27_tablepress_change_table_name_h2_to_h3', 10, 2 );
    function heymrdj27_tablepress_change_table_name_h2_to_h3( $tag, $table_id ) {
      $tag = 'h3';
      return $tag;
    }

    this code is working in the firefox browser but when I open it in google chrome it shows in H2 only.

    you can check it at – https://sciaxis.org/clinical-trial/magnetic-assisted-robotic-surgery-initial-case-series-of-reduced-port-robotic-prostatectomy/

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    that’s strange. Where exactly did you add this code? Could there maybe be some caching going on? Please try saving the table again (to clear the TablePress cache) and clear any other plugin’s caches.

    Regards,
    Tobias

    Thread Starter ibudhubudhu

    (@ibudhubudhu)

    Thank you it worded.

    Thanks a lot.

    • This reply was modified 3 years, 5 months ago by ibudhubudhu.
    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 ‘Use H3 instead of H2 in full website – table-name tablepress’ is closed to new replies.