<?= get_field("difficulty")["label"]; ?>
</div>
<div class="cell small-12 medium-1 detail materials">
<h2><img src="<?= THEME_URI; ?>/images/icons/materials.svg">Materials</h2>
<?= get_field("materials"); ?>
</div>
<div class="cell small-12 medium-1 detail teacher-pack">
<h2>Teacher Pack</h2>
<?= get_field("teacher_pack") ? "YES" : "NO"; ?>
</div>
<div class="cell small-12 medium-1 detail links">
<h2>Links</h2>
<?php if( have_rows("links") ) :
while( have_rows("links") ):
the_row();
$link = get_sub_field("link"); ?>
<a href="<?= $link["url"]; ?>" target="<?= $link["target"] ?>"><?= $link["title"]; ?></a>
<?php endwhile;
endif; ?>
<?php if( get_field("credits") ) : ?>
Credit: <?= get_field("credits"); ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</article>
</div>
<?php endwhile; endif; ?>
</div>
<?php get_footer(); ?>
"Cannot access offset of type string on string"
}
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';
}
"/home/stem-dev/webapps/stem-caa-co-uk/web/wp/wp-includes/template-loader.php"
<?php
/**
* WordPress View Bootstrapper
*/
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
"/home/stem-dev/webapps/stem-caa-co-uk/web/wp/wp-blog-header.php"
Key | Value |
SERVER_SOFTWARE | "Apache/2.4.62 (Unix) OpenSSL/1.1.1f"
|
REQUEST_URI | "/resource/what-flies/"
|
USER | "stem-dev"
|
HOME | "/home/stem-dev"
|
SCRIPT_NAME | "/index.php"
|
QUERY_STRING | "" |
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/1.0"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REDIRECT_URL | "/resource/what-flies/"
|
REMOTE_PORT | "56660"
|
SCRIPT_FILENAME | "/home/stem-dev/webapps/stem-caa-co-uk/web/index.php"
|
SERVER_ADMIN | "you@example.com"
|
CONTEXT_DOCUMENT_ROOT | "/home/stem-dev/webapps/stem-caa-co-uk/web/"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "http"
|
DOCUMENT_ROOT | "/home/stem-dev/webapps/stem-caa-co-uk/web/"
|
REMOTE_ADDR | "3.145.81.210"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "127.0.0.1"
|
SERVER_NAME | "stem.caa.co.uk"
|
SERVER_SIGNATURE | "" |
LD_LIBRARY_PATH | "/RunCloud/Packages/apache2-rc/lib"
|
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|
HTTP_REFERER | "https://stem.caa.co.uk/resource/what-flies"
|
HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_ACCEPT | "*/*"
|
HTTP_CONNECTION | "close"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_X_FORWARDED_FOR | "3.145.81.210"
|
HTTP_X_SERVER_ADDR | "138.68.145.173"
|
HTTP_HOST | "stem.caa.co.uk"
|
HTTP_AUTHORIZATION | "" |
HTTPS | "on"
|
REDIRECT_STATUS | "200"
|
REDIRECT_HTTP_AUTHORIZATION | "" |
REDIRECT_HTTPS | "on"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1734786840.8099
|
REQUEST_TIME | 1734786840
|
DB_NAME | "stem_caa"
|
DB_USER | "stem_caa"
|
DB_PASSWORD | "8qrlpHD0"
|
WP_ENV | "production"
|
WP_HOME | "https://stem.caa.co.uk"
|
WP_SITEURL | "https://stem.caa.co.uk/wp"
|
WP_DEBUG_LOG | "/web/app/debug.log"
|
AUTH_KEY | "vShSSX=3N#}a3bgUh[[?&/Ro1px/R(p=5LL;NFRfZVS7oU-^9=f6pcM@NX3Js>KX"
|
SECURE_AUTH_KEY | "lvf:#Ncj9OWI)r7L1}rWWaCU|_5q1QF7A]oJcfw0PGc%@6a=/Gxs5*PwTFPe,;dl"
|
LOGGED_IN_KEY | "W5A!<iW*PRV&w?vR}8zf#_jb5mm`Q6U|zV(aglmE8]h8n[/!=HV[u@Ovf[-FkH|%"
|
NONCE_KEY | "-HPO85$R<A5^mt&h4[dgA.^V=T&Z}.]sLB*Ub0N6xs`LShLY8/Ho7]M?ogNRxp/<"
|
AUTH_SALT | "9zN*tbU,0+w?wi34B.Jhg[usE?-6;B+ox[6iGF1hhieH/+0.kEPt>0O;$!l,@/K7"
|
SECURE_AUTH_SALT | "j,Bo:^!sgcCy[j:w[-%%>f>%sjTUGH2s?vdH]iBALeYaGp&DiIp28!etvO!{kgF["
|
LOGGED_IN_SALT | "-g?Cp[no6$7if.1y14Fgi>oMyTG#Y6`3*5L{aKlmY}2zs+ihuO>6A:,dxz`Ns)Zd"
|
NONCE_SALT | "id+#y8$yeCv!Jl).a2bo]ci6{}4^q>a*XKmyVglL}orJPUZR.N]h0LSWCO-{s<6Q"
|
Key | Value |
DB_NAME | "stem_caa"
|
DB_USER | "stem_caa"
|
DB_PASSWORD | "8qrlpHD0"
|
WP_ENV | "production"
|
WP_HOME | "https://stem.caa.co.uk"
|
WP_SITEURL | "https://stem.caa.co.uk/wp"
|
WP_DEBUG_LOG | "/web/app/debug.log"
|
AUTH_KEY | "vShSSX=3N#}a3bgUh[[?&/Ro1px/R(p=5LL;NFRfZVS7oU-^9=f6pcM@NX3Js>KX"
|
SECURE_AUTH_KEY | "lvf:#Ncj9OWI)r7L1}rWWaCU|_5q1QF7A]oJcfw0PGc%@6a=/Gxs5*PwTFPe,;dl"
|
LOGGED_IN_KEY | "W5A!<iW*PRV&w?vR}8zf#_jb5mm`Q6U|zV(aglmE8]h8n[/!=HV[u@Ovf[-FkH|%"
|
NONCE_KEY | "-HPO85$R<A5^mt&h4[dgA.^V=T&Z}.]sLB*Ub0N6xs`LShLY8/Ho7]M?ogNRxp/<"
|
AUTH_SALT | "9zN*tbU,0+w?wi34B.Jhg[usE?-6;B+ox[6iGF1hhieH/+0.kEPt>0O;$!l,@/K7"
|
SECURE_AUTH_SALT | "j,Bo:^!sgcCy[j:w[-%%>f>%sjTUGH2s?vdH]iBALeYaGp&DiIp28!etvO!{kgF["
|
LOGGED_IN_SALT | "-g?Cp[no6$7if.1y14Fgi>oMyTG#Y6`3*5L{aKlmY}2zs+ihuO>6A:,dxz`Ns)Zd"
|
NONCE_SALT | "id+#y8$yeCv!Jl).a2bo]ci6{}4^q>a*XKmyVglL}orJPUZR.N]h0LSWCO-{s<6Q"
|