33
Validation results

Agencia

Agencia

WordPress 5.6 theme
33
  • THEME TYPEWordPress theme 5.6
  • FILE NAMEagencia.zip
  • FILE SIZE5145344 bytes
  • MD56080bfd6462164aff9d88cb6a174e815
  • SHA15dd6c304b63c2a81124abc21ef6c19143a7c6273
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, HTML, Bitmap images
  • VERSION0.1
  • CREATION DATE2020-11-23
  • LAST FILE UPDATE2020-11-23
  • LAST VALIDATION2020-11-23 20:19
  • OTHER VERSIONS

    1.0.0 : 57%

This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Comment reply : Declaration of comment reply Could not find the comment-reply js script enqueued.
  2. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'All our posts' in file front-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Your comment is awaiting moderation.' in file CommentWalker.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.' in file CommentWalker.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Theme appearance' in file apparence.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Name' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Email' in file comments.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Comment', 'noun' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments '%1$s at %2$s' in file comment.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Edit' in file comment.php.Found a translation function that is missing a text-domain. Function _n, with the arguments '%d Commentaire', '%d Commentaires' in file comments.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are agencia, agence, floor.
  3. PHP short tags : Presence of PHP short tagsPHP short tags were found in file index.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne11: <?= sprintf(__('Search results for '%s'', 'agencia'), get_search_query()); 
    Ligne25: <?= agencia_paginate() ?>
    Ligne28: <h2><?= __('No posts found', 'agencia') ?></h2>
    PHP short tags were found in file front-page.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne19: <?= get_the_post_thumbnail($property, 'property-thumbnail-home') ?>
    Ligne21: <div class='highlighted__title'><a href='<?php the_permalink($property) ?>'><?= get_the_title($property) ?></a></div>
    Ligne60: <?= get_the_post_thumbnail($property, 'property-thumbnail-home') ?>
    Ligne62: <div class='highlighted__title'><a href='<?php the_permalink($property) ?>'><?= get_the_title($property) ?></a></div>
    Ligne71: <a class='push-properties__action btn' href='<?= get_post_type_archive_link('property') ?>'>
    Ligne72: <?= __('Browser our properties', 'agencia') ?>
    Ligne73: <?= agencia_icon('arrow'); ?>
    Ligne94: <a class='quote__action btn' href='<?= $action['url'] ?>'>
    Ligne95: <?= $action['title']; ?>
    Ligne96: <?= agencia_icon('arrow') ?>
    Ligne119: <img src='<?= get_sub_field('background')['sizes']['post-thumbnail-home'] ?>'>
    Ligne122: <?= __('Read all our posts<br>about real estate', 'agencia') ?>
    Ligne124: <a href='<?= get_post_type_archive_link('post') ?>' class='news-overlay__btn btn'>
    Ligne125: <?= __('All our posts') ?>
    Ligne126: <?= agencia_icon('arrow') ?>
    Ligne149: <button type='submit' class='btn'><?= __('Signup', 'agencia') ?></button>
    PHP short tags were found in file archive-property.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne10: <?= __('All our properties', 'agencia') ?>
    Ligne12: <?= __('for rent', 'agencia') ?>
    Ligne14: <?= __('on sale', 'agencia') ?>
    Ligne38: <?= agencia_paginate() ?>
    Ligne41: <?= $nextPostLink ?>
    PHP short tags were found in file header.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne11: <a href='<?= home_url('/'); ?>' class='nav__logo' title='<?= __('Homepage', 'agencia
    Ligne12: <img src='<?= get_theme_mod('logo') ?>' alt=''>
    PHP short tags were found in file social.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne36: <label for='<?= $this->get_field_id($field) ?>'><?= esc_html($label) ?></label>
    Ligne40: name='<?= $this->get_field_name($field) ?>'
    Ligne41: id='<?= $this->get_field_id($field) ?>'
    Ligne42: value='<?= esc_attr($value) ?>'
    PHP short tags were found in file single.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne14: <a class='news__tag' href='<?= get_term_link($categories[0]) ?>'><?= $categories[0]->name ?></a>
    Ligne16: <div class='news__date'><?= sprintf(__('Published on %s at %s', 'agencia'), get_the_date(), get_the
    Ligne22: <?= the_post_thumbnail('large'); ?>
    PHP short tags were found in file single-property.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne8: <h1 class='bien__title'><?php the_title(); ?> - <?= the_field('surface'); ?>m²</h1>
    Ligne19: <?= do_shortcode('[contact-form-7 id='116' title='' html_class='bien__form 
    Ligne26: <a href='<?= wp_get_attachment_url($image->ID) ?>'>
    Ligne27: <img class='bien__photo' src='<?= wp_get_attachment_image_url($image->ID, 'property-carousel'); ?>' alt='
    Ligne38: <h2 class='bien-body__title'><?= __('Description', 'agencia'); ?></h2>
    Ligne46: <img src='<?= get_template_directory_uri() ?>/assets/area.78237e19.svg' alt=''> 
    Ligne47: <?= __('Surface', 'agencia') ?> <?php the_field('surface') ?>m²
    Ligne50: <img src='<?= get_template_directory_uri() ?>/assets/rooms.b02e3d15.svg' alt=''> 
    Ligne51: <?= __('Rooms', 'agencia') ?>: <?php the_field('rooms'); ?>
    Ligne54: <img src='<?= get_template_directory_uri() ?>/assets/elevator.e0bdbd67.svg' alt=''>
    Ligne55: <?= __('Floor', 'floor') ?>: <?php the_field('floor') ?>
    Ligne59: <div class='bien-option'><img src='<?= the_field('icon', $option); ?>' alt=''> 
    Ligne60: <?= $option->name; ?>
    PHP short tags were found in file social.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne8: <div class='footer__credits'><?= esc_html($instance['credits']) ?></div>
    Ligne12: <a href='<?= esc_url($instance[$name]) ?>' title='<?= sprintf(esc_attr('Nous suivre 
    Ligne13: <?= agencia_icon($name) ?>
    PHP short tags were found in file post.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne2: <a href='<?php the_permalink() ?>' title='<?= esc_attr(get_the_title()) ?>' class='news__image'>
    Ligne15: <a class='news__tag' href='<?= get_term_link($categories[0]) ?>'><?= $categories[0]->name ?></a>
    Ligne18: <div class='news__date'><?= sprintf(__('Published on %s at %s', 'agencia'), get_the_date(), get_the
    Ligne25: <?= agencia_icon('arrow') ?>
    PHP short tags were found in file searchform-property.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne14: <form action='<?= get_post_type_archive_link('property') ?>' class='search-form__form'>
    Ligne18: <input class='form-check-input' <?php checked(!$isRent) ?> type='radio' name='property_category' id='<?= _x('buy', 'URL', 'agence') ?>' value='<?= _x('buy', 'URL', 'agence') ?>
    Ligne19: <label class='form-check-label' for='<?= _x('buy', 'URL', 'agence') ?>'><?= __('Buy', 'agencia') ?></label>
    Ligne22: <input class='form-check-input' <?php checked(!$isRent) ?> type='radio' name='property_category' id='<?= _x('rent', 'URL', 'agence') ?>' value='<?= _x('rent', 'URL', 'agence') 
    Ligne23: <label class='form-check-label' for='<?= _x('rent', 'URL', 'agence') ?>'><?= __('Rent', 'agencia') ?></label>
    Ligne29: <option value=''><?= __('All cities', 'agencia') ?></option>
    Ligne31: <option value='<?= $city->slug ?>' <?php selected($city->slug, $currentCity) ?>><?= $city-
    Ligne34: <label for='city'><?= __('City', 'agencia') ?></label>
    Ligne37: <input type='number' class='form-control' id='budget' placeholder='100 000 €' name='price' value='<?= esc_attr($currentPrice) ?>'>
    Ligne38: <label for='budget'><?= __('Budget', 'agencia') ?></label>
    Ligne42: <option value=''><?= __('All types', 'agencia') ?></option>
    Ligne44: <option value='<?= $type->slug ?>' <?php selected($type->slug, $currentType) ?>><?= $type-
    Ligne47: <label for='property_type'><?= __('Type', 'agencia') ?></label>
    Ligne50: <input type='number' name='rooms' class='form-control' id='rooms' placeholder='4' value='<?= esc_attr($currentRooms) ?>'>
    Ligne51: <label for='rooms'><?= __('Rooms', 'agencia') ?></label>
    Ligne53: <button type='submit' class='btn btn-filled'><?= __('Search', 'agencia') ?></button>
    PHP short tags were found in file property.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne4: <a class='property <?php if ($large === true) { echo 'property--large'; } ?>' href='<?php the_permalink() ?>' title='<?= esc_attr(get_the_title()) ?>'>
    PHP short tags were found in file comment.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne1: <<?= $tag ?> id='comment-<?php comment_ID(); ?>' <?php comment_class('commen
    Ligne2: <?= get_avatar($comment, 120, '', '', ['class' => 'comment__avatar']); ?>
    Ligne5: <div class='comment__username'><?= get_comment_author_link($comment) ?></div>
    PHP short tags were found in file searchform.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne1: <form action='<?= esc_url(home_url('/')) ?>' class='form-group form-search'>
    Ligne2: <input type='search' placeholder='<?= __('Search post', 'agencia') ?>' name='s' value='<?= get_search_query()
    Ligne4: <?= agencia_icon('search'); ?>
    PHP short tags were found in file comments.php. "This practice is discouraged because they are only available if enabled with short_open_tag php.ini configuration file directive, or if PHP was configured with the --enable-short-tags option" (php.net), which is not the case on many servers.
    Ligne8: <?= sprintf(_n('%d Commentaire', '%d Commentaires', $count), $count); ?>
    Ligne10: <?= __('Leave a reply', 'agencia'); ?>
  4. Fundamental theme elements : Presence of language_attributes()Could not find .
  5. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  6. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  7. Fundamental theme elements : Presence of post_class()Could not find post_class.
  8. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  9. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  10. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  11. CSS files : Presence of theme descriptionDescription is missing from style.css header.
  12. CSS files : Presence of theme authorAuthor: is missing from style.css header.
  13. CSS files : Presence of license typeLicense: is missing from style.css header.
  14. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  15. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  16. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  17. CSS files : Presence of .alignleft class.alignleft css class is needed in theme css.
  18. CSS files : Presence of .alignright class.alignright css class is needed in theme css.
  19. CSS files : Presence of .aligncenter class.aligncenter css class is needed in theme css.
  20. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  21. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  22. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  23. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  24. CSS files : Presence of Theme URICould not find Theme URL.
  25. CSS files : Presence of Author URICould not find Author URI.
  26. Tags : Tags displayThis theme doesn't seem to display tags.
  27. Screenshot : Screenshot fileBad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  3. Optional files : Presence of page template file page.phpThis theme does not contain optional file page.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  10. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  11. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  12. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  13. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  14. Use of includes : Use of include or requireThe theme appears to use include or require : social.php
    Ligne26: include($template);
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : CommentWalker.php
    Ligne27: include($template);
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : menus.php
    Ligne6: require_once('widgets/social.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : comments.php
    Ligne2: require_once('inc/walkers/CommentWalker.php'); 
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes