Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ssnepenthe/hestia/archive/refs/heads/master.zipOn Packagist as ssnepenthe/hestia:
composer require ssnepenthe/hestiaNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
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:
id: ID of the post for which you would like to display ancestors. Defaults to the return value of gettheID().
order: one of ASC or DESC. Sets the sort order of found posts. Defaults to ASC.
thumbnails: true or false. Whether or not to include featured images in post list. Defaults to false.
Example: [ancestors order="DESC" thumbnails="true"]
attachments
Lists all media that has been directly attached to the current post.
Accepts the following attributes:
id: ID of the post for which you would like to display attachments. Defaults to the return value of gettheID().
link: one of PAGE or FILE. Sets whether to link to the attachment page or the actual attachment file. Defaults to PAGE.
max: integer between 1 and 100. Sets the maximum number of attachments to display. Defaults to 20.
order: one of A