Sha256: 1035ffcd9a4b8a8d6f9f36dd019cd27dc66d97afc88e6bafa0ac2ef2bb3ff0f7
Contents?: true
Size: 528 Bytes
Versions: 9
Compression:
Stored size: 528 Bytes
Contents
<?php // If Timber not installed or not activated if (!class_exists("Timber") ) { echo "Timber not activated. <a href='" . admin_url("plugin-install.php?tab=search&type=term&s=Timber+Library&plugin-search-input=Search+Plugins") . "'>Install</a> or <a href='" . admin_url("plugins.php#timber") . "'>Activate it</a> via Admin Panel</a>"; return; } $context = Timber::get_context(); $context["posts"] = Timber::get_posts(); $context["pagination"] = Timber::get_pagination(); Timber::render("index.twig", $context);
Version data entries
9 entries across 9 versions & 1 rubygems