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

  1. mvhoute
    Posted 3 years ago #


    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>

    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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic