previous/next_post_link in the same sub-category?

If you’ll take a look at next_post_link Codex page, you’ll see it’s usage: <?php next_post_link( $format, $link, $in_same_term = false, $excluded_terms=””, $taxonomy = ‘category’ ); As you can see, third param is in_same_term and it’s default value is false. If you set it to true, then the function will return next post from same category. … Read more

Is this format possible with a custom Nav Walker class?

Yes, it is possible… All you need is to write your own Walker class. Here’s a starting point: class My_Custom_Walker_Nav_Menu extends Walker_Nav_Menu { public function start_lvl( &$output, $depth = 0, $args = array() ) { if ( $depth ) { $output .= ‘<aside><a href=”#” class=”custom-class”>Sub Menu Trigger</a><div>’; } } public function end_lvl( &$output, $depth = … Read more

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