Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter phantomsd

    (@phantomsd)

    Hi Todd! I replied back to your msg when I got it via email but I think my reply went to [email protected] (face palm).

    Yes this is still an issue. My client needs several updates to his site but I’m hesitant to create any more sidebars as the data in random ones get deleted so we are kind of stuck.

    I dread having to erase everything and recreate hundreds of sidebars as a possible fix. I’m unsure of what to do.

    -Thomas

    Thread Starter phantomsd

    (@phantomsd)

    Hey Todd, any update or insights on this bug?

    Thread Starter phantomsd

    (@phantomsd)

    Any ideas?

    (Happy Thanksgiving, everyone!)

    Thread Starter phantomsd

    (@phantomsd)

    <?php include ('header2.php'); ?>
    
    <div id="container">
    
    <div class="container_content">
    
    	<div class="featured_a">
    
    	<?php $featured_a = new WP_Query();
    	$featured_a->query('cat=10&showposts=1');
    	?>
    
    	<?php if(have_posts()) : ?><?php while($featured_a->have_posts()) : $featured_a->the_post(); ?>
    
    		<div class="post_featured" id="post-<?php the_ID(); ?>">
    
    			<?php $image = get_post_meta($post->ID, 'featured_image', true); ?>
    
    			<a href="<?php the_permalink() ?>"><img src="<?php echo $image; ?>" alt="<?php the_title(); ?>" /></a>
    
    			<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    			<?php the_excerpt(); ?>
    
    		</div>
    
    	<?php endwhile; ?>
    
    	<?php else : ?>
    
    		<div class="post_featured">
    			<?php _e('Not Found'); ?>
    		</div>
    
    	<?php endif; ?>
    
    	</div>
    
    	<div class="featured_b">
    
    	<?php $featured_b = new WP_Query();
    	$featured_b->query('cat=10&showposts=1&offset=1');
    	?>
    
    	<?php if(have_posts()) : ?><?php while($featured_b->have_posts()) : $featured_b->the_post(); ?>
    
    		<div class="post_featured" id="post-<?php the_ID(); ?>">
    
    			<?php $image = get_post_meta($post->ID, 'featured_image', true); ?>
    
    			<a href="<?php the_permalink() ?>"><img src="<?php echo $image; ?>" alt="<?php the_title(); ?>" /></a>
    
    			<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    			<?php the_excerpt(); ?>
    
    		</div>
    
    	<?php endwhile; ?>
    
    	<?php else : ?>
    
    		<div class="post_featured">
    			<?php _e('Not Found'); ?>
    		</div>
    
    	<?php endif; ?>
    
    	</div>
    
    	<div class="featured_c">
    
    	<?php $featured_c = new WP_Query();
    	$featured_c->query('cat=10&showposts=1&offset=2');
    	?>
    
    	<?php if(have_posts()) : ?><?php while($featured_c->have_posts()) : $featured_c->the_post(); ?>
    
    		<div class="post_featured" id="post-<?php the_ID(); ?>">
    
    			<?php $image = get_post_meta($post->ID, 'featured_image', true); ?>
    
    			<a href="<?php the_permalink() ?>"><img src="<?php echo $image; ?>" alt="<?php the_title(); ?>" /></a>
    
    			<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
    
    			<?php the_excerpt(); ?>
    
    		</div>
    
    	<?php endwhile; ?>
    
    	<?php else : ?>
    
    		<div class="post_featured">
    			<?php _e('Not Found'); ?>
    		</div>
    
    	<?php endif; ?>
    
    	</div>
    
    </div>
    
    </div>
    
    <div class="push"></div>
    
    </div>
    
    <?php get_footer(); ?>
    
    </body>
    </html>
    Thread Starter phantomsd

    (@phantomsd)

    Ah… thanks apljdi! Other themes had no problems.

    It turns out it was my music player that was giving me the “fixed” url issue.

    Thanks again! 😀

    Thread Starter phantomsd

    (@phantomsd)

    Thanks Shane for your reply but I don’t think that solves my problem. Even if I change the permalink structure… the address bar will still show http://www.example.com/main. Like it is somehow a fixed URL or something.

    I can navigate the site no problem and each page loads up correctly but the URL in the address bar still shows http://www.example.com/main. It sticks to that for all pages. If I’m on a particular section of the website and I decide to reload… it will reload http://www.example.com/main because thats what it shows in the address bar constantly.

    I need to know if this is a WP problem or a server/hosting issue. I have several WP blogs and I do not have this problem… the address bar changes according to each page URL (www.example.com/main/about.php etc etc.).

    The reason I need for the address bar to function properly is because I’m planning on using a sharing plugin for posts and pictures… and without the URL changing to address the content shown… all the sharing plugin returns is the fixed URL (www.example.com/main) which is no use to my visitors.

    I hope that made sense. If anyone has any ideas, please let me know!

    Thanks in advance!!!

Viewing 6 replies - 1 through 6 (of 6 total)