Tag Archives: Read More

kgsstore on “making 1 column”

Hello

blog: http://tinyurl.com/seekinghelp

seeking help to make body section 1 column instead of 2.. nothing in the main index that suggest.

code:

<?php get_header(); ?>

<?php $my_query = new WP_Query('showposts=1'); ?>
<?php while ($my_query->have_posts()) : $my_query->the_post(); ?>
<div class="top_post" id="post-<?php the_ID(); ?>">
<div class="post_title">
<h2>
<div class="headline">
HEADLINE
</div>

<div class="headline_date">
<?php the_time('F jS, Y') ?>
</div>

</h2>

</div>
<div class="top_entry">
<div class="top_titles">
" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?>
</div>
<?php the_content('Read the rest of this entry »'); ?>
</div>
<div class="post_bottom">
<div class="post_cat">
Filled Under: <?php the_category(', ') ?>
</div>
</div>
</div>

<?php endwhile; ?>
<?php rewind_posts(); ?>
<div id="about_box">

<img src="<? bloginfo('template_directory')?>/images/" />
<h3>
ABOUT
</h3>
?>
</div>
<div id="content">
<?php query_posts('showposts=10&offset=1'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="mag_posts" id="post-<?php the_ID(); ?>">
<div class="top_mag_posts">
<div class="bottom_mag_posts">
<h2><?php the_category(', ') ?></h2>
<div class="mag_posts_entry">
<div class="top_mag_titles">
" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?>
</div>
<?php the_content(); ?>
</div>
<div class="mag_posts_meta">
<div class="meta_date"><?php the_time('j') ?> <?php the_time('F') ?> <?php the_time('Y') ?></div>
<div class="meta_comments">
" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Read More >></div>
</div>
</div></div></div>
<?php endwhile; ?>
<?php endif; ?>
</div>
<?php include (TEMPLATEPATH . '/rightads.php'); ?>
<?php get_sidebar(); ?>
<div class="clear"></div>

<?php get_footer(); ?>

Posted in Wordpress Templates | Also tagged class, code lt, div, div id, F jS, PHP, query posts, Read, Wordpress Templates | Comments closed

thestack22 on “Revolution Lifestyle. How to show only sticky posts on homepage, not recent post”

Hi there,

I´m using Revolution Lifestyle as a theme for http://www.howtorepairbadcredit.net. On the home page I have three categories listed with 2 posts. I would like these 2 post remain fixed/sticky, but if I add posts to this category, the most recent post appears on the main homepage where I would like this post to just appear in the category URL and in the sidebar (not on main homepage) .

What to change in the above html to display selected post ID (eg post ID 22,25) as sticky on the home page and move the newest posts to the sidebar ´latest posts´.

<div class="hpfeatured">
<h3>Raise Credit Score </h3>

<!--This is where the thumbnails are found for the homepage bottom section - note the custom field name for this image is "thumbnail". Recommended image size is 70x70, as the stylesheet is written for this size.-->

<?php $recent = new WP_Query("cat=1&showposts=2"); while($recent->have_posts()) : $recent->the_post();?>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php echo get_post_meta($post->ID, "thumbnail", true); ?>" alt="<?php the_title(); ?>" />
<?php else: ?>
" rel="bookmark"><img style="float:left;margin:0px 10px 0px 0px;" src="<?php bloginfo('template_url'); ?>/images/thumbnail.png" alt="<?php the_title(); ?>" />
<?php endif; ?>
<b>" rel="bookmark"><?php the_title(); ?></b>
<?php the_content_limit(80, ""); ?>

<div style="border-bottom:1px dotted #94B1DF; margin-bottom:10px; padding:0px 0px 10px 0px; clear:both;"></div>

<?php endwhile; ?>

<!--This is where you can specify the archive link for each section. Replace the # with the appropriate URL--> <b>Read More Posts From This Category</b>

What to change in the above html to display selected post ID (eg post ID 22,25) as sticky on the home page and move the newest posts to the sidebar ´latest posts´.

Any ideas? Thanks.

Posted in Wordpress Templates | Also tagged div class, div style, PHP, Post, template url, thumbnail, Wordpress Templates | Comments closed

CSSDesk | CSS-Tuts.com

Easy Front End. A CSS/HTML/JavaScript framework that helps reduce the time spent on setting up the basic master HTML template by reusing the same coding techniques. Read More → · Typography: Readability & Legibility (Part 2) ... We'll learn the basics of slicing a PSD design, how to convert it into a 100% functional HTML+CSS+JavaScript mockup, and more. Help give back to Nettuts+, and join Plus!... Improve Your jQuery Knowledge with the Source Viewer ...
Posted in PSD Templates | Also tagged CSS, functional html, html, JavaScript, master html, source viewer | Comments closed

LFW Blog » Blog Archive » RAP-Ready Header Pro PSD Templates

Powered by Max Banner Ads · RAP-Ready Header Pro PSD Templates Author: Kriss Apr 05. RAP-Ready Header Pro PSD Header Templates is a PLR package that's set up as a RAP-Ready … Read More: RAP-Ready Header Pro PSD Templates ...
Posted in PSD Templates | Also tagged banner ads, header, kriss, Kriss Apr, Max Banner, psd, rap, RAP-Ready | Comments closed