Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter ccradmin

    (@ccradmin)

    putting the word-wrap: break-word; on the <p> tag worked! thanks a lot!

    Thread Starter ccradmin

    (@ccradmin)

    From what I found it the p tag causing the text to go outside the parent element and theres no styling on it either

    Thread Starter ccradmin

    (@ccradmin)

    its not a css problem because i have no styling on the elements atm,

    Beside on the main page of the site the styling works fine

    Thread Starter ccradmin

    (@ccradmin)

    I have it all working the way I want it to. Thanks for all the help

    Thread Starter ccradmin

    (@ccradmin)

    I need a fix soon

    Thread Starter ccradmin

    (@ccradmin)

    This is what i have now but the buttons still dont work.

    <?php if ( have_posts() ) : the_post(); ?>
                 <?php while (have_posts()) : the_post(); ?>
                 <?php
    				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    				$sticky=get_option('sticky_posts');
    				$args=array(
       								'cat'=>3,
       								'caller_get_posts'=>1,
       								'post__not_in' => $sticky,
       								'paged'=>$paged,
    								'posts_per_page' => 1
       							);
    				query_posts($args);
    ?>
    
                 <!-- The following tests if the current post is in category 3. -->
                 <!-- If it is, the div box is given the CSS class "post-cat-three". -->
                 <!-- Otherwise, the div box will be given the CSS class "post". -->
                 <?php if ( in_category('3') ) { ?>
                           <div class="post-cat-three">
                 <?php } else { ?>
                           <div class="post">
                 <?php } ?>
    
                 <!-- Display the Title as a link to the Post's permalink. -->
                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/latestnews.png" style="margin-top:5px; margin-left:0;"/></a></h2>
                 <small>Author: <?php the_author_posts_link(); ?></small>
    
                 <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
                 <div class="datebg">
    			 	<span class="date">
    					<?php the_time('F j, Y') ?>
                    </span>
                 </div>
    
                 <!-- Display the Post's Content in a div box. -->
                 <div class="entry">
            	 <?php 
    
    				$entry = the_content();
    				$limit = 200;
    			 	substr($entry,0,$limit);
    			 ?>
    
                   <table class="postnav" style="margin-top:5px;">
                    	<tr>
    <?php if(get_next_posts_link()) { $next_posts_img = '<img src="' . get_bloginfo('template_url') . '/images/newer.png" class="newer" />'; ?>
    <td><?php next_posts_link($next_posts_img); ?></td>
    <?php  }
    else { ?><td><img src="<?php bloginfo('template_url'); ?>/images/newernone.png" class="newer" /></td>
    <?php } ?>
    <td><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/readmore.png" class="readmore" /></a></td>
    <?php if(get_previous_posts_link()) { $prev_posts_img = '<img src="' . get_bloginfo('template_url') . '/images/older.png" class="older" />'; ?>
    <td><?php previous_posts_link($prev_posts_img); ?></td>
    <?php  }
    else { ?><td><img src="<?php bloginfo('template_url'); ?>/images/oldernone.png" class="older" /></td>
    <?php } ?>
    </tr>
    </table>
    
                 </div>
    
                 </div> <!-- closes the first div box -->
    
                 <!-- Stop The Loop (but note the "else:" - see next line). -->
                 <?php endwhile; ?>
                 <?php else: ?>
    
                 <!-- The very first "if" tested to see if there were any Posts to -->
                 <!-- display.  This "else" part tells what do if there weren't any. -->
                 <p>Sorry, no posts matched your criteria.</p>
    
                 <!-- REALLY stop The Loop. -->
    
                 <?php endif; ?>

    Thread Starter ccradmin

    (@ccradmin)

    but isnt that going to make it display more than one post at a time?

    Thread Starter ccradmin

    (@ccradmin)

    its not working, both next and previous buttons are faded out even though i have 5 posts made

    Thread Starter ccradmin

    (@ccradmin)

    Heres all the code for the post

    <?php if ( have_posts() ) : the_post(); ?>
    
                 <!-- The following tests if the current post is in category 3. -->
                 <!-- If it is, the div box is given the CSS class "post-cat-three". -->
                 <!-- Otherwise, the div box will be given the CSS class "post". -->
                 <?php if ( in_category('3') ) { ?>
                           <div class="post-cat-three">
                 <?php } else { ?>
                           <div class="post">
                 <?php } ?>
    
                 <?php
    				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    				$sticky=get_option('sticky_posts');
    				$args=array(
       								'cat'=>3,
       								'caller_get_posts'=>1,
       								'post__not_in' => $sticky,
       								'paged'=>$paged,
       							);
    				query_posts($args);
    ?>
    
                 <!-- Display the Title as a link to the Post's permalink. -->
                 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/latestnews.png" style="margin-top:5px; margin-left:0;"/></a></h2>
                 <small>Author: <?php the_author_posts_link(); ?></small>
    
                 <!-- Display the date (November 16th, 2009 format) and a link to other posts by this posts author. -->
                 <div class="datebg">
    			 	<span class="date">
    					<?php the_time('F j, Y') ?>
                    </span>
                 </div>
    
                 <!-- Display the Post's Content in a div box. -->
                 <div class="entry">
            	 <?php 
    
    				$entry = the_content();
    				$limit = 200;
    			 	substr($entry,0,$limit);
    			 ?>
                 	<table class="postnav" style="margin-top:5px;">
                    	<tr>
                        	<td><a href="<?php get_next_post() ?>"><img src="<?php bloginfo('template_url'); ?>/images/newernone.png" class="newer" /></a></td>
                            <td><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/readmore.png" class="readmore" /></a></td>
                        	<td><a href="<?php get_adjacent_post(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/older.png" class="older" /></a></td>
                        </tr>
                   </table>
    
                 </div>
    
                 </div> <!-- closes the first div box -->
    
                 <!-- Stop The Loop (but note the "else:" - see next line). -->
                 <?php else: ?>
    
                 <!-- The very first "if" tested to see if there were any Posts to -->
                 <!-- display.  This "else" part tells what do if there weren't any. -->
                 <p>Sorry, no posts matched your criteria.</p>
    
                 <!-- REALLY stop The Loop. -->
                 <?php endif; ?>

    Thread Starter ccradmin

    (@ccradmin)

    is this what im looking for?

    <?php
    				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
    				$args=array(
       								'cat'=>3,
       								'caller_get_posts'=>1,
       								'paged'=>$paged,
       							);
    				query_posts($args);
    			?>

    Thread Starter ccradmin

    (@ccradmin)

    When you click the previous or next link is displays the next or previous post in place of the current one

    Thread Starter ccradmin

    (@ccradmin)

    i used validator and its a problem with the format of one of my posts. how do i delete a post out of the feed. I have deleted it out of wordpress.

    Thread Starter ccradmin

    (@ccradmin)

    tried all of that and nothing still the same thing

    heres a link to a screenshot of the error page

    https://coldcallradio.com/rss-error.png

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