Title: Where insert Flickr Badge code?
Last modified: August 18, 2016

---

# Where insert Flickr Badge code?

 *  Resolved [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/)
 * I want to post a “Flickr Badge” in the sidebar of my blog. I’ve searched here
   for advice on how to do it, but not found anything that has worked. I know how
   to get the HTML code from Flickr, but where exactly in the Sidebar file do I 
   insert the code to make my pictures appear at the bottom of the Sidebar?
 * My blog is at [http://www.jerrypettit.com/blog](http://www.jerrypettit.com/blog)
 * Thanks in advance

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405495)
 * Edit your sidebar.php file and put it under the “Meta” stuff.
    Look for something
   like: `<li><h2>Meta</h2> <ul> <?php wp_register(); ?> <li><?php wp_loginout();?
   ></li> <li><a href="http://validator.w3.org/check/referer" title="This page validates
   as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language"
   >XHTML</abbr></a></li> <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML 
   Friends Network">XFN</abbr></a></li>`
 * and put it under there:
    <div>html code for flickr</div>
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405497)
 * Still didn’t work!
 * Here’s where I inserted it (latter portion of existing Sidebar code):
 * `<li><a href="http://validator.w3.org/check/referer" title="This page validates
   as XHTML 1.0 Transitional">Valid XHTML</a></li>
    <li><a href="http://gmpg.org/
   xfn/">XFN</a></li> <li><a href="http://wordpress.org/" title="Powered by WordPress,
   state-of-the-art semantic personal publishing platform.">WordPress</a></li> <?
   php wp_meta(); ?>
 *  </div><br />
    <br>
 * **I inserted my Flickr badge code here!!!!
 * </div>
 * **I then went back to view the site and there was absolutely no change…
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405498)
 * click “Edit” on your last post. Put backticks ( ` ) at the front of that block
   of code and at the end of it.
 * We’ll then have a fighting chance of actually reading what you put there.
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405499)
 * OK. Here are the last dozen or so lines of my Sidebar.php file:
 * ` <li><?php wp_loginout(); ?></li> <li><a href="http://validator.w3.org/check/
   referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title
   ="eXtensible HyperText Markup Language">XHTML</abbr></a></li> <li><a href="http://
   gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li> <li><a
   href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic
   personal publishing platform.">WordPress</a></li> <?php wp_meta(); ?>`
 *  </ul> </li> </ul> </div>
    <br>
 *  **This is where I inserted the Flickr code!
 * </div>
 * And when I went back to the site, there was no change.
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405502)
 * OK, I’ll help out.
    Go to: [http://pastebin.com/](http://pastebin.com/) Put your
   sidebar code in with the flikr code you added. Come back here and give the uri
   to your pastebin file. We’ll take a look.
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405504)
 * [http://pastebin.com/714074](http://pastebin.com/714074)
 * Thanks a million in advance.
 * Jerry
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405525)
 * bump?
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405536)
 * I don’t see anything wrong with where you put the flickr code. Two things that
   do stand out – you don’t have the `<div>` before the flickr code starts, though
   you did close it afterward with `</div>`.
    Also, you don’t have the `<?php endif;?
   >` at the bottom of the file. Try putting both of those in.
 * I had no problem inserting it in one of my blogs if you want to see it works:
   
   [http://www.comeuphither.com/blog/](http://www.comeuphither.com/blog/)
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405561)
 * I have now done both of those things and still–nothing.
 * I see it on your blog. I do not see it on mine.
 * This is just mind-boggling…
 * Jerry
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405563)
 * Huge breakthrough, I think: I am using a custom theme, but the way I am changing
   my sidebar is by going to Dashboard/Manage/Files and then editing the Sidebar.
   php that shows there.
 * BUT THAT IS POINTING TO THE DEFAULT THEME!!! NOT MY CUSTOM THEME.
 * So how do I get to THAT theme’s sidebar?!
 * Jerry
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405565)
 * Ok–a little experimenting and that took care of it.
 * Thanks for all help. Feel kind of silly now that all of the changes I was trying
   to make was to a theme I was not even using.
 * 🙂
 * Jerry
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405576)
 * Just glad you figured it out.
    Good luck! Please mark your topic resolved at 
   the top.
 *  [vanburen](https://wordpress.org/support/users/vanburen/)
 * (@vanburen)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405689)
 * jerry,
    Are you willing to share your flickr code with the rest of us? I am trying
   to get this into my site as well and would appreciate any help.
 * thanks
 *  Thread Starter [jerrypettit](https://wordpress.org/support/users/jerrypettit/)
 * (@jerrypettit)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405690)
 * Sure! Actually what you do is just go through “the process” at the FLICKR site.
   They give you step by step instructions for you to set things up the way you 
   like it and then give you the code to paste into your own site.
 *  [chanz](https://wordpress.org/support/users/chanz/)
 * (@chanz)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405711)
 * I’m trying to follow these messages. I copied the code from flickr, pasted into
   my sidebar above meta (used the tag advice provided) but nothing shows. If I 
   paste the code below the meta stuff, the badge actually shows up on the bottom
   of my page???
    Any tips?

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Where insert Flickr Badge code?’ is closed to new replies.

 * 15 replies
 * 5 participants
 * Last reply from: [chanz](https://wordpress.org/support/users/chanz/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/where-insert-flickr-badge-code/#post-405711)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
