Hi can someone help me? Im not sure how to add code

Hi can someone help me? Im not sure how to add code

BrummyArtist
Not applicable
2 0 0

Hi, can someone help me please? I have been trying to add 2 codes to liquid files but I'm not sure how to do it! especially after watching tutorials (they don't always apply to the set up of my store!)

Replies 5 (5)

Moeed
Shopify Partner
5516 1496 1786

Hey @BrummyArtist 

 

Can you share the code which you're trying to add in your themes files so that I can guide you step by step?

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Custom Design | Advanced Coding | Store Modifications


BrummyArtist
Not applicable
2 0 0

Hi ys sure thanks Moeed: it's this one: <meta name= “robots” content= “noindex”?>

 

The instructions are here! I'm not sure where to copy and paste it!

https://storeseo.com/blog/what-is-shopify-noindex-and-when-to-use-it/?utm_source=StoreSEO&utm_campai...

 

 

And this is the 2nd one: 

To show a popup on any page, copy the following HTML

<div class="rf-widget" data-slug="popup2-0"></div>

Now paste it just before the closing </body> Usually in your theme.liquid file.

 

Dan-From-Ryviu
Shopify Partner
9668 1936 1971

Hi @BrummyArtist 

Please login to your Shopify admin > open Online Store > Themes > click "..." in the current theme > Edit code > open theme.liquid file, add your code somewhere after <head>, before </head>

- Helpful? Like and Accept solution! Support me! Buy me coffee
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Ryviu: Aliexpress Reviews - AliExpress Reviews Importer, one-click import aliexpress reviews, export reviews to CSV file.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

webwondersco
Shopify Partner
1164 169 170

@BrummyArtist 

 

you can search for the theme.liquid file in your live theme and edit it.

 

For the meta related changes, please add that just above the end of </head> tag.

 

and for the popup, the place is okay just before the end of </body> tag.

Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram

BSSCommerce-B2B
Shopify Partner
1758 538 597

Hi @BrummyArtist 

Login to admin ->  online store -> edit code

BSSCommerceB2B_0-1718871132121.png

search theme.liquid -> add your code  after <head>

BSSCommerceB2B_1-1718871181490.png

dont forget save: click save or press ctr + s

BSSCommerceB2B_2-1718871233698.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now