# Hyperlink for a blog title?

**URL:** <https://discuss.write.as/t/hyperlink-for-a-blog-title/3338>\
**Category:** Help\
**Created:** [August 18, 2021, 3:36pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338 "2021-08-18T15:36:32Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jas](https://discuss.write.as/user_avatar/discuss.write.as/jas/32/3452_2.png) [@jas](https://discuss.write.as/u/jas)\
**Post date:** [August 18, 2021, 3:36pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/1 "2021-08-18T15:36:32Z")

</div>

Hello,

I’d like a pinned post to link straight to a separate link I have.

In short, I’d like to have a pinned ‘Journal’ page that links to my [micro.blog](https://jasraj.micro.blog).

Is there a way that I can create a post that has a title only, which I use as a hyperlink?

Or can I only hyperlink to text in the post?

---

<div class="post-metadata">

**Author:** ![jas](https://discuss.write.as/user_avatar/discuss.write.as/jas/32/3452_2.png) [@jas](https://discuss.write.as/u/jas)\
**Post date:** [August 18, 2021, 3:40pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/2 "2021-08-18T15:40:06Z")

</div>

Update: here’s what my post currently looks like: [journal — the diary of an indie writer, by Jas](https://write.as/jas/journal)

Ideally, I’d like the ‘journal’ button (i.e. the header text itself) to link directly to [https://jasraj.micro.blog](https://jasraj.micro.blog)

---

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [August 18, 2021, 5:38pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/3 "2021-08-18T17:38:31Z")

</div>

Yes, first you need to create a placeholder post. All it needs is just a title. Then after you publish the placeholder post, you can then pin it. Then you can use JavaScript to change the url for the pinned post. Check out the thread below for the script to do it.

> [@Is it possible to make a pinned post linkable instead of a static page?](https://discuss.write.as/t/is-it-possible-to-make-a-pinned-post-linkable-instead-of-a-static-page/1561/2):
>
> You can do it with Javascript. This one is for the link to get a random post on my site. /\* Javascript for Random post Glitch app \*/ var a = document.querySelector('a[href="https://journal.dinobansigan.com/random"]'); if (a) { a.setAttribute('href', 'https://random-journal-post.glitch.me/get'); a.setAttribute('title', 'Get a random post'); } var b = document.querySelector('a[href="/dino/random"]'); if (b) { b.setAttribute('href', 'https://random-journal-post.glitch.me/get'); b.setAttrib…

---

<div class="post-metadata">

**Author:** ![jas](https://discuss.write.as/user_avatar/discuss.write.as/jas/32/3452_2.png) [@jas](https://discuss.write.as/u/jas)\
**Post date:** [August 19, 2021, 5:37pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/4 "2021-08-19T17:37:36Z")

</div>

thanks again, Dino. Will give it a shot when I’ve set up my custom domain.

Also, I came across your handy blog archive generator - looks cool!

---

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [August 19, 2021, 8:05pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/5 "2021-08-19T20:05:19Z")

</div>

> [@jas](#):
>
> Also, I came across your handy blog archive generator - looks cool!

Thanks. Unfortunately, the archive generator won’t work for blogs with more than 10 posts. Still working on updating it.

---

<div class="post-metadata">

**Author:** ![jas](https://discuss.write.as/user_avatar/discuss.write.as/jas/32/3452_2.png) [@jas](https://discuss.write.as/u/jas)\
**Post date:** [August 20, 2021, 3:41pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/6 "2021-08-20T15:41:26Z")

</div>

No worries. It’s a great tool, it looks just like the [archive](https://jasraj.micro.blog/archive/) that’s auto-generated on my microblog, which I like.

---

<div class="post-metadata">

**Author:** ![dino](https://discuss.write.as/user_avatar/discuss.write.as/dino/32/645_2.png) [@dino](https://discuss.write.as/u/dino)\
**Post date:** [August 20, 2021, 5:15pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/7 "2021-08-20T17:15:30Z")

</div>

That is where I took my inspiration from, the built-in micro.blog Archive page.

---

<div class="post-metadata">

**Author:** ![jas](https://discuss.write.as/user_avatar/discuss.write.as/jas/32/3452_2.png) [@jas](https://discuss.write.as/u/jas)\
**Post date:** [December 21, 2021, 9:29pm UTC](https://discuss.write.as/t/hyperlink-for-a-blog-title/3338/8 "2021-12-21T21:29:22Z")

</div>

So I’m finally getting around to create this pinned-post hyperlink… but when I create the post, and then click ‘i’ to change the publish time to one in the past (so it doesn’t get sent to my email subscribers), the following error message pops up:

 ![Screenshot 2021-12-21 212514](https://discuss.write.as/uploads/default/original/2X/e/e886eb2fb73510c1891f29e6e193aca63c4cb8f5.jpeg)

(cc @matt)
