Using rel="prettyPhoto[iframes]" with theme
  • Hi,

    I'm using

    rel="prettyPhoto[iframes]"

    to popup an iframe and it works great - thanks!

    But how can I extend this to use a theme? Or do I need to use php?

    Paul.
  • Hi everyone ... I need to do the same ... putting some 'rel=wp-prettyPhoto' in my template code ... to load iframes directly from the search.php page ...


    Is there anyway webmaster please ?
    PrettyPhoto is so cool and youre plugin too ... need to use it !!! :o)
  • Im a testing something but I got a problem :

    I created a new page whith my line :

    Test

    Then Im including this page's content in my search.php file with

    $mypost=get_post($my_id);
    apply_filters('the_content', $mypost->post_content);


    My page's content gets included but prettyphoto does not work ....


    Any idea ?

    Maybe I must use another function instead of 'apply_filters' ?


    Thanks ...
  • Just a note ...
    I'm using the wordpress plugin 'wp-prettyPhoto'
  • Up someone ?
  • Your question is not about wp-prettyphoto, so I'm not sure why you think you should ask here. Try the WordPress.org forums for WordPress support or the PHP Manual or the WordPress Codex.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter