Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Opening external links inside a Wordpress frameset?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 16, 2009, 07:04 AM
d_random
 
50 posts · Apr 2009
Is it possible to open external links inside a wordpress "frameset"?
  #2  
Old Apr 16, 2009, 08:26 AM
Flynn's Avatar
Flynn
 
3,730 posts · Oct 2008
Munich, Germany
Technically yes, but this one is anything but easy, since there is no "Wordpress frameset", especially if you want the frameset to look like Atahualpa and have Wordpress functionality. And many target sites will probably break out of your frame with a Javascript framebuster anyway. I'd not use frames at all.

If you still want to try, the page with the frameset, i.e. frameset.php would look similar to this

<FRAMESET cols="20%, 80%">
<FRAME src="http://www.mydomain.com/contents_of_left_frame.html">
<FRAME src="<?php echo $_GET['link']; ?>">
<NOFRAMES>
<p>Your browser doesn't support frames.
This frameset document contains this page:
<a href="<?php echo $_GET['link']; ?>">
</p>
</NOFRAMES>
</FRAMESET>

And the link would be <a href="frameset.php?link=http://www.othersite.com/">
with http://www.othersite.com/ being the site that is supposed to be framed
  #3  
Old Apr 16, 2009, 03:07 PM
d_random
 
50 posts · Apr 2009
Thanks Flynn!
I will try that.
  #4  
Old Dec 22, 2010, 01:53 PM
Webmason's Avatar
Webmason
 
69 posts · Feb 2009
Minneapolis, MN USA
Hi,

I am trying this too.

I don't get this part "contents_of_left_frame.html"

What does that mean exactly?

Thanks!

Tom
  #5  
Old Dec 22, 2010, 02:47 PM
STB
 
762 posts · Apr 2010
Thats just an 'example name' for the html file you would have as left frame in Flynn's example.

It could be any other name, like sidebar.html or navigation.html etc.
  #6  
Old Dec 22, 2010, 02:59 PM
Webmason's Avatar
Webmason
 
69 posts · Feb 2009
Minneapolis, MN USA
Thanks STB, I get that, but do I make an outside new HTML page with a frame in it?
  #7  
Old Dec 22, 2010, 03:14 PM
STB
 
762 posts · Apr 2010
Im not sure how Flynn meant this exactly. ..
so Im affraid I cant answer you in much detail.

But since Flynn is talking about "frameset.php" and uses php to get the external target link ..
this leads me to believe that Flynn's was talking about writing your own custom template in php,
That would also mean you need a more complex frameset if you want to mimic your header, sidebars and footer.
and then have the external site show up in the main content frame, with a php $_GET.

Last edited by STB; Dec 22, 2010 at 03:16 PM.

Bookmarks

Tags
frames, links

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to show links/blogroll as a Wordpress page? AndrewRH Atahualpa 3 Wordpress theme 5 Jun 11, 2010 11:01 AM
Removing links in footer: WordPress · Wordpress Themes · Premium Wordpress Themes? Alien99 Post-Kicker, -Byline & -Footer 13 Aug 4, 2009 07:22 AM
[SOLVED] Banner inside posts evripidis Excerpts, Read more, Pagination 9 Jul 6, 2009 04:15 PM
remove the WordPress Wordpress Themes Premium Wordpress Themes links? marc.cizravi Post-Kicker, -Byline & -Footer 0 Apr 25, 2009 09:06 PM
Opening links in a new window HalfWayThere Atahualpa 3 Wordpress theme 7 Apr 15, 2009 06:53 PM


All times are GMT -6. The time now is 03:02 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.