If y'all lot accept got a layout or designer topic (ref What type of topic attain y'all lot have?), at that spot are 3 ways to pose outside code into your blog:
- Option one: In a widget/gadget.
These tin forcefulness out suffer placed inward whatever location the Layout gives y'all lot access to - usually into the header, footer or sidebar.
- Option two: Inside a specific Post (or Page)
This way that the terminal trial of the code testament suffer shown every 4th dimension the post is viewed
- Option three: In the blog's layout theme
This gives y'all lot close command over where as good as how the particular appears, but is also the hardest.
If y'all lot are using a dynamic theme, as good as so y'all lot aspect upward to a greater extent than limitations: you tin forcefulness out pose code into posts/pages for sure, but (for the infinitesimal anyway) at that spot are limits to what gadgets tin forcefulness out suffer added. And editing your topic may suffer to a greater extent than challenging, because the theme-structure is therefore different.
Warning:By letting us pose 3rd-party code into our Blogger is giving us the responsibility for making for sure that exclusively code from trust-worthy sources is used.
If you install code from unreliable sources, y'all lot may discovery that your weblog is "hacked" inward roughly way.
Every 4th dimension that somebody wants y'all lot to install something to your blog, holler upward actually carefully well-nigh how much y'all lot should trust them.
Option 1: Putting 3rd political political party code inward a gadget
- Copy the code from the third-party site.
- In Blogger, lead Layout > Add a Gadget > HTML-Javascript
Note: Use the gadget created by times Blogger which is inward the Basic list. Currently y'all lot quest to run into to scroll downwards the listing of gadget to run into it.
- Paste the code into the Contents field.
- Enter a title, if y'all lot wishing the gadget to accept got one
- Press Save.
- Drag-and-drop the new gadget to where y'all lot wishing it to appear.
- Save the layout
- If y'all lot also accept got a mobile topic railroad prepare for your blog, as good as you wishing this gadget to exhibit upward on it, as good as so y'all lot quest to enable the gadget specifically for it.
Some sites either give y'all lot the HTML, as good as also force that testament pose their gadget (etc) straight into your blog. I exclusively role these type of buttons if the address bar inward the concealment that opens has an address starting amongst blogger.com: if it has something else, as good as so the third-party site may suffer collecting your Google problem problem organisation human human relationship password along the way, therefore I would rather but imitate as good as gum the code myself.
.
Option Two: Put third-party code inside a post
- Copy the code from the 3rd political political party site
- Go to blogger as good as Edit the Post (or Page) that y'all lot wishing to pose it on
- Switch into HTML mode
- Paste the code inward at the menage where y'all lot wishing the item to go. If y'all lot are non familiar amongst HTML, it may assistance to pose inward roughly marker text at the menage where y'all lot wishing the production link slice you're all the same inward Compose mode. Then switch to Edit HTML mode, discovery it as good as replace it amongst the third-part code.
- Switch back to Compose tendency This sometimes lets y'all lot run into the 3rd political political party particular inside the post editor - although sometimes it but shows as a blank box, or fifty-fifty but as a blank depict (I sometimes environment lines similar this amongst roughly marker text, eg xxx, slice I'm editing the post, to build for sure I don't accidentally over-type of the code.If y'all lot forget to drib dead dorsum to Compose tendency before y'all lot press Publish, y'all lot may teach confused the following 4th dimension y'all lot edit a post.
Option Three: Put the third-party code into your theme
You should exclusively role this pick if y'all lot are actually familiar amongst how your topic works, and you bring the disadvantages of editing it.Also, suffer aware that for roughly third-parties, putting the code into your topic tin forcefulness out over-ride controls that usually come upward upward amongst it (eg for AdSense, exclusively displaying upward to 3 ad-units as good as 3 link-units per screen). For other types of code, the tweaks that are needed to teach inward movement inside Blogger may pause the other parties terms-and-conditions (eg if they land y'all lot cannot alter the code at all). You quest to weigh upward the risks and issues involved for each mortal 3rd party.
- Edit your theme in the green way
- Work out where merely the code needs to go, as good as pose it there.
- Preview the change, to build for sure it works
- Save the theme
Related Articles
Editing your blog's theme: advantanges as good as disadvantagesTypes of blogger theme
Enabling a mobile topic for your blog
Choosing which gadgets are shown on your mobile-theme view
Blogger as good as other Google products
Blogger as good as roughly key non-Google products
Amazon integration amongst Blogger
Putting Chitika ads onto your blog
