Create secondary Archive page format?

You could copy the contents of your current archive page file into a new file, then tweak the functionality there into what you need it to do. At the top of the file, give it a template name like this: /* Template Name: Short Archive */ Now you can create a new page and select … Read more

How to Completely Remove Archive Title a.k.a the_archive_title?

You can add the following function in the functions.php of your child theme. add_filter(‘get_the_archive_title’, ‘my_get_the_archive_title’ ); function my_get_the_archive_title( $title ) { if ( is_category() ) { $title = single_cat_title( ”, false ); } elseif ( is_tag() ) { $title = single_tag_title( ”, false ); } elseif ( is_author() ) { $title=”<span class=”vcard”>” . get_the_author() . … Read more

Pagination not working past page 3 on archive page of category

I had a similar issue and maybe this is also helpful when pagination is only working sometimes: e.g. /page/1/ and /page/2/ are working and /page/3/ not. Result: Error 404. Problem is: default value (12 items each page) for posts_per_page (WordPress Settings/Reading) is loaded always from database before the template is loaded. So $args=[‘posts_per_page’ => 1] … Read more

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