Topic: Simple Viewer Pro in Wordpress

I am trying to activate Simple Viewer Pro in Wordpress.

I believe that my template is one that is missing the wp_head call to action. How do I fix this so that Simple Viewer Pro works?

Can you help me with this?

Thanks,

Gabe Seiden

Re: Simple Viewer Pro in Wordpress

One of the requirements for WP-SimpleViewer (as documented here) is that:

Active theme must call the wp_head function in it's header.php file.

You could try adding the line:

wp_head();

... to your theme's 'header.php' file (just before the closing </head> tag) though there may well be a good reason for your theme not including this line and I do not know if adding it will break anything.
As an alternative to using WP-SimpleViewer, you could create a gallery using svBuilder-Pro (or any other method of your choice), upload the entire gallery folder (not just the contents) to your web server, and embed it in a WordPress post using one of the two methods of embedding described here: http://simpleviewer.net/simpleviewer/su … dding.html

I have removed what looked like your web server's login details from your original post as this is a public forum.

Steven Speirs
SimpleViewer Support Team.

Re: Simple Viewer Pro in Wordpress

Steven,

This is what the top of the header.php file looks like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url') ?>" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie6.css" type="text/css" media="screen" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/style.ie7.css" type="text/css" media="screen" /><![endif]-->
<?php if(WP_VERSION < 3.0): ?>
<link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', THEME_NS), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
<?php endif; ?>
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php
remove_action('wp_head', 'wp_generator');
wp_enqueue_script('jquery');
if ( is_singular() && get_option( 'thread_comments' ) ) {
    wp_enqueue_script( 'comment-reply' );
}
wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script>
</head>

So - doesn't it already include the line that is needed?

Re: Simple Viewer Pro in Wordpress

So - doesn't it already include the line that is needed?

Yes. It does have the line required for WP-SimpleViewer to function correctly.

I am trying to activate Simple Viewer Pro in Wordpress.

Are you using WP-SimpleViewer or are you trying to embed a SimpleViewer gallery (created by a different method such as svBuilder-Pro) in a WordPress post using one of these 2 methods?
In either case, how far do you get in the process and what do you see (or not see) on screen?

Steven Speirs
SimpleViewer Support Team.