Forums

U More Recent Posts
Use plugin with sIFR (1 post)

  1. aneemal
    Member
    Posted 8 months ago #

    I really love this plugin for displaying recent posts.

    My only problem is that I would like to use sIFR to display the post title as a special font. Because this plugin uses ajax, when the font is replaced on the page, it loses the sIFR effect.

    Does anyone know how I can re-initialise the sIFR function after the ajax call?

    This is the original sIFR function in a .js file within the theme directory.

    sIFR.replace(vonf, {
       selector: '.recent_post',
       wmode: 'transparent',
       fitExactly: 'true',
       css: [
         '.sIFR-root { font-size: 26px; color: #655745; }',
         'a {text-decoration: none; color: #655745; }'
       ]
    });

    Many thanks for any help

    http://wordpress.org/extend/plugins/u-more-recent-posts/

Reply

You must log in to post.

About this Plugin

About this Topic