Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/geniouskin/wp-content/themes/ixlab/ |
Upload File : |
<?php /** * The template for displaying search */ defined( 'ABSPATH' ) or die(); $paged = max( 1, get_query_var( 'paged', 1 ) ); $posts_per_page = (int) get_query_var( 'posts_per_page', get_option( 'posts_per_page' ) ); $index = 1 + ( ( $paged - 1 ) * $posts_per_page ); ?> <?php get_header() ?> <?php if ( have_posts() ): ?> <?php get_search_form() ?> <div class="search-results"> <?php while ( have_posts() ): the_post(); ?> <article <?php post_class( 'post' ) ?> id="post-<?php echo esc_attr( get_the_ID() ) ?>"> <a href="<?php the_permalink() ?>"> <span class="post-index"> <?php echo (int) $index++ ?> </span> <p class="post-title"> <span class="post-title-inner"><?php the_title() ?></span> <span class="post-date"><?php echo esc_html( get_the_date( get_option( 'date_format' ) ) ) ?></span> </p> </a> </article> <?php endwhile ?> </div> <?php ixlab_pagination() ?> <?php else: ?> <div class="search-no-results"> <p><?php esc_html_x( 'Sorry, no posts matched your criteria. Please try another search', 'frontend', 'ixlab' ) ?></p> </div> <?php get_search_form() ?> <h3 class="titleTag"><?php esc_html_e( 'Search for tagged:', 'ixlab' ) ?></h3> <div class="wp-block-tag-cloud"> <?php $tags = get_tags(); foreach ( $tags as $tag ) : $tag_link = get_tag_link( $tag->term_id ); ?> <a href='<?php echo esc_attr( $tag_link ); ?>' title='<?php echo esc_attr( $tag->name ); ?>' class='<?php echo esc_attr( $tag->slug ) ?>'><?php echo esc_html( $tag->name ) ?></a> <?php endforeach; ?> </div> <?php endif ?> <?php get_footer() ?>