Skip to content

Instantly share code, notes, and snippets.

Simon Prosser Pross

Block or report user

Report or block Pross

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View resource-loop.php
<?php
$resource = pods('resource', get_the_id());
$short_description = $resource->display('short_description');
$item_reference_link = $resource->display('item_reference_link');
$button_text = $resource->display('button_text');
$button_icon = $resource->display('button_icon');
$preview_image = $resource->display('preview_image');
var_dump($button_icon);
View domain.com.conf
upstream php {
server 127.0.0.1:9001;
}
upstream hhvm {
server 127.0.0.1:9002;
}
fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=microcache_fpm:100m max_size=1000m;
add_header rt-Fastcgi-Cache $upstream_cache_status;
You can’t perform that action at this time.