Giter VIP home page Giter VIP logo

tc-custom-taxonomy-filter's Introduction

TC Custom Taxonomy Filter

  • Contributors: taupecat, tatumcreative, mrwweb
  • Requires at least: 3.4
  • Tested up to: 5.4.2
  • Stable tag: 2.0.0
  • Requires PHP: 5.3.0
  • Tags: custom-taxonomy, filter
  • License: MIT

A WordPress plugin to filter your posts by custom taxonomies in the dashboard.

Description

Filter your posts (including custom post types) by your custom taxonomies, just like you can with WordPress' native category filter.

Installation

  1. Place the tc-custom-taxonomy-filter directory inside your plugins directory.
  2. Navigate to the Plugins section of the Dashboard and click "Activate".

Changelog

Version 2.0.0

  • Rewrote code to modern WordPress standards.
  • Changed license to MIT.

Version 1.3.1

  • One more minor code change to deal with another PHP notice. Props mrwweb.

Version 1.3

  • Bug fix to remove PHP notices. Props tatumcreative, mrwweb.

Version 1.2

  • Fixed a small bug where is_admin() wasn't being called as a proper function.

Version 1.1

  • Turned off the "show_count" argument in wp_dropdown_categories. That option only counts the "publish" post status, not "private" or "drafts." While this makes sense on the front end, in the administration interface it's a bit confusing.
  • Removed the "Uncategorized" option because it wasn't working properly. Will investigate restoring it at some point in the future.

Version 1.0

  • Initial release.

tc-custom-taxonomy-filter's People

Contributors

mrwweb avatar taupecat avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mrwweb

tc-custom-taxonomy-filter's Issues

Support Multi-Post Type Taxonomies

As described in https://wordpress.org/support/topic/not-showing-taxonomies-associated-to-more-than-1-custom-post-type:

When a taxonomy is associated to more than one post type, it doesn't show up in the filters list. This happens because of how wp_filter_object_list works (used by get_taxonomies). I've come up with a workaround that suits my needs, use it freely if you want to.

A fix is also provided on the OP which I'll try to throw over as a PR sometime if you don't get to it first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.