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__40
updated_ago
,updated_ago__actual
,updated_ago__difference
published_ago
,published_ago__actual
,published_ago__difference
author_name
comments_link
updated_date
updated_time
published_date
published_time
category_list
orcategory
tag_list
orpost_tag
edit_link
delete_link
tweet_button
sharethis_button
share_link
tweet_link
pin_link
linkedin_link
buffer_link
digg_link
tumblr_link
reddit_link
blogger_link
pocket_link
skype_link
viber_link
whatsapp_link
telegram_link
vk_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
master
branch: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:master
branch.
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 ....