Jump to content

Targeting


Melachiah

Recommended Posts

I'm currently working on a project in which a constantly updating archives is accessed. I've gotten everything set up save one single problem.

I'm trying to get the data accessed from the links in the archive to open in an iframe.

The visual parameters of the page are controled nby a template, then the page sorts the archive. The only problem is getting the page to load the data into the iframe when the links are clicked.

The current coPHP page is listed below.

[code]<?php
/*
Template Name: Archives
*/
?>

<?php get_header(); ?>

<div id="content" class="widecolumn">

<h2>Archives:</h2>
  <ul>
    <?php wp_get_archives('type=daily');?>
  </ul>


</div>

<?php get_footer(); ?>
[/code]
Link to comment
Share on other sites

I understand that, however in this situation the line

<?php wp_get_archives('type=daily');?>

displays a list of content as it is updated. I want that displayed content to appear in an Iframe but there is no way for me to edit the links as they are created dynamically.  But I'm sure there has to be some way to instruct the links to open in a specific location.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.