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

Version Path
edge_framework-2.1.1 template/wordpress/index.php
edge_framework-2.1.0 template/wordpress/index.php
edge_framework-2.0.0 template/wordpress/index.php
edge_framework-2.0.0.a template/wordpress/index.php
edge_framework-1.4.1 template/wordpress/index.php
edge_framework-1.4.0 template/wordpress/index.php
edge_framework-1.3.6 template/wordpress/index.php
edge_framework-1.3.5 template/wordpress/index.php
edge_framework-1.3.3 template/wordpress/index.php