Skip to content

v2.3.4 — Inline contact info & favicon button on link items

Choose a tag to compare

@toineenzo toineenzo released this 26 Apr 01:19

A small patch on top of v2.3.3 with two admin-side conveniences requested by the user.

✨ New

Inline contact info on the public page

Each contact tab (Personal and Business) now has a second toggle: "Also show these details inline on the public page".

When enabled, the About-me block renders a styled <dl class="lfp-contact-info"> card next to the existing VCF download button(s) showing:

  • Name (heading)
  • Phone — clickable tel: link
  • Email — clickable mailto: link
  • Website — opens in a new tab
  • Address — preserves line breaks

The toggle is independent from the existing Save contact download toggle, so you can:

  • Show inline only (no download button)
  • Download only (no inline card)
  • Both (most common)

Favicon button on link items

A small globe icon button now sits to the left of the × clear button on every link item's image input — same circular 24×24 style, accent-blue hover instead of danger-red.

Click it and the image URL field is filled with the destination's favicon via https://www.google.com/s2/favicons?sz=128&domain=<domain> — same lookup as the JS faviconFor() helper used by + Add link. Works for both source types:

  • YOURLS shortlink items → uses the keyword's destination URL
  • Custom URL items → uses the URL field

Categories don't have a destination, so the favicon button removes itself from category rows. enhanceFileInputs() relocates both buttons (favicon then clear, rightmost) into the .lfp-fileinput row so they sit at the right edge of the file picker.

⬇️ Installation

cd /path/to/yourls/user/plugins
rm -rf yourls-link-front-page
unzip /path/to/YOURLS-Link-Front-Page-2.3.4.zip

…or git pull. No database changes — new keys (show_inline per contact card) default to false via array_merge on first read.

Full changelog: v2.3.3…v2.3.4