• Stars
    star
    235
  • Rank 170,154 (Top 4 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created almost 13 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WordPress plugin which allows you to list posts from a category into a post/page using the [catlist] shortcode.

List Category Posts

Code Climate Tests

List Category Posts is a WordPress plugin that allows you to list posts from a category into a post/page using the [catlist] shortcode. This shortcode accepts a category name or id, the order in which you want the posts to display, and the number of posts to display. You can use [catlist] as many times as needed with different arguments.

Usage: [catlist argument1=value1 argument2=value2]

Please visit the plugin's page on WordPress.org to find out more.

Documentation

The main documentation is hosted in the GitHub Wiki. You can find information there on how to select which posts to show, pagination, HTML & CSS customization and the template system and the several parameters you can use.

Would you like to help with the development?

The evolution of this plugin wouldn't be possible without the help of these awesome contributors. Special thanks to Sophist, bibz, vacuus, klemens-st for their contributions and hard work and every other person who's contributed to this plugin👍

Sometimes Pull Request take a while for us to review, but we'll eventually get to all of them. If you open a PR, feel free to add your wordpress.org user so if it gets merged I can add you to the list of contributors in the plugin's readme file.

Development

A Vagrantfile is provided to set up a box for WordPress development. You need Vagrant installed on your computer.

Fork the repo, clone it locally and do vagrant up (on Windows you need to run this command in PowerShell as administrator). You'll have a WordPress instance running on http://127.0.0.1:8080/.

WordPress is installed with this information:

  • Database Name: wordpress
  • User Name: wordpressuser
  • Password: wordpresspass

You can access the admin dashboard with the following credentials:

  • Admin user: adminuser
  • Admin password: adminpass

Activate the plugin on http://localhost:8080/wp-admin/plugins.php

The plugin code is linked directly on the box, so any change you make on the code is reflected automatically on the Vagrant box's WordPress installation.

Testing

PHPUnit has been set up by bibz, you can run phpunit on the Virtual Machine:

vagrant@vagrant-ubuntu-precise-32:/vagrant$ phpunit
Installing...
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
Not running ajax tests. To execute these, use --group ajax.
Not running ms-files tests. To execute these, use --group ms-files.
Not running external-http tests. To execute these, use --group external-http.
PHPUnit 4.7.3 by Sebastian Bergmann and contributors.

.

Time: 3.11 seconds, Memory: 46.25Mb

OK (1 test, 12 assertions)

The code needs lots of refactoring and probably some more documentation to be able to write some more relevant tests. This is a task where you can really help the development of the plugin if you're interested in contributing.

Usage

[catlist argument1=value1 argument2=value2]

Support the plugin

If you've found the plugin useful, consider buying us a beverage :)

License

GPLv2

List Category Posts

Copyright (C) 2008-2020  Fernando Briano (email : [email protected])

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

More Repositories

1

emacs.sexy

Emacs.sexy
HTML
95
star
2

ci_js

JavaScript para validar cédulas de identidad uruguayas
HTML
38
star
3

administrate-field-paperclip

Paperclip field plugin for Administrate
Ruby
14
star
4

gamesdb

A Ruby gem to interact with TheGamesDB API
Ruby
12
star
5

ci_uy

A gem to validate Uruguayan Identity Documents (Cedula de Identidad Uruguaya)
Ruby
11
star
6

supertimetracker

Super Simple Time Tracker
JavaScript
9
star
7

List-Categories

Simple WordPress plugin to display categories in any post or page with a shortcode
Shell
7
star
8

RuBeer

RuBeer will be a website to find the best beer in a city.
JavaScript
6
star
9

fb_site

My personal website
HTML
4
star
10

ricojson

A gem to open your one-line-not-indented JSON files in a way that you can read them
Ruby
4
star
11

montevideo-bicis

Sitio que presenta información objetiva sobre andar en bicicleta en Montevideo y reglamentación al respecto.
Haml
4
star
12

mnav-opendata-api

MNAV Open Data API
Ruby
3
star
13

osm

Testing OSM embedding with JS
CSS
3
star
14

excelsioroo

App based on the roo gem to parse spreadsheet files and export data to other formats
Ruby
3
star
15

config-files

Bash and system general config files
Shell
3
star
16

emacs-config

Emacs config files
Emacs Lisp
3
star
17

gibil

A simple Ruby gem to notify you of your computer's temperature
Ruby
2
star
18

howlong

Ruby script to search for a process and tell you how long it's been running on your system in a friendly way
Ruby
2
star
19

frankspace

A small app to use as a mold for a Sinatra + HAML + Sass web application
CSS
2
star
20

web_volume

Simple Cuba App to manage your computer's volume
JavaScript
2
star
21

Ruby-Koans

My progress on Ruby Koans - http://rubykoans.com/
Ruby
1
star
22

ombuduy

JavaScript
1
star
23

RubyConf-Ribbon-WordPress-Plugin

A simple WordPress plugin to add a RubyConf Uruguay ribbon to your blog. Visit http://rubyconfuruguay.org/ to know more about Ruby Conf Uruguay.
PHP
1
star
24

Mo-ita-Azul

Cruzar información matricula de ANEP con inversión y con censo.
PHP
1
star
25

instantoh

Website I built for fun
JavaScript
1
star
26

ciuy

Go implementation to validate Uruguayan Identity Documents (Cedula de Identidad Uruguaya)
Go
1
star
27

sorteo-script

Script rápido que escribí para un sorteo en mi blog.
Ruby
1
star
28

useragent-spy

A WordPress plugin which displays the user's Operative System and Web Browser in the comments
PHP
1
star
29

volumerb

Gem to manage the volume on GNU/Linux and Mac OS X operating systems
Ruby
1
star