/*
* 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 | /author/admin/ |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
CONTENT_LENGTH | 0 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /author/admin/ |
REMOTE_PORT | 42688 |
SCRIPT_FILENAME | /home/luxuryguy/luxurybajahomes.com/index.php |
SERVER_ADMIN | webmaster@luxurybajahomes.com |
CONTEXT_DOCUMENT_ROOT | /home/luxuryguy/luxurybajahomes.com |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /home/luxuryguy/luxurybajahomes.com |
REMOTE_ADDR | 35.168.113.248 |
SERVER_PORT | 443 |
SERVER_ADDR | 75.119.200.19 |
SERVER_NAME | www.luxurybajahomes.com |
SERVER_SIGNATURE | |
HTTP_HOST | www.luxurybajahomes.com |
HTTP_REFERER | http://www.luxurybajahomes.com/author/admin/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
SSL_TLS_SNI | www.luxurybajahomes.com |
HTTPS | on |
H2_STREAM_TAG | 74338-12-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
HTTP_AUTHORIZATION | |
DH_USER | luxuryguy |
ds_id_42881207 | |
dsid | 42881207 |
SCRIPT_URI | https://www.luxurybajahomes.com/author/admin/ |
SCRIPT_URL | /author/admin/ |
QS_ConnectionId | 17116898487008067974338 |
UNIQUE_ID | ZgZQeDgGviCr7nmnaZkIzwAnbg8 |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.luxurybajahomes.com |
REDIRECT_HTTPS | on |
REDIRECT_H2_STREAM_TAG | 74338-12-3 |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
REDIRECT_HTTP_AUTHORIZATION | |
REDIRECT_DH_USER | luxuryguy |
REDIRECT_ds_id_42881207 | |
REDIRECT_dsid | 42881207 |
REDIRECT_SCRIPT_URI | https://www.luxurybajahomes.com/author/admin/ |
REDIRECT_SCRIPT_URL | /author/admin/ |
REDIRECT_QS_ConnectionId | 17116898487008067974338 |
REDIRECT_UNIQUE_ID | ZgZQeDgGviCr7nmnaZkIzwAnbg8 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711689848.9095 |
REQUEST_TIME | 1711689848 |
Key | Value |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
CONTENT_LENGTH | 0 |
HTTP_CONNECTION | close |
SCRIPT_NAME | /index.php |
REQUEST_URI | /author/admin/ |
QUERY_STRING | |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/2.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_URL | /author/admin/ |
REMOTE_PORT | 42688 |
SCRIPT_FILENAME | /home/luxuryguy/luxurybajahomes.com/index.php |
SERVER_ADMIN | webmaster@luxurybajahomes.com |
CONTEXT_DOCUMENT_ROOT | /home/luxuryguy/luxurybajahomes.com |
CONTEXT_PREFIX | |
REQUEST_SCHEME | https |
DOCUMENT_ROOT | /home/luxuryguy/luxurybajahomes.com |
REMOTE_ADDR | 35.168.113.248 |
SERVER_PORT | 443 |
SERVER_ADDR | 75.119.200.19 |
SERVER_NAME | www.luxurybajahomes.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | |
HTTP_HOST | www.luxurybajahomes.com |
HTTP_REFERER | http://www.luxurybajahomes.com/author/admin/ |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
SSL_TLS_SNI | www.luxurybajahomes.com |
HTTPS | on |
H2_STREAM_TAG | 74338-12-3 |
H2_STREAM_ID | 3 |
H2_PUSHED_ON | |
H2_PUSHED | |
H2_PUSH | off |
H2PUSH | off |
HTTP2 | on |
HTTP_AUTHORIZATION | |
DH_USER | luxuryguy |
ds_id_42881207 | |
dsid | 42881207 |
SCRIPT_URI | https://www.luxurybajahomes.com/author/admin/ |
SCRIPT_URL | /author/admin/ |
QS_ConnectionId | 17116898487008067974338 |
UNIQUE_ID | ZgZQeDgGviCr7nmnaZkIzwAnbg8 |
REDIRECT_STATUS | 200 |
REDIRECT_SSL_TLS_SNI | www.luxurybajahomes.com |
REDIRECT_HTTPS | on |
REDIRECT_H2_STREAM_TAG | 74338-12-3 |
REDIRECT_H2_STREAM_ID | 3 |
REDIRECT_H2_PUSHED_ON | |
REDIRECT_H2_PUSHED | |
REDIRECT_H2_PUSH | off |
REDIRECT_H2PUSH | off |
REDIRECT_HTTP2 | on |
REDIRECT_HTTP_AUTHORIZATION | |
REDIRECT_DH_USER | luxuryguy |
REDIRECT_ds_id_42881207 | |
REDIRECT_dsid | 42881207 |
REDIRECT_SCRIPT_URI | https://www.luxurybajahomes.com/author/admin/ |
REDIRECT_SCRIPT_URL | /author/admin/ |
REDIRECT_QS_ConnectionId | 17116898487008067974338 |
REDIRECT_UNIQUE_ID | ZgZQeDgGviCr7nmnaZkIzwAnbg8 |
FCGI_ROLE | RESPONDER |