Download the PHP package grottopress/wordpress-posts without Composer
On this page you can find all versions of the php package grottopress/wordpress-posts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download grottopress/wordpress-posts
More information about grottopress/wordpress-posts
Files in grottopress/wordpress-posts
Download grottopress/wordpress-posts
More information about grottopress/wordpress-posts
Files in grottopress/wordpress-posts
Vendor grottopress
Package wordpress-posts
Short Description Query and display posts in WordPress
License MIT
Package wordpress-posts
Short Description Query and display posts in WordPress
License MIT
Keywords wordpress
Please rate this library. Is it a good library?
Informations about the package wordpress-posts
WordPress Posts
Query and display posts in WordPress.
Installation
Install via composer:
Usage
You may use the styles defined in dist/css in your theme (or plugin):
Arguments
Full list of arguments, with their defaults, are as follows:
Posts info
The following are possible values you may supply to $args['title']['before']['types'], $args['title']['after']['types'] and $args['excerpt']['after']['types']:
avatar__<size>eg:avatar__40updated_ago,updated_ago__actual,updated_ago__differencepublished_ago,published_ago__actual,published_ago__differenceauthor_namecomments_linkupdated_dateupdated_timepublished_datepublished_timecategory_listorcategorytag_listorpost_tagedit_linkdelete_linktweet_buttonsharethis_buttonshare_linktweet_linkpin_linklinkedin_linkbuffer_linkdigg_linktumblr_linkreddit_linkblogger_linkpocket_linkskype_linkviber_linkwhatsapp_linktelegram_linkvk_link- The name of a filter hook. A function should then be defined and added to that filter. Function args:
string $output, int $post_id, string $separator. - A post meta key. This would display a single meta value for that key.
- A taxonomy name. This would display a list of all terms of that taxonomy the post was assigned to.
Social media icons
If you would like to show icons for social links, you need to install font awesome v5.
Development
Run tests with composer run test.
Contributing
- Fork it
- Switch to the
masterbranch:git checkout master - Create your feature branch:
git checkout -b my-new-feature - Make your changes, updating changelog and documentation as appropriate.
- Commit your changes:
git commit - Push to the branch:
git push origin my-new-feature - Submit a new Pull Request against the
GrottoPress:masterbranch.
All versions of wordpress-posts with dependencies
PHP Build Version
Package Version
The package grottopress/wordpress-posts contains the following files
Loading the files please wait ...