Support » Plugins and Hacks » [Plugin: Inline Editor] Expects “Edit” link class to be “post-edit-link”

  • How this plugin works is by searching for your theme’s “edit” link, which this plugin expects to be of the class “post-edit-link”.

    Beware if your theme does not use this class (I’m using Hybrid-News – which does not use this class in the edit links).

    Modifying my theme with a custom filter to use the post-edit-link class allowed this plugin to take over control of the “edit” link.

    http://wordpress.org/extend/plugins/inline-editor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • WPXpand

    (@businessxpand)

    Thank you for your comments, we appreciate you taking the time to try this plugin.

    Version 0.5.4 tries to address this issue, any problems let us know.

    Hybrid will be updated to use class="post-edit-link" in the next version as it’s a class normally generated by WP. Just one of those overlooked things since it uses get_edit_post_link and not edit_post_link to form the link.

    I’m not sure how much I like the idea of a plugin relying on a specific CSS class though, especially when that class is available to be changed through the edit_post_link filter hook.

    WPXpand

    (@businessxpand)

    that class is available to be changed through the edit_post_link filter hook

    Many thanks greenshady, I’ve updated the plugin to filter the edit link (0.6.12):
    http://wordpress.org/extend/plugins/inline-editor/

    The latest version also gives options to use a floating button in the corner of your content and double-click the content to edit.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Inline Editor] Expects “Edit” link class to be “post-edit-link”’ is closed to new replies.