Display archives based in post_format

No, you cannot define your own post formats. This is on purpose. The post formats are supposed to be standards, so theme developers can include styles for them. That wouldn’t work if people start making their own formats. Essentially post formats are just a custom taxonomy added to posts. So testing for post format archive … 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

How can I noindex my archive pages?

This worked ok for me, putting this function into a vanilla build using TwentyTwenty? I see the output in the Head. Its very crude but inside your IF statement, add some form of simple debug, either var_dump() a string out or Javascript console.log. You’re testing to make sure the IF is activating when you think … Read more

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