dasavure
Forum Replies Created
-
This is the code for the slider if needed:
<?php
$args = array(‘showposts’ => $wpzoom_featured_posts_posts, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’);$featType = $wpzoom_featured_type;
if ($featType == ‘Tag’)
{
$args[‘tag’] = “$wpzoom_featured_slug”; // Breaking tag slug
}
elseif ($featType == ‘Category’)
{
$args[‘cat’] = “$wpzoom_featured_slug”; // Breaking tag slug
}
?>
<div id=”featPosts”>
<div id=”featPostsBig”>
<div class=”container”><?php
query_posts($args);
$i = 0;
if ( have_posts() ) : ?><?php $AE = new AutoEmbed(); // loading the AutoEmbed PHP Class ?>
<ul class=”slides”>
<?php while (have_posts()) : the_post(); update_post_caches($posts); $i++;
unset($videocode);
$videocode = get_post_meta($post->ID, ‘wpzoom_post_embed_code’, true);
?>
<li class=”slide”><?php
if ($videocode && $AE->parseUrl($videocode)) {
$AE->setParam(‘wmode’,’transparent’);
$AE->setParam(‘autoplay’,’false’);
$AE->setHeight(260);
$AE->setWidth(450);?><div class=”cover”><?php echo $AE->getEmbedCode(); ?></div><?php
} else {
?><?php unset($img);
if ( current_theme_supports( ‘post-thumbnails’ ) && has_post_thumbnail() ) {
$thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ” );
$img = $thumbURL[0];
}else {
unset($img);
if ($wpzoom_cf_use == ‘Yes’)
{
$img = get_post_meta($post->ID, $wpzoom_cf_photo, true);
}
else
{
if (!$img)
{
$img = catch_that_image($post->ID);
}
}
}if ($img){ ?>
<div class=”cover”>” rel=”bookmark” title=”<?php the_title(); ?>”><img src=”<?php bloginfo(‘template_directory’); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=275&w=450&zc=1″ alt=”<?php the_title(); ?>” width=”450″ height=”275″ /></div>
<?php } // if an image exists
} // if a video does not exist ?>
<div class=”postcontent”>
<p class=”postmetadata”><?php the_time(“$dateformat”); ?> / <?php the_category(‘, ‘); ?> / <?php the_author_posts_link(); ?></p>
<h2>” title=”<?php the_title(); ?>”><?php the_title(); ?></h2>
<?php the_excerpt(); ?>
<p class=”more”>” title=”<?php the_title(); ?>” rel=”nofollow”>Continue reading » <?php edit_post_link( __(‘Edit this post’), ‘ | ‘, ”); ?></p>
</div><?php endwhile; ?>
<?php endif; ?>
<div class=”cleaner”> </div>
</div><!– end .container –></div><!– end #featPostsBig –>
<?php
query_posts($args);
$i = 0;
if ( have_posts() ) : ?>
<div id=”featPostsSmall”><ul class=”pagination”>
<?php while (have_posts()) : the_post(); update_post_caches($posts); $i++; ?>
<li<?php if ($i == 6) {$i = 0; echo ” class=\”last\””;} ?>><span></span><?php unset($img);
if ( current_theme_supports( ‘post-thumbnails’ ) && has_post_thumbnail() ) {
$thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), ” );
$img = $thumbURL[0];
}else {
unset($img);
if ($wpzoom_cf_use == ‘Yes’)
{
$img = get_post_meta($post->ID, $wpzoom_cf_photo, true);
}
else
{
if (!$img)
{
$img = catch_that_image($post->ID);
}
}
}if ($img){ ?><img src=”<?php bloginfo(‘template_directory’); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=98&w=135&zc=1″ alt=”<?php the_title(); ?>” width=”135″ height=”98″ /><?php } ?>
<?php endwhile; ?><div class=”cleaner”> </div>
</div><!– end #featPostsSmall –>
<?php endif; ?>
Prev
Next
</div><!– end #featPosts –>
<?php wp_reset_query(); ?><script type=”text/javascript” charset=”utf-8″>
jQuery(document).ready(
function($)
{
$(‘#featPosts’).loopedSlider({
autoHeight: true,
containerClick: false,
slidespeed: 500,
pauseOnHover: <?php if ($wpzoom_slideshow_pause == ‘Yes’) { ?>true<?php } ?> <?php if ($wpzoom_slideshow_pause == ‘No’) { ?>false<?php } ?>,
addPagination: true,
autoStart: <?php if ($wpzoom_slideshow_auto == ‘Yes’) { ?><?php echo “$wpzoom_slideshow_speed”; ?><?php } ?> <?php if ($wpzoom_slideshow_auto == ‘No’) { ?>0<?php } ?>
});
});
</script>Forum: Fixing WordPress
In reply to: Can't add tags More problemsI’ve done everything.
When I switched to the Twenty Eleven theme. The tags & links worked. So obviously it’s a theme specific problem. Thanks again.
But how would I go about pinpointing that problem now.
Forum: Fixing WordPress
In reply to: Can't add tags More problemsThank you. I will try all of your suggestions right now. I’ll report back after.
Forum: Fixing WordPress
In reply to: Website times out everytime after searchingYeah, the site is still timing out every 5 minutes.
Forum: Fixing WordPress
In reply to: Website times out everytime after searchingOne by one, I reactivated every plugin excluding WP Super Cache, and the website didn’t time out until page 17 this time.
Forum: Fixing WordPress
In reply to: Website times out everytime after searchingA plugin is definitely slowing the site down But without any plugins activated the website still times out after going through 12 pages, give or take.
When the site is back working for me, I will reactivate the plugins one by one to pinpoint which is slowing it down so much.
I’m currently using Akismet, Audio Player, P3 (Plugin Performance Profiler), WP-DBManager, WP-PostRatings, & WP Super Cache.
Forum: Fixing WordPress
In reply to: Website times out everytime after searchingThanks for the response.
I’ve contacted them (Godaddy.com) & they replied with:I understand your concern with the site timing out. Upon testing the site I was unable to duplicate the issue and the hosting account is running as it should. As such, if you are running into intermittent timeout issues, you may wish to refer to your favorite search engine or www.remarpro.com. You may also research into potentially increasing the execution time of the hosting environment and perform a traceroute when the issue is occurring to assist with determining whether the issue is related to a local connection or scripting. Please note that we are unable to support local or scripting issues.
Forum: Fixing WordPress
In reply to: Website times out everytime after searchingolder entries*
Forum: Fixing WordPress
In reply to: Thumbnails Aren't Loading!Please Help! Anyone??
Forum: Fixing WordPress
In reply to: 3.1 WP and disappeared thumbnailsdid either of you resolve the problem? if so, could you please explain how? thank you
Forum: Fixing WordPress
In reply to: Thumbnails Aren't Loading!but I’ve never encountered this problem before. Over 1000 posts, all with images 400×400. Plus, some thumbnails that used to show have stopped appearing.