2017 © Pedro Peláez
 

wordpress-plugin hogan-simple-posts

Simple listing module for Hogan

image

dekodeinteraktiv/hogan-simple-posts

Simple listing module for Hogan

  • Wednesday, April 4, 2018
  • by dekode
  • Repository
  • 6 Watchers
  • 0 Stars
  • 103 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Simple Posts Module for Hogan

Installation

Install the module using Composer composer require dekodeinteraktiv/hogan-simple-posts or simply by downloading this repository and placing it in wp-content/plugins, (*1)

Usage

…, (*2)

Available filters

Admin

  • hogan/module/simple_posts/post_type_link : Filter hook for custom post type post link. Default wp post link.
  • hogan/module/simple_posts/the_title : Filter hook for custom title. Default wp post title.
  • hogan/module/simple_posts/the_excerpt : Filter hook for custom excerpt. Default wp post excerpt.
  • hogan/module/simple_posts/the_image_metadata_value : Filter for returning a custom attachment id. Default null, which will fetch the post meta data for _thumbnail_id
  • hogan/module/simple_posts/relationship/post_types : Which post types to allow. Default ['post', 'page'].
  • hogan/module/simple_posts/manual_list/max_count : Max count for posts in manual list. Default '' (infinite).
  • hogan/module/simple_posts/automatic_list/max_count : Max count for posts in automatic list. Default '' (infinite).

Template

Filters

  • hogan/module/simple_posts/show_image_column : Whether or not to show image column for a card in frontend. false if the card type is set to small, otherwise true
  • hogan/module/simple_posts/image_size : Image thumb size for the card. Default `post-thumbnail``
  • hogan/module/simple_posts/featured_image : Featured image output. Default response of get_the_post_thumbnail()
  • hogan/module/simple_posts/card_heading : Card heading tag. Default: 'h2'

Actions

  • hogan/module/simple_posts/after_the_excerpt : Action to insert content after the excerpt.

The Versions

04/04 2018

dev-master

9999999-dev https://github.com/DekodeInteraktiv/hogan-simple-posts

Simple listing module for Hogan

  Sources   Download

GPL-3.0

The Requires

 

04/04 2018
04/04 2018
08/03 2018
31/01 2018
20/12 2017
08/12 2017
08/12 2017
08/12 2017
06/12 2017
27/11 2017

1.0.0

1.0.0.0 https://github.com/dekodeinteraktiv/hogan-text

WYSIWYG Text Module for Hogan

  Sources   Download

GPL-3.0

The Requires