WordPress.org

Ready to get started?Download WordPress

Forums

Thickbox - iFramed Content (1 post)

  1. bryson32
    Member
    Posted 5 years ago #

    I am using Thickbox 3.1 for iframed content in combination with WP-o-Matic. Currently, I have to append the Thickbox attribute manually to each post URL.

    I have been tyring to figure out how to have the href attribute -> "?KeepThis=true&TB_iframe=true&height=400&width=600" be automatically added to the URL for each rss post.

    Adding the href attribute to the following snipit of code in (folders: theme -> default) index.php
    <?php while (have_posts()) : the_post(); ?>

    <div class="post" id="post-<?php the_ID(); ?>">
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>?KeepThis=true&TB_iframe=true&height=400&width=600""><?php the_title(); ?> </h2>

    After adding the above Thickbox attribute, clicking on the article link starts the opening of an iframe inside of ThickBox but the URL never comes through.

    I have searched for a couple days now and have not found a plugin or hack to solve this.

Topic Closed

This topic has been closed to new replies.

About this Topic