Getting loop inside an iframe
-
Tried to ask this in the “Toubleshooting” forum, got no takers.
I am building a theme. Modded the index.php file to remove the get_templatepart call. Now I wish to create a page that calls the loop via what would be a copy of the old index.php (minus the header and footer). Want to load this via an iframe in my (now modded) index.php.
How do I do this? I get all sorts of failures if I take a backup of my index.php and rename it to news.php and try bringing that in via iframe.
And since someone is going to ask, I think I need the iframe because I’m using a jQuery horz. accordion and if the page reloads upon a click, it resets the accordion or sends to the single.php. By keeping the news.php in an iframe, it loads in there, leaving the page untouched.
Thanks a head of time.
Joshua
- The topic ‘Getting loop inside an iframe’ is closed to new replies.