WordPress.org

Ready to get started?Download WordPress

Forums

RPS Include Content
[resolved] Turn off the editable content on hover? (10 posts)

  1. thatwastaxing
    Member
    Posted 1 year ago #

    Great plugin. Thanks!

    How do I turn off the editable content on hover. After a while, it's just annoying.

    http://wordpress.org/extend/plugins/rps-include-content/

  2. redpixelstudios
    Member
    Plugin Author

    Posted 1 year ago #

    There is currently no way to disable the hover state but it is something that can definitely be added. We have placed this on the feature request list for the plugin. Thanks for the feedback.

  3. redpixelstudios
    Member
    Plugin Author

    Posted 1 year ago #

    We toned down the styles used for the hover so that should help for the time being. Our plan is to still setup an option to disable it altogether.

  4. straitline
    Member
    Posted 9 months ago #

    Is this feature still in consideration for development?

  5. redpixelstudios
    Member
    Plugin Author

    Posted 9 months ago #

    Yes, it is still on the development list. We haven't been able to get to this feature just yet, but it will happen. Sorry for the inconvenience.

  6. redpixelstudios
    Member
    Plugin Author

    Posted 8 months ago #

    We just released version 1.1.0 with support for this option. There is now an attribute for the shortcode and an options page for the plugin that will allow you to disable the hover interface. You can always override the setting by specifying the opposite in the shortcode like so:

    [rps-include post="###" hover="false"]

    Please reopen this topic if you have any troubles with this feature. Thanks.

  7. 1000camels
    Member
    Posted 8 months ago #

    After recent update, outer container with rps-include-content class is missing. This may be because the default is now "Remove the interface that appears when hovering over included content" and I am unable to unset this. Having the class is important, as it allows me to use filter=true, but exclude certain other plugin content like a FB like button. Without the class as a style hook, I cannot exclude that additional content being added by filter.

  8. redpixelstudios
    Member
    Plugin Author

    Posted 8 months ago #

    You are correct that the setting "Remove the interface that appears when hovering over included content", if checked, eliminates the outer container with the rps-include-content class regardless of whether the current user has the "manage_rps_include_content" capability.

    We have received one other report of the issue whereby the setting could not be unchecked and it actually seemed to be an issue with the browser, though we are not thoroughly convinced that is the only cause. If you would, please consider logging out, emptying browser cache and trying the settings update when you login again. You could also use an alternate browser if that would be easier.

    Let us know what you discover and what browser/version you were using that exhibited the issue. Thanks.

  9. 1000camels
    Member
    Posted 8 months ago #

    Hi RedPixelStudies,

    Logging out, clearing the cache didn't help. Instead I figured out the option name and manually created it in the database. That worked.

    However, I discovered that the style class does not exist except in Edit mode. This is not very helpful, since I cannot use the class as a hook. Can I suggest you always leave a surrounding class. Obviously, it needs to be something different than the one you use to display the hover controls.

    In general, keeping the markup the same can help improve issues with rendering and additionally styling. Removing markup can confuse things. And having a style hook for generate content is very useful.

    Thanks.

  10. redpixelstudios
    Member
    Plugin Author

    Posted 8 months ago #

    We just released another update to RPS Include Content that should help you. Now there is a filter hook that will allow you to wrap the output from the plugin with any structural markup you desire. Just add something like the following to your theme's functions file:

    function rps_include_content_wrap( $html ) {
    	$html = '<div class="rps_include_content_wrap">' . $html . '</div>';
    	return $html;
    }
    add_filter( 'rps_include_content_html', 'rps_include_content_wrap' );

    Hope this helps you in your efforts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.