Adscendmedia and wordpress

Discussion in 'Web Design' started by rockme12, Dec 31, 2011.

  1. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    86
    Hi, A friend made me a site. Movie site btw and now i want to lock each post on the site. I went to themes etc etc and clicked on single.php. Then i went to get_header and i pasted the code above it. When i check the site there is no description. When i paste it under get_header it shows the description but no getaway. i then tried to experiment everywhere but nothing. The lock will just not show. Can someone help me please.
    Skype: tariq1324
    Please helppp!

    Code:
    <?php get_header(); ?>
       p=12129";}</script>
      
    
    
    <div style=" width:100%; overflow:hidden;"><div class="single">
    	<div class="border-top"><div class="border-bot"><div class="border-left"><div class="border-right">
    		<div class="corner-left-top"><div class="corner-right-top"><div class="corner-left-bot"><div class="corner-right-bot">	
    			
    		
    				
    				
    				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    					
    					<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    						
    						<div class="indent">
    							
    							<div class="title">
    						
    								<h2><?php the_title(); ?></h2>
    								
    								<div class="date">
    									posted by <?php the_author_link() ?>, <?php the_date(''); ?> @ <?php the_time('') ?>
    								</div>
    								
    							</div>
    							
    							<div class="text-box">
    								
    								<?php the_content(''); ?>
    								
    								<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    							
    							</div>
    						
    							<div class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?></div>
    									
    							<div class="postmetadata alt">
    								<small>
    									This entry was posted
    									<?php /* This is commented, because it requires a little adjusting sometimes.
    										You'll need to download this plugin, and follow the instructions:
    										http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
    										/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
    									on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
    									and is filed under <?php the_category(', ') ?>.
    									You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
    									<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    										// Both Comments and Pings are open ?>
    										You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
    									<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
    										// Only Pings are Open ?>
    										Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
    									<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    										// Comments are open, Pings are not ?>
    										You can skip to the end and leave a response. Pinging is currently not allowed.
    									<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
    										// Neither Comments, nor Pings are open ?>
    										Both comments and pings are currently closed.
    									<?php } edit_post_link('Edit this entry','','.'); ?>
    								</small>
    							</div>
    	
    							<?php comments_template(); ?>
    						
    						</div></div>
    				
    					
    				
    				<?php endwhile; else: ?>
    					<h2 class="pagetitle">Sorry, no posts matched your criteria.</h2>
    				<?php endif; ?>
    
    
    </div></div></div></div>
    	</div></div></div></div>
    	</div></div>
    
    <?php get_footer(); ?>
     
  2. rulez05

    rulez05 Power Member

    Joined:
    Feb 3, 2011
    Messages:
    751
    Likes Received:
    147
    paste it to your main.php
     
  3. rockme12

    rockme12 Regular Member

    Joined:
    Jun 21, 2011
    Messages:
    487
    Likes Received:
    86
    Still doesnt work :(