Why can't I add links to my older blog posts?

Why can't I add links to my older blog posts?

Debra_Jambor
Explorer
43 0 17

It seems older blog posts will not allow me to add a link. In fact the link button is grayed out preventing adding them. 

Is this a policy for older blogs or a glitch.

Better find out Shopify.

 

Replies 3 (3)

pythagoryan
Excursionist
22 0 9

Hey Debra!

 

Well, that sucks. I'm not experiencing that issue on my store, but I can provide you with some code that might help.

 

You can add links with HTML. To switch from the rich text to HTML view on blog posts, click the button that looks like this:

pythagoryan_0-1697127468524.png

Wherever you want to input a link, first copy the code below and paste it exactly where you want the link:

 

 

<a href="[LINK URL]">[TEXT]</a>

 

 

After that, replace [LINK URL] (including the brackets) with the actual URL of what you're trying to link. Similarly, replace [TEXT] with whatever text you want to click to go to that link.
Here's an example of the finished product:

 

 

<a href="https://google.com">Click here to go to Google!</a>

 

 

And here's how it will look on the website: 

Click here to go to Google! 

 

If you want to cause the link to open in a new tab, add the target="_blank" attribute inside the <a> tag:

 

 

<a href="https://google.com" target="_blank">Glick here to go to Google!</a>

 

 

Hope this helps!

Ryan R. Irwin
Director of Technology
SkyCo Distro & Hazel Sky Smoke Shop
Debra_Jambor
Explorer
43 0 17
Awesome, thanks so much, I can do that with my minimal knowledge of coding.

pythagoryan
Excursionist
22 0 9

Ah! Also.. you have to highlight text before you can click the link button! It converts existing text into a hyperlink. If you haven't tried that, let me know if it works!

Ryan R. Irwin
Director of Technology
SkyCo Distro & Hazel Sky Smoke Shop