开发者 | Guido07111975 |
---|---|
更新时间 | 2024年9月8日 01:35 |
PHP版本: | 5.0 及以上 |
WordPress版本: | 6.6 |
版权: | GPLv3 |
版权网址: | 版权信息 |
[links]
to a page to display your link list.
Default settings categories:
class="your-class-name"
columns="3"
columns="0"
include="1,3,5"
exclude="8,10,12"
hide_empty="0"
category_description="true"
links_per_category="5"
order="DESC"
orderby="ID"
orderby="rand"
hide_link_title="true"
hide_link_description="true"
no_categories_text="your text"
[links include="1,3,5" category_description="true" links_per_category="5"]
When using the block, 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. Because you can set the columns via the block 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.
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!
Plugin has no settings page. Use the block or shortcode with attributes to make it work.
You can set the number of columns between 1 and 4 or disable the columns. This can be done via the block 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.
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.
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=
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=
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.
You like my plugin and want to make a donation? There's a PayPal donate link at my website. Thank you!
Please open a topic in the WordPress.org support forum for this plugin.