modules/QSL/WordPress/templates/web/customer/modules/QSL/WordPress/blog/body.twig line 1

Open in your IDE?
  1. {##
  2.  # WordPress in X-Cart 5 (Main template)
  3.  #}
  4. <div class="blog">
  5.   {% if this.wpxc().isWPNotInstalled() %}
  6.     {% if not this.wpxc().isWPNotDownloaded() and (this.wpxc().isWPNotConfigured() or not this.wpxc().checkWPconfig()) %}
  7.       <h2 class="title">{{ t('Problem with wp-config.php file') }}</h2>
  8.       <div>{{ t('Please, check wp-config.php file of WordPress') }}</div>
  9.     {% elseif this.isInstallationWizardAvailable() %}
  10.       <h2 class="title">{{ t('Installation wizard') }}</h2>
  11.       <div>{{ t('To install WordPress in your store, please follow these steps') }}</div>
  12.       <hr />
  13.       {{ widget('QSL\\WordPress\\View\\Plugins\\InstallWizard') }}
  14.     {% else %}
  15.       <h2 class="page-not-found">{{ t('Page not available') }}</h2>
  16.       {{ t('Please contact the administrator') }}
  17.     {% endif %}
  18.   {% else %}
  19.     <div class="wpblog">{{ this.loadWP() | raw }}</div>
  20.   {% endif %}
  21. </div>