/** * Prints HTML with meta information for the categories, tags and comments. */ function fedora_id_entry_footer() { // Hide category and tag text for pages. if ('post' == get_post_type()) { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list(esc_html__(', ', 'fedora-id')); if ($categories_list && fedora_id_categorized_blog()) { printf('<i class="mdi-action-loyalty"></i>' . esc_html__('Posted in %1$s', 'fedora-id') . '', $categories_list); // WPCS: XSS OK. } /* translators: used between list items, there is a space after the comma */ $tags_list = get_the_tag_list('', esc_html__(', ', 'fedora-id')); if ($tags_list) { printf('<i class="mdi-content-flag"></i>' . esc_html__('%1$s', 'fedora-id') . '', $tags_list); // WPCS: XSS OK. } } if (!is_single() && !post_password_required() && (comments_open() || get_comments_number())) { echo '<p><i class="mdi-communication-forum"></i>'; comments_popup_link(esc_html__('Leave a comment', 'fedora-id'), esc_html__('1 Comment', 'fedora-id'), esc_html__('% Comments', 'fedora-id')); echo '</p>'; } // edit_post_link( esc_html__( 'Edit', 'fedora-id' ), '<span class="edit-link">', '</span>' ); }
</h3> </header><!-- .page-header --> <div class="page-content"> <p><?php esc_html_e('It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'fedora-id'); ?> </p> <?php get_search_form(); ?> <?php if (fedora_id_categorized_blog()) { // Only show the widget if site has multiple categories. ?> <?php } ?> </div><!-- .page-content --> </section><!-- .error-404 --> </div> </div> </div> <div class="fixed-action-btn" style="bottom: 45px; right: 24px;"> <a class="btn-floating btn-large blue" href="<?php