<div> <?php global $post; $myposts = get_posts(‘post_type=page&include=100,200,300&orderby=post_date&order=ASC’); ?> <ul> <?php $posts_counter = 0; ?> <?php foreach( $myposts as $post )…
<script type=”text/javascript”> jQuery(“.pageclass #pageid fieldset:first”).attr(“id”, “users-profile-core”); //add attribute like id in first jQuery(“.pageclass #pageid p:last”).addClass(“bottom”); //add class in last p…
http://knowit.co.nz/2010/01/8-steps-to-clean-a-hacked-wordpress-blog
<p>Please answer the following<br /> [quiz quiz-4711 class:quiz “1+1=?|2” “1+2=?|3” “1+3=?|4” “1+4=?|5” “1+5=?|6” “1+6=?|7” “1+7=?|8” “1+8=?|9” “2+1=?|3” “2+2=?|4” “2+3=?|5” “2+4=?|6” “2+5=?|7” “2+6=?|8”…
function wp_list_categories_remove_title_attributes($output) { $output = preg_replace(‘` title=”(.+)”`’, ”, $output); return $output; } add_filter(‘wp_list_categories’, ‘wp_list_categories_remove_title_attributes’);
function improved_trim_excerpt($text) { global $post; if ( ” == $text ) { $text = get_the_content(”); $text = apply_filters(‘the_content’, $text); $text…
global $wp_query; $post_id = $wp_query->post->ID; if ($post_id==”)
div#fixme { position: absolute; left: 0px; top: 0px; } body > div#fixme { position: fixed; }
<!–[if IE]><p>You are using Internet Explorer.</p><![endif]–> <![if !IE]><p>You are not using Internet Explorer.</p><![endif]> <!–[if IE 7]><p>Welcome to Internet Explorer 7!</p><![endif]–>…
DirectoryIndex filename.html