Download the PHP package ssnepenthe/hestia without Composer

On this page you can find all versions of the php package ssnepenthe/hestia. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package hestia

hestia

This WordPress plugin introduces a number of shortcodes for listing related posts based on post hierarchy.

Requirements

PHP 5.6 or greater and Composer.

Installation

Install using Composer:

Usage

Once the plugin has been activated you will have access to the following shortcodes:

ancestors

Lists all post ancestors of the current post.

Accepts the following attributes:

Example: [ancestors order="DESC" thumbnails="true"]

attachments

Lists all media that has been directly attached to the current post.

Accepts the following attributes:

Example: [attachments link="FILE" max="50" order="DESC" thumbnails="true"]

children

Lists all child posts of the current post.

Accepts the following attributes:

Example: [children max="35" order="DESC" thumbnails="true"]

siblings

Lists sibling posts of the current post.

Accepts the following attributes:

Example: [siblings max="65" order="DESC" thumbnails="true"]

sitemap

Lists the most recent posts of each public post type.

Accepts the following attributes:

Example: [sitemap max="100" order="DESC" thumbnails="true"]

Custom Output

Shortcode output can be overridden within a theme or child theme. To do so, create the following PHP files either in your theme root or in a templates subdirectory:

These templates do not work the same as a standard WordPress loop - They are rendered using the Plates template system with an array of WP_Post objects.

View the existing plugin templates to get an idea of what data will be available in a given file.

A Note About Custom Templates And Post Meta

By default, all queries are performed WITHOUT updating the meta cache unless thumbnails are enabled. It is done this way to minimize the number of database queries performed.

However - if you need to create a custom shortcode template that does access post meta, the result will be an extra database query PER POST!

This is obviously not desirable, so the following filters are provided to force a meta cache update:

Return true to any of these and all post meta will be loaded in a single query up front rather than a query per post.

Caching

No caching is done by this plugin.

For the most part, these shortcodes run very basic queries and you should not notice any performance impact.

The possible exception is the sitemap shortcode which runs AT LEAST two queries per public post type.

If you have a large number of post types I do not recommend using the sitemap shortcode without a solid caching strategy in place.


All versions of hestia with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
composer/installers Version ^1.0
league/plates Version ^3.0
ssnepenthe/metis Version ^0.7
ssnepenthe/wp-requirements Version ^0.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ssnepenthe/hestia contains the following files

Loading the files please wait ....