/*
* The template for displaying Author Archive pages
*/
global $wp_query;
$gantry = Gantry::instance();
/** @var Theme $theme */
$theme = $gantry['theme'];
// We need to render contents of <head> before plugin content gets added.
$context = Timber::get_context();
$context['page_head'] = $theme->render('partials/page_head.html.twig', $context);
$context['posts'] = Timber::get_posts();
if (isset($authordata)) {
$author = new User($authordata->ID);
$context['author'] = $author;
$context['title'] = __('Author:', 'g5_studius') . ' ' . $author->name();
}
Timber::render(['author.html.twig', 'archive.html.twig', 'index.html.twig'], $context);
/*
* The template for displaying Author Archive pages
*/
global $wp_query;
$gantry = Gantry::instance();
/** @var Theme $theme */
$theme = $gantry['theme'];
// We need to render contents of <head> before plugin content gets added.
$context = Timber::get_context();
$context['page_head'] = $theme->render('partials/page_head.html.twig', $context);
$context['posts'] = Timber::get_posts();
if (isset($authordata)) {
$author = new User($authordata->ID);
$context['author'] = $author;
$context['title'] = __('Author:', 'g5_studius') . ' ' . $author->name();
}
Timber::render(['author.html.twig', 'archive.html.twig', 'index.html.twig'], $context);
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Key | Value |
SERVER_SOFTWARE | Apache |
REQUEST_URI | /403.shtml/ |
LSPHP_ENABLE_USER_INI | on |
PATH | /usr/local/bin:/usr/bin:/bin |
TEMP | /tmp |
TMP | /tmp |
TMPDIR | /tmp |
PWD | / |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
CONTENT_LENGTH | 0 |
HTTP_HOST | tuffstake.com |
HTTP_REFERER | https://tuffstake.com/403.shtml |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_X_FORWARDED_FOR | 216.73.216.136 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_REAL_IP | 216.73.216.136 |
HTTP_X_SUCURI_CLIENTIP | 216.73.216.136 |
HTTP_X_SUCURI_COUNTRY | US |
HTTP_X_HTTPS | 1 |
REDIRECT_REDIRECT_UNIQUE_ID | aLPeTwUO6n-NwGZvyGtGUgAAAaQ |
REDIRECT_REDIRECT_SCRIPT_URL | /403.shtml/ |
REDIRECT_REDIRECT_SCRIPT_URI | https://tuffstake.com/403.shtml/ |
REDIRECT_REDIRECT_USER_ID | 3605204 |
REDIRECT_REDIRECT_REQUEST_METHOD | GET |
REDIRECT_REDIRECT_STATUS | 403 |
REDIRECT_UNIQUE_ID | aLPeTwUO6n-NwGZvyGtGUgAAAaQ |
REDIRECT_SCRIPT_URL | /403.shtml/ |
REDIRECT_SCRIPT_URI | https://tuffstake.com/403.shtml/ |
REDIRECT_USER_ID | 3605204 |
REDIRECT_UPGRADE | |
REDIRECT_HTTP_AUTHORIZATION | |
REDIRECT_HTTPS | on |
REDIRECT_SSL_TLS_SNI | tuffstake.com |
REDIRECT_STATUS | 403 |
UNIQUE_ID | aLPeTwUO6n-NwGZvyGtGUgAAAaQ |
SCRIPT_URL | /403.shtml/ |
SCRIPT_URI | https://tuffstake.com/403.shtml/ |
USER_ID | 3605204 |
UPGRADE | |
HTTP_AUTHORIZATION | |
HTTPS | on |
SSL_TLS_SNI | tuffstake.com |
SERVER_SIGNATURE | |
SERVER_NAME | tuffstake.com |
SERVER_ADDR | 132.148.208.187 |
SERVER_PORT | 443 |
REMOTE_ADDR | 66.248.200.9 |
DOCUMENT_ROOT | /home/shinnymoon/public_html/tuffstakes |
REQUEST_SCHEME | https |
CONTEXT_PREFIX | |
CONTEXT_DOCUMENT_ROOT | /home/shinnymoon/public_html/tuffstakes |
SERVER_ADMIN | webmaster@tuffstake.com.grizzlysolution.com |
SCRIPT_FILENAME | /home/shinnymoon/public_html/tuffstakes/index.php |
REMOTE_PORT | 13460 |
REDIRECT_URL | /403.shtml |
SERVER_PROTOCOL | HTTP/1.1 |
REQUEST_METHOD | GET |
QUERY_STRING | |
SCRIPT_NAME | /index.php |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1756618319.8738 |
REQUEST_TIME | 1756618319 |