Query categories that have a description

How about looping all available terms, if term has description, add to to an object_ids, something like this. add_filter( ‘wp_sitemaps_taxonomies_query_args’, function( $args, $taxonomy ) { // Show in sitemap categories and topics that have a description if ( $taxonomy == ‘category’ || $taxonomy == ‘post_tag’ ) { // get the terms of the taxonomy $terms … Read more

Add dynamic Sitemap to footer

You should call wp_nav_menu() in your footer.php template. It’s used as following : <?php wp_nav_menu( array(‘theme_location’=>’footer’) ); ?> The theme_location parameters refers to the checkboxes below the menu editor (Theme location). If your theme doesn’t have enough theme_location, you can add some by adding function register_html5_menu(){ register_nav_menus(array( ‘footer-1’ => __(‘Footer Menu 1’, ‘theme_translation_domain’), )); } … Read more

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