I am trying to set up a web-based control panel for some hosting customers that use WordPress.
As you probably know, the URL for administrating a WordPress site is http://domain.com/wp-admin. For example:
http://minutebookreview.com/wp-admin
(this is just a random blog)
Now, look what happens when I try to load this page inside an iframe using this code:
<iframe width=640 height=480 src="http://minutebookreview.com/wp-admin"></iframe>
You'd think this would work, right?
Well, have a look for yourself:
http://jsfiddle.net/A4MxE/
The page simply shows up blank inside the iframe. The wp-admin login page won't load.
Anyone know why this is happening? It doesn't make any sense to me.
Here is what I saw. It seams wordpress just dosen't like you.
Related
i'm building a Wordpress website from scratch (plugin + template) and made today my header/sidebar.
The problem is that i have a blank space at the top of the website and don't know where it comes from.
When i inspect it i have this.
And here is the blank :
Thanks all...
i'm pretty sure this is due to the wordpress admin bar, try logging off and getting back on your website local host page without being logged on to wordpress. This should be only visible on the admin side, if not once you're logged off, try pasting the source code, will take a look.
thanks for all the answers. Nothing was left in the header.php (checked twice) and tried too to go on the website without being logged but it was not that. I fixed it by sticking by header to top :/
Thanks !
I am working on a site that was previously developed by someone else.
You can see the site here: http://www.pivotalevents.com/nonametag/index.html
Having issue on this page here: http://www.pivotalevents.com/nonametag/introduce.php
I have coded in a CAPTCHA on the contact page and used some PHP, making the page a PHP extension file 'introduce.php'. Previously it was 'introduce.html'.
The problem: When going from any page on the site, to the contact page, the entire contact page jumps around. The page expands, then collapses back to it's normal width. If you look at the logo, you can see it jump out, then back in.
When I change the page back to .html extension, it doesn't do this.
Why is this happening? Is it because the site's main wrapper is a table?
Any direction would be greatly appreciated! :)
Yes this could be because the site's main wrapper is in a table...
I re-wrapped the site in div tags and now the page does not jump. Seems there was a problem related to the tables and switching from HTML to PHP.
Not sure how to ask this question properly.
If you go on the website I'm currently working on:
My Website
The page loads fine, but if you go to another page or link afterwards and then hit BACK, the same page loads with a huge blank space at the bottom. If you refresh the page, it fixes itself. The website pcgamer.com seems to have the same problem.
Here is my HTML/PHP and CSS:
Source Code
EDIT 1: Removing the facebook plugin seems to solve the problem, but how can I use the plugin without having this issue ?
disable facebook like plugin and check it will fix your problem
I just check your web and I think I got your problem. You set .bodymainwrap to has height of 2100px. Please delete the css height:2100px; at .bodymainwrap selector. I'm sure it'll work.
I have taken over the development of a website and have written a simple page hit recording script that I've placed in the header.php of the theme. It seems to work great except when visiting the base url of the site. Then, it records two hits, one has the correct url (www.idataresearch.com) but the other one looks like www.idataresearch.com/page/2/. Both hits have the wrong page title recorded as well. I have a feeling it's something to do with the loop or the way the template loader is working. Any help would be greatly appreciated.
I have no idea why it's doing this but I've decided to just filter out those weird extraneous results. The site seems to be working well otherwise ...
Hi i am trying to include a webpage link from another website into my website.
how can i do this?
i tried
<?php web_include ('http://website.com/website.html') ; ?>
but all the commands are not loading after this statement. I want to include another webpage into my homepage directly. my homepage is completely designed in php, but the other one is html or php.
i also tried <?php include("http://www.othersite.com/filename.html"); ?> but this html is not at all loading.
Possible Solution:
ok this is what i am using
<iframe name="FRAMENAME" src="http://website.com/dropdown.html" width="1000" style="z-index:10000" height="40" frameborder="0" scrolling="no" allowautotransparency=true></iframe>
I am just including a dropdown menu for my index page. The CMS of the my site is restricting me from viewing the dorpdown in IE. When i view the dropdown.html page, i can see the dropdown, so I am trying to use iframe. Now using the iframe i can see the dropdown in IE as well, but the dropdown is not showing on the top. It is showing behind the other images on the site. How do i get it on top of the other images. z-index is not working for this.
This code requires allow_url_include=On in your php.ini, which is disabled by default because it's REMOTE CODE EXECUTION, one of the worst you can have in PHP. This is called the Remote File Include (RFI) vulnerability. If there is PHP code on this site it will be executed on your server.
Extremely insecure:
<?php include("http://www.othersite.com/filename.html"); ?>
What you probably want is:
<?php print file_get_contents("http://www.othersite.com/filename.html"); ?>
However, this is technically an XSS vulnerability. So, if you trust the website there isn't a problem. But you probably want to run Html Purifer before printing it out.
Just a basic recommendation, but it sounds like you're trying to debug complex functionality within a complex environment, which will only make it harder.
Debugging is easier if you break it down into component steps. In this case, I recommend:
Display the iframe on a blank html page.
Make sure everything works in that simple case.
Display on the more complex page.
If it's still not working, comment out the javascript on the complex page to determine if that is causing the adverse interaction with the iframe page's javascript.
Going through the debuggging stepwise like that should simplify the process.