Title: Mailchimp plugin &#8211; adding code manually into sidebar??
Last modified: August 19, 2016

---

# Mailchimp plugin – adding code manually into sidebar??

 *  [lister110](https://wordpress.org/support/users/lister110/)
 * (@lister110)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/mailchimp-plugin-adding-code-manually-into-sidebar/)
 * Hi everyone, I have installed the wordpress plugin for Mailchimp and want this
   to appear in my sidebar. Problem is I cant use the widget as it will override
   the sidebar settings which are not using widgets. In the mailchimp help document
   it says you can use
 * mc_display_widget();
 * but I cant seem to get this to show in the sidebar if add this code directly 
   into the sidebar.php
 * could someone please help..
 *     ```
       <h3 class="dbx-handle">Sign up</h3>
       <div class="dbx-content">
       mc_display_widget();
       </div>
       ```
   
 * site (tests are local though)
    [http://www.steam-uk.com](http://www.steam-uk.com)
 * Thanks
 * Rob

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

 *  [tomcrichton](https://wordpress.org/support/users/tomcrichton/)
 * (@tomcrichton)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/mailchimp-plugin-adding-code-manually-into-sidebar/#post-1227963)
 * I think you should put <?php mc_display_widget(); ?> instead. mc_display_widget();
   is a php function and you need to tell the browser that you’re using the php 
   language- which is what <?php … ?> does.
 * This could be entirely wrong, it’s just what I’ve worked out from messing with
   themes.
 *  Thread Starter [lister110](https://wordpress.org/support/users/lister110/)
 * (@lister110)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/mailchimp-plugin-adding-code-manually-into-sidebar/#post-1227975)
 * thanks… is there a way to edit the html of a widget? I added the php and it worked
   but I have a rogue legend appear in the fields which I would like to comment 
   out?
 * rob
 *  [tomcrichton](https://wordpress.org/support/users/tomcrichton/)
 * (@tomcrichton)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/mailchimp-plugin-adding-code-manually-into-sidebar/#post-1227982)
 * Sure is. Go to “editor” under the plugins tab. Then, by “select plugin to edit:”,
   pick the mailchimp plugin, and click select. There are a few files in there that
   you could edit, but you’ll have to poke around to find out what one.

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

The topic ‘Mailchimp plugin – adding code manually into sidebar??’ is closed to 
new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [tomcrichton](https://wordpress.org/support/users/tomcrichton/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/mailchimp-plugin-adding-code-manually-into-sidebar/#post-1227982)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
