insert-sub-and-category

Beskrivning

This plugin for WordPress will insert categories & subcategories from your WordPress to posts and pages. Plugin adds his own
button to tinyMCE editor for post&pages.
Briefly, you can use options for get_categories function,
list of options is in WP_Term_Query::__construct.

Features:

  • print categories & subcategories
  • use attributes in get categories and markup
  • option: add description to category
  • option: order by +date +ID +title +modified +menu_order=term_order
  • option: sort +ASC +DESC
  • option: add number of posts
  • option: +exclude +include
  • style: +unordered list (default) +ordered list +divided by
    tag
  • functions: function that searches if radio answer is correct (YES, Y, NO, N etc.)

If you have any problem finding the plugin icon in the default editor (Gutenberg), try to use shortcode block or install [clasic editor from WordPress Contributors] (https://wordpress.org/plugins/classic-editor/).
Shortcode for this plugin is [insert_sub_and_category] – no additional arguments are critical to work (but they can be useful – read user manual).

This plugin uses Showdown – a markdown to HTML converter written in Javascript to provide you user manual.

Skärmdumpar

  • In post editor you can click "Insert categories" button.
  • Basic options of plugin.
  • Advanced options of plugin.
  • If you don't change anything, simply shortcode will be inserted to your post content. You can use [insert_sub_and_category] instead of it.
  • Any attributes that are other than default will be in printed inside shorcode (see second occurence). You can edit it manualy.

Installation

How You can install our plugin?
1. Upload the plugin files to the /wp-content/plugins/insert-sub-and-category directory, or install the plugin through the WordPress plugins screen directly.
1. Activate the plugin through the ’Plugins’ screen in WordPress.
1. Use it where you want on every post or page using [insert_sub_and_category] shortcode
or
button ”Insert categories” in tinyMCE editor.

Vanliga frågor

None today.

It is suggested to read user manual, before ask a question.

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”insert-sub-and-category” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”insert-sub-and-category” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

0.1

*stable readme.txt
*first .php

1.0

  • adds shortcode, remove empty and default attributes
  • works on latest WordPress instalation

1.0

  • change of plugin name & plugin function names accordingly
  • sending variable from php to js <- no hardcode directory

1.0.1

  • change readme.txt
    -> tested up to
    -> part of description (one before last paragraph)

1.0.2

  • update readme.txt
  • fixed issues with odd actions and other plugins conflicts