404 error- issues with pages after adding custom rules for posts

Why it happens The error 404 on the th/<page slug> pages occurs because your custom rewrite rules overwrite the default Page rules which would otherwise load the correct Page (having the slug <page slug>). How to fix the issue If your permalink structure is /%postname%, i.e. example.com/<post slug>, then a simple fix to the error … Read more

Custom Taxonomies Cababilities

Hi @curtismchale: Try ‘river-class’ instead of ‘Class’, i.e.: register_taxonomy( ‘river-class’, array( ‘fvww-river-guide’ ), array( ‘hierarchical’ => true, //operates like a category ‘labels’ => $labels, ‘rewrite’ => true, ‘public’ => true, ‘show_ui’ => true, ) ); // ends class taxonomy Actually what caused you to stumble was your choice of a capitalized taxonomy name (i.e. “Class” … Read more

List Recent Post Titles from Custom Taxonomies?

create additional loops in your template, selecting the taxonomy and term you’d like to limit display to for each. for instance, this will pull the last 5 posts from taxonomy “genre”, term “action”: <?php $args = array( ‘taxonomy’=>’genre’,’term’=>’action’,’posts_per_page’=>5 ); $action_films = new WP_Query( $args ); while( $action_films->have_posts() ) : $action_films->the_post(); echo ‘<li>’; the_title(); echo ‘</li>’; … Read more

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