VS Link Manager

説明

About

With this lightweight plugin you can display a set of links from the Link Manager.

The Link Manager is part of WordPress but disabled by default. This plugin will activate it again.

To display your link list you can use a block, a shortcode or a widget.

You can customize your link list with attributes.

With this plugin you can also create a blogroll or link portal in the same way as a link list.

How to use

After installation go to menu item “Links”. You can add your categories and links here. Links must be assigned to a category.

Add the VS Link Manager block or the shortcode [links] to a page to display your link list.

Or go to Appearance > Widgets and use the VS Link Manager widget.

Default settings categories:

  • 4 columns when using block or shortode
  • 1 column when using widget
  • Order by name
  • Ascending order (A-Z)
  • Empty categories are hidden

Default settings links:

  • Order by name
  • Ascending order (A-Z)
  • All links are displayed

You can customize your link list with attributes.

Attributes

You can customize your link list by adding attributes to the block, the shortcode or the widget.

  • Add custom CSS class to link list: class="your-class-name"
  • Change the number of columns: columns="3"
  • Disable the columns: columns="0"
  • Include certain categories: include="1,3,5"
  • Exclude certain categories: exclude="8,10,12"
  • Display empty categories too: hide_empty="0"
  • Display category description: category_description="true"
  • Change the number of links per category: links_per_category="5"
  • Reverse the order of links: order="DESC"
  • Display links by ID: orderby="ID"
  • Display links in random order: orderby="rand"
  • Hide link title: hide_link_title="true"
  • Hide link description: hide_link_description="true"
  • Change the “no categories are found” text: no_categories_text="your text"

Example: [links include="1,3,5" category_description="true" links_per_category="5"]

When using the block or the widget, don’t add the main shortcode tag or the brackets.

Example: include="1,3,5" category_description="true" links_per_category="5"

With the columns attribute you can set the number of columns between 1 and 4.

The link list becomes 2 columns in small screens (except when number of columns is set to 1).

You can also disable the columns. This can be handy if you only want to use your own styling.

The columns attribute will be ignored when using the block or widget. Because you can set the columns via the block or widget settings.

With the hide link title attribute you can hide the link title if the link has an image assigned to it. This way you can display the link image only, instead of both.

Widget

This plugin activates the Links widget again. Because this widget is part of WordPress, plugin has no control over it.

You can use the VS Link Manager widget instead.

Have a question?

Please take a look at the FAQ section.

Translation

Translations are not included, but the plugin supports WordPress language packs.

More translations are very welcome!

The translation folder inside this plugin is redundant, but kept for reference.

Credits

Without help and support from the WordPress community I was not able to develop this plugin, so thank you!

スクリーンショット

  • Link list
  • Block (dashboard)
  • Widget (dashboard)
  • Links page (dashboard)

ブロック

このプラグインは1個のブロックを提供します。

  • VS Link Manager

FAQ

Where is the settings page?

Plugin has no settings page. Use the block, shortcode or widget with attributes to make it work.

Why does the link list look different between themes?

The plugin uses minimal styling and therefore also depends on the styling of your theme.

How can I change the layout or colors?

You can set the number of columns between 1 and 4 or disable the columns. This can be done via the block or widget settings or via an attribute.

If you disable the columns CSS class “vslm-custom” is added to the link list. This can be handy if you only want to use your own styling.

You can use page Additional CSS of the Customizer for your custom styling.

Can I order links by date?

No, this is not possible.

But with the orderby and order attribute you can order links by ID and in descending order. This way newly added links will be displayed first.

Where to find the category ID?

Every category URL contains an unique ID. You will find this ID when hovering the category title in your dashboard or when editing the category.

It’s the number that comes after: tag_ID=

Where to find the link ID?

Every link URL contains an unique ID. You will find this ID when hovering the link title in your dashboard or when editing the link.

It’s the number that comes after: link_ID=

Why is there no semantic versioning?

The version number won’t give you info about the type of update (major, minor, patch). You should check the changelog to see whether or not the update is a major or minor one.

How can I make a donation?

You like my plugin and want to make a donation? There’s a PayPal donate link at my website. Thank you!

Other questions or comments?

Please open a topic in the WordPress.org support forum for this plugin.

評価

1件のレビューをすべて表示

貢献者と開発者

VS Link Manager はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“VS Link Manager” は2ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“VS Link Manager” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

Version 2.8

  • Block editor: non-clickable links in link list

Version 2.7

  • Added file uninstall (to remove widget settings upon uninstall)

Version 2.6

  • New: display your links in a widget
  • Fix: prefix

Version 2.5

  • New: set number of columns via the block settings, instead of using an attribute
  • Changed attribute no_link_categories_text into no_categories_text

Version 2.4

  • Changed several attribute names, to make it more clear for users
  • This means you might have to update your attributes
  • Attribute limit becomes links_per_category
  • Attribute hide_title becomes hide_link_title
  • Attribute hide_description becomes hide_link_description
  • Minor changes in code

Version 2.3

  • New: VS Link Manager block
  • Block editor users can now replace their shortcode block with the VS Link Manager block

Version 2.2

  • Minor changes in code

Version 2.1

  • Added extra validation for link category query
  • Minor changes in code

Version 2.0

  • Bumped the “requires PHP” version to 7.0
  • Bumped the “requires at least” version to 5.0

Version 1.9

  • Minor changes in code

For all versions please check file changelog.