WordPress.org

Ready to get started?Download WordPress

Forums

iThemes Security (formerly Better WP Security)
data-fancybox-type="iframe" in (1 post)

  1. mvhoute
    Member
    Posted 1 year ago #

    Hi,

    I know this might be a weird request, but in this case it's really necessary for a project I'm working on..

    In the template editor I now have the following code (excerpt):

    <a class="various" href="%link%" title="%post_title_attr%">
    		<span class="recent-comment-avatar">%avatar%</span>
    		<span class="recent-comment-single"><span class="recent-comment-author">%author%</span>
    		<span class="recent-comment-text">%excerpt%</span> <span class="recentcomentdate">%time%</span>
    	</a>

    The article needs to be opened in an pop-up iframe (like it's happening in many places on this website), and since I'm using the Fancybox 2 library it needs the following addition:

    <a class="various" data-fancybox-type="iframe" blabla etc.. >

    When I save it, it will automatically delete data-fancybox-type="iframe" from the code.

    How can I make it work?

    http://wordpress.org/extend/plugins/better-wp-security/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic