@lang('tools.wordpressDetectorTitle')
@lang('common.getInfo')
@if (isset($results))
@if ($theme)
{{ $tool->name }} {{ $theme->name ?? '' }}
@lang('common.demo') @if (!empty($theme->download_link)) @lang('common.download') @endif

{{ $theme->name ?? '' }}

@lang('common.version'): {{ $theme->version ?? '-' }}
@if (!empty($theme->last_updated_time))
@lang('common.lastUpdated'): {{ \Carbon\Carbon::parse($theme->last_updated_time)->diffForHumans() }}
@endif
@lang('common.author'): @if (!empty($theme->author_uri)) {{ $theme->author_name ?? $theme->author }} @else {{ $theme->author_name ?? $theme->author }} @endif
@if (!empty($theme->rating))
@lang('common.rating'):
★★★★★
★★★★★
@if (!empty($theme->num_ratings)) ({{ format_number($theme->num_ratings) }}) @endif
@endif
@lang('common.description'):
{!! $theme->description !!}
@lang('common.license'): {{ $theme->license }}
@lang('common.licenseUri'): {{ $theme->license_uri }}
@if (!empty($theme->downloaded))
@lang('common.downloaded'): {{ format_number($theme->downloaded) }}
@endif
@if (is_array($theme->tags) && count($theme->tags) > 0)
@lang('admin.tags'):
@foreach ($theme->tags as $tag) {{ Str::of($tag)->trim()->title() }} @endforeach
@endif
@else
@lang('tools.notFoundOrUsingCustomTheme', ['host' => $results['hostname']])
@endif

@lang('tools.numberOfPluginsFound', ['count' => count($plugins)])

@forelse ($plugins as $plugin)
{!! $plugin->name !!}

{!! $plugin->name !!}

@if (isset($plugin->rating))
★★★★★
★★★★★
@if (!empty($plugin->num_ratings)) ({{ format_number($plugin->num_ratings) }}) @endif
@endif

{!! $plugin->description !!}

@if (!empty($plugin->type)) {{ $plugin->type }} @endif
@if (!empty($plugin->download_link)) @lang('common.download') @if (!empty($plugin->homepage)) @lang('tools.learnMore') @endif @else name} Wordpress plugin") }}" class="btn btn-primary rounded-pill mt-3" target="_blank">@lang('tools.searchPlugin') @endif
@empty
@lang('tools.noPluginsFound')
@endforelse
@endif