First of all let me say that I've read almost every article here regarding the "empty box" subject but I haven't had any sucess solving it =(
It just doesn't work on my Wordpress website (http://smpt.site11.com) with the teme I have (based on Engamer). If I change the theme it does work, but I really need it to work in this theme.
I tryed the jQuery no conflict script with no sucess, changed the "<?=" and "?>" to "<?php echo" and ";?>" in the jd.gallery.js file and again it didn't work. I'am all out of ideias by now.
This is the header.php code:
- Code: Select all
<!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'); ?>" />
<meta name="description" content="<?php bloginfo('description') ?>" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" title="laranja_sammu" />
<link rel="alternate stylesheet" type="text/css" href="/pila/wp-content/themes/engamer/roxo_ice.css" title="roxo_ice">
<!-- Folhas de Estilos Alternativas-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<script type="text/javascript"><!--//--><![CDATA[//><!--
sfHover = function() {
if (!document.getElementsByTagName) return false;
var sfEls1 = document.getElementById("catmenu").getElementsByTagName("li");
for (var i=0; i<sfEls1.length; i++) {
sfEls1[i].onmouseover=function() {
this.className+=" sfhover1";
}
sfEls1[i].onmouseout=function() {
this.className=this.className.replace(new RegExp(" sfhover1\\b"), "");
}
}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//--><!]]></script>
<?php
wp_enqueue_script('Estilos', get_stylesheet_directory_uri() .'/js/switchestilos.js');
wp_enqueue_script('jquery');
?>
<script type="text/javascript">
jQuery.noConflict();
</script>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php
if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
wp_head(); ?>
</head>
<body>
<div id="wrapper">
.... and the index.php til the FCG call code
- Code: Select all
<?php get_header(); ?>
<div id="content">
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
If you could help me, I'd really aprecciate!
Thanks in advance!









