/netro

Plugin Framework for WordPress Developers - Super simple, beautiful & powerful

Primary LanguagePHPMIT LicenseMIT

Plugin Framework for WordPress Developers - Super simple, beautiful & powerful

Build Status PHPStan License: MIT

# header.php - display last 3 posts with the post facade

use Netro\Facade\Type\Post;

foreach (Post::latest(3) as $post) {
    $post->getTitle();
    $post->getContent();
    $post->getCreatedAt()->diffForHumans();
    $post->getImage()->getPath();
    $post->getAuthor()->getLastName();
}

Installation

  • Download the latest version
  • Unzip the files to your WordPress plugins directory wp-content/plugins/netro
  • Run composer install in the wp-content/plugins/netro directory
  • Activate the plugin in your WPAdmin

Bug Reports

If you discover a bug in Netro, please open an issue on the issues section