How do I remove the small elongated rectangular shape between the "Latest post" and "Archives" section at http://www.simonlindgren.com ?
The code surrounding this place is:
<div class="column span-4 first">
<h3 class="mast">Recent Posts</h3>
<?php $the_query = new WP_Query('cat=-' .$catid. '&showposts=5&offset=1&orderby=post_date&order=desc');
while ($the_query->have_posts()) : $the_query->the_post();
$do_not_duplicate = $post->ID; ?>
<div class="home_recent_post">
<?php if ( get_post_meta($post->ID, 'thumb_home_img', true) ) { ?>
<?php } else { ?>
<div class="home_recent_thumb">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php
the_title(); ?>"><?php if (function_exists('the_thumb')) { the_thumb('altappend=recent_&subfolder=recent&width=48&height=48&keepratio=0'); } ?></a>
</div>
<?php } ?>
<div class="home_recent_title" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
</div>
<div class="home_recent_date">
<?php the_time('F j, Y'); ?>
</div>
<div class="home_recent_auth">
By <?php the_author(); ?>
</div></div>
<?php endwhile; ?>
<?php include('ad_home.php'); ?><?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar('MiddleColumn') ) : ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
</div> <!-- end home_content -->
RTF fomatting to email content
Im trying to sen an email with content is picked up from a rtf-file (file_get_contents('*.rtf'). Mail is sent correctly, but the formatting of the content includes rtf formatting like:
Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so
Using unserialize()
Hi there.I have some data in my database that is serialized.e.g. a:2:{i:0;s:9:"Test";i:1;s:4:"Another Test";}I'm unsure how to use unserialize to convert it into a string in the
tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the end i need to somehow tell it to skip the rows that have nothing on them:Code: <?php // define
classic dynpro : hide area and auto adjust hights
Hi,
Code Help.. If txt input box empty search X instead..
I am having a problem with my search script. At current it will simply search by a selected date which is a java based calendar that displays when using id='datedisplay' in the input form field below.
Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points which is default 0.What I would like to do is add 1 to this number each time they upload an image. What
Preg_match with an array
is there an away to use preg_match with an array?i want to check a string with an array to see if it contains badwords however i get an error saying string expect it got an array, which i know.
ctype() validation - allowing illegal characters
Hello,I use ctype() to filter and validate a user form. However, I am trying to allow certain characters.Example:Code: //Validate Copay $allow = array('$', '.'); if (!empty($copay)
Post PHP form to non-existing page
The company that I work for host their PHP code on IIS on a Windows server, no Apache, so no mod_rewrite. I recently wrote a custom framewok that is loosely based on Codeigniter. To get SEF URL's 'n