• After upgrade to 5.9, the “Archive” block has started adding a title, “Archives”. On examining the HTML code, there is a class missing from the 5.9 version, see below.

    Before upgrade:
    <aside id="block-13" class="widget widget_block widget_archive"><div class=" wp-block-archives-dropdown"><label class="screen-reader-text" for="wp-block-archives-61f2ddc72ff4f">Archives</label>

    After upgrade:
    <aside id="block-13" class="widget widget_block widget_archive"><div class=" wp-block-archives-dropdown wp-block-archives"><label for="wp-block-archives-61f2dcbd374b6">Archives</label>

    Note the missing “screen-reader-text” class declaration in “label”. Adding it back causes the title to disappear. In the meantime, have added the following to Additional CSS in the customizer give the same result.

    /* Lose the title associated with the "archive" block */
    .wp-block-archives label { display:none}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress 5.9 Archive Block’ is closed to new replies.