• Resolved haha taduko

    (@shimodar)


    Hi there,

    I’m afraid but I’d really like to delete “edit link” on draft mode inside of caption tag.

    <caption class="tablepress-table-caption tablepress-table-caption-id-1">XXX<a href="https://XXX.com/wp-admin/admin.php?page=tablepress&action=edit&table_id=1">Edit</a></caption>
    -> want to delete the code bracketed <a>XXX</a>.

    I know this need is really rare case totally looks like only for me.

    If there are some possibility to make it through customize functions.php or plugin its php files something like, I really want to know that.

    Best regards,

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, please see https://tablepress.org/extensions/remove-edit-link/

    Regards,
    Tobias

    Thread Starter haha taduko

    (@shimodar)

    Hi Sir,

    Thank you such a great introduction of that plugin!

    It’s very cool!!

    I am very grateful to you.

    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!

    You could also add some custom css to your theme like:

    .tablepress caption{
    display:none!important;
    }

    • This reply was modified 6 years, 9 months ago by speedone.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    instead of hiding the line after it has been added with CSS, using the mentioned Extension is better. That way, one can use the caption for actual things as well.

    Regards,
    Tobias

    That extension did not work for me. I could still see the edit link bellow the table with admin role or subscriber role

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    If that is the case, something else is caching the table on your site.
    Please also check if the page actually uses the Shortcode. There are themes that seem to replace the Shortcode with HTML code.

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to delete “edit link” on caption at draft mode’ is closed to new replies.