{"id":163325,"date":"2022-10-26T18:33:24","date_gmt":"2022-10-26T18:33:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/shlinkify\/"},"modified":"2024-07-30T19:32:12","modified_gmt":"2024-07-30T19:32:12","slug":"smol-links","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/smol-links\/","author":20194250,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.2","stable_tag":"0.4.2","tested":"6.6.5","requires":"4.5","requires_php":"7.0","requires_plugins":null,"header_name":"Smol Links","header_author":"The Markup","header_description":"Create and manage Shlink short links from WordPress","assets_banners_color":"89c668","last_updated":"2024-07-30 19:32:12","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/themarkup.org\/donate","header_plugin_uri":"","header_author_uri":"https:\/\/themarkup.org\/","rating":0,"author_block_rating":0,"active_installs":50,"downloads":2372,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"themarkup","date":"2022-10-26 21:26:12"},"0.1.1":{"tag":"0.1.1","author":"themarkup","date":"2024-05-30 17:51:33"},"0.2.0":{"tag":"0.2.0","author":"themarkup","date":"2024-05-31 21:41:33"},"0.3.0":{"tag":"0.3.0","author":"themarkup","date":"2024-06-03 15:04:30"},"0.3.1":{"tag":"0.3.1","author":"themarkup","date":"2024-06-05 02:15:31"},"0.4.0":{"tag":"0.4.0","author":"themarkup","date":"2024-06-10 14:34:10"},"0.4.1":{"tag":"0.4.1","author":"themarkup","date":"2024-06-11 16:57:48"},"0.4.2":{"tag":"0.4.2","author":"themarkup","date":"2024-07-30 19:32:12"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2805360,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2805360,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2805360,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.2.0","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":2805360,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":2805360,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":2805360,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Create and manage Shlink short links from WordPress.","2":"Configure your self-hosted Shlink server and optionally generate a short URL whenever a post is published.","3":"The post editor includes the short URL in the sidebar."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[214952,137],"plugin_category":[],"plugin_contributors":[78422],"plugin_business_model":[],"class_list":["post-163325","plugin","type-plugin","status-publish","hentry","plugin_tags-shlink","plugin_tags-short-url","plugin_contributors-dphiffer","plugin_committers-themarkup"],"banners":{"banner":"https:\/\/ps.w.org\/smol-links\/assets\/banner-772x250.jpg?rev=2805360","banner_2x":"https:\/\/ps.w.org\/smol-links\/assets\/banner-1544x500.jpg?rev=2805360","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/smol-links\/assets\/icon-256x256.jpg?rev=2805360","icon_2x":"https:\/\/ps.w.org\/smol-links\/assets\/icon-256x256.jpg?rev=2805360","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/smol-links\/assets\/screenshot-1.jpg?rev=2805360","caption":"Create and manage Shlink short links from WordPress."},{"src":"https:\/\/ps.w.org\/smol-links\/assets\/screenshot-2.jpg?rev=2805360","caption":"Configure your self-hosted Shlink server and optionally generate a short URL whenever a post is published."},{"src":"https:\/\/ps.w.org\/smol-links\/assets\/screenshot-3.jpg?rev=2805360","caption":"The post editor includes the short URL in the sidebar."}],"raw_content":"<!--section=description-->\n<p>A WordPress dashboard interface for managing a self-hosted <a href=\"https:\/\/shlink.io\/\">Shlink URL shortener<\/a> instance.<\/p>\n\n<ul>\n<li>Create and edit Shlinks short links from a manager interface<\/li>\n<li>Optionally generate new short URLs upon saving new posts<\/li>\n<li>Manage multiple short URL domains, with an assigned default<\/li>\n<li>Automatically tag each short link, configurable with a filter hook<\/li>\n<li>Customize long URLs automatically using a filter hook (e.g., to add query arguments)<\/li>\n<li>Integrates with <a href=\"https:\/\/wordpress.org\/plugins\/wp-sentry-integration\/\">WordPress Sentry<\/a> plugin, if installed<\/li>\n<\/ul>\n\n<p><strong>Filter hooks<\/strong><\/p>\n\n<ul>\n<li><code>smol_links_tags<\/code> - assigns tags to each saved short link (default: <code>[\"smol-links-server:$hostname\", \"smol-links-user:$username\"]<\/code>)<\/li>\n<li><code>smol_links_long_url<\/code> - automatically adjust the long URL redirect<\/li>\n<li><code>smol_links_manager_tabs<\/code> - customizes the manager tabs (array: [\"Tab label\" =&gt; [<em>Shlink API query<\/em>]])<\/li>\n<\/ul>\n\n<h3>Developer setup<\/h3>\n\n<p><strong>Developer dependencies:<\/strong><\/p>\n\n<ul>\n<li><a href=\"https:\/\/nodejs.org\/\">node.js<\/a> (tested on v20)<\/li>\n<li><a href=\"https:\/\/www.docker.com\/products\/docker-desktop\">Docker Desktop<\/a><\/li>\n<\/ul>\n\n<p><strong>Build and start:<\/strong><\/p>\n\n<pre><code>.\/bin\/build\n.\/bin\/start\n<\/code><\/pre>\n\n<p><strong>Running tests:<\/strong><\/p>\n\n<pre><code>docker compose exec web composer --working-dir=\"\/var\/www\/html\/wp-content\/plugins\/smol-links\" test\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>smol-links<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Configure the <strong>Smol Links<\/strong> settings from your WordPress dashboard<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Fix bug causing settings to not get saved<\/li>\n<li>Update dependencies<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Validate and sanitize settings<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Add search to manager interface<\/li>\n<li>URL validation on form inputs<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Remove Composer from installation<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Add pagination to Smol Links manager interface<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Update to Shlink v3 API<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Fix a bug with the Short Links manager<\/li>\n<li>Upgrade dependencies<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Release to WordPress plugin directory<\/li>\n<li>Security improvements<\/li>\n<\/ul>\n\n<h4>0.0.1<\/h4>\n\n<ul>\n<li>Generate short URLs upon saving a post<\/li>\n<li>Create\/edit short URLs from a manager<\/li>\n<\/ul>","raw_excerpt":"Create and manage Shlink short links from WordPress","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/163325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=163325"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/themarkup"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=163325"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=163325"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=163325"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=163325"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=163325"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=163325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}