Skip to content

quicoto/link-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔗 Link Manager

WordPress Theme to manage links.

Desktop screenshot

Mobile screenshot

💡 How to set up?

  1. Add the theme to your wp-content/themes folder
  2. Activate the theme
  3. Create at least 1 link and add the Custom Field with the value url. This way the meta boxes dropdown will have the url value for next time you want to create a link.

WordPress Dashboard Custom Fields

  1. Disable the Visual editor in your Profile. So we only use the regular HTML textarea field. Like so:

WordPress Profile Disable Visual Editor

  1. Set a Search Widget to the sidebar.
  2. Set a Tag Cloud Widget to the sidebar.

WordPress Widgets

Done! 🎉 Now you can go to the next section and make use of the powerful bookmark autofill.

🔖 Use the bookmark

Add this bookmark to your browser. Visit any site and hit the bookmark. You'll be redirected to the WordPress Dashboard with the page title and URL prefilled for you:

javascript:window.location=`YOUR_SITE/wp-admin/post-new.php?post_type=link&title=${encodeURIComponent(document.title)}&url=${encodeURIComponent(window.location.href)}&description=${document.querySelector('meta[name="description"]')?.content}`

Automatically share links via RSS

The RSS feed has been modified to include all your links.

You can use IFTT or similar service to pull your RSS feed and automatically share the links to your Twitter or Mastodon account.

Web Share Target API

You can even install this web app to be available for you when sharing via Android.

  1. Create a service-worker.js at the root of your WordPress installation. Get the content for it from the sample in the themes assets/service-worker.js

Why?

Google Chrome wants it at the root to match the scope defined in the site.manifest

In any case, the Service Worker does nothing. It only tricks Chrome into allowing you to install the app.

  1. Visit your Link Manager site on Google Chrome and install the app to your home screen.