Need Help With A Rewrite Issue

You could do something like this to rewrite rules for author titles, check out the monkeyman rewrite analyzer to figure out, following code should be in your functions.php add_filter(‘rewrite_rules_array’, ‘my_insert_rewrite_rules’); function my_insert_rewrite_rules($rules) { // Implement this function to add all the new rules to $rules array passed in $newrules = array(); $authors=get_users();//http://codex.wordpress.org/Function_Reference/get_users foreach($authors as $author) … Read more

Conditional Content Display

You can’t execute PHP code from within a string. You can however define a function that executes code and call that function within your if clauses. function dz_slick_longstring() { $query = new WP_Query(‘category_name=intro-paragraphs’); if($query->have_posts()) : while($query->have_posts()) : $query->the_post(); ?> <div class=”mid-box”> <h1><?php the_title(); ?></h1> <?php echo excerpt(40); ?><br/> <a href=”<?php echo get_permalink(); ?>”>&raquo; read more…</a> … Read more