Hello
thanks in advance for any and all assistance. I have a plugin called Page View (for wordpress) which basically allows a html page ive made, to be loaded within a ‘wordpress’ page on my site.
my site is secured with ssl and the html page is located within the site.
The plugin calls the html page into my wordpress page (embeds it) as a http page… and i do not know how to code this to make sure it loads up as a https page.
can anyone suggest where this can be fixed?
Thanks!
[php]
<?php /* Plugin Name: Page View Plugin URI: http://urbangiraffe.com/plugins/pageview/ Description: Allows the insertion of code to display an external webpage within an iframe, along with a title and description. The tag to insert the code is:[pageview url="url" title="title"]
Version: 1.5.1
Author: John Godley
Author URI: http://urbangiraffe.com
*/
class PageView {
function PageView() {
add_shortcode( 'pageview', array( &$this, 'shortcode' ) );
}
function render( $url, $title, $desc, $width, $height, $border, $scroll ) {
$width = preg_replace( '/[^0-9%px]/', '', $width );
$height = preg_replace( '/[^0-9%px]/', '', $height );
$border = ( $border == 'yes' ) ? 'border: 1px solid #999' : '';
if ( !in_array( $scroll, array( 'auto', 'yes', 'no' ) ) )
$scroll = 'no';
ob_start();
?>