When does wordpress process <!–nextpage–>

I am not sure what you mean by rendering shortcodes at that stage, they are usually rendered when content is retrieved for display. nextpage tag is processed in setup_postdata() ( source ), which is called by the_post(). In other words – during Loop.

Filtering post-formats from the loop using new WP-Query();

You should be able to exclude posts with a specific format using WP_Query’s tax_query parameter. Eg. $q_args = array( ‘posts_per_page’ => 1, ‘tax_query’ => array( array( ‘taxonomy’ => ‘post_format’, ‘field’ => ‘slug’, ‘terms’ => array( ‘post-format-link’ ), ‘operator’ => ‘NOT IN’ ) ) ); $featured->query( $q_args ); Untested, but should do the trick..

How to take options from form fields and turn them in to links?

Yes. First of all, to be able to highlight the current sorting method, we attempt to retrieve if the GET variable sort_by occurs in the url: <?php switch ($_GET[“sort_by”]) { case ‘most_recent’: $active=”most_recent”; break; case ‘most_favourite’: $active=”most_favourite”; break; case ‘most_viewed’: $active=”most_viewed”; break; default: // However you sort by default $active=”most_recent”; }?> If a valid sort … Read more

Echoing Categories only if they’re a child of a given category

Change: $goal = get_category_by_slug(‘goal’); foreach($categories as $category) { $output .= ‘<a href=”‘.get_category_link($category->term_id ).'” title=”‘ . esc_attr( sprintf( __( “View all posts in %s” ), $category->name ) ) . ‘”>’.$category->cat_name.'</a>’.$seperator; } Into: foreach( $categories as $category ) { if ( $category->parent == $goal->term_id) $output .= ‘<a href=”‘.get_category_link($category->term_id ).'” title=”‘ . esc_attr( sprintf( __( “View all posts … Read more

Replace a word with a word in the URL string

Check the Filter Reference — there are filters like the_content, the_title, wp_title, etc. I’m not sure what you’d filter to get the logo description and footer — you might need to delve into your theme’s code. Also, make sure you sanitize anything you get from $_GET — never ever trust user-generated content. See Data Validation … Read more

Filter Posts by current Month

$current_month = date(‘m’); should be $current_month = date(‘n’); Reference the page for the WP_Query object: codex.wordpress.org/Class_Reference/WP_Query#Time_Parameters “month_num” is an int from “1-12”, not from “01-12”. The way the variables are currently set up, $current_month has a preceding zero. I’m assuming that a simple change to return the month without a preceding zero will fix this. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)