Title: Plugin for sidebar HELP
Last modified: August 18, 2016

---

# Plugin for sidebar HELP

 *  [ssdesign](https://wordpress.org/support/users/ssdesign/)
 * (@ssdesign)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/plugin-for-sidebar-help/)
 * Hi,
    I have written a quick plugin and I have a question.
 * I followed one plugin which was written for WRITE POST.
 * Now following the code, I have been able to create a plugin which can display
   the content by using <!–mytag–> in a write post section.
 * I was wondering what do I need to do so that I can use a tag in the SIDEBAR php
   code to display the same content in sidebar.
 * thanks

Viewing 1 replies (of 1 total)

 *  [mutube](https://wordpress.org/support/users/mutube/)
 * (@mutube)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/plugin-for-sidebar-help/#post-388845)
 * You just need to put code like:
 * `<?php your_function_name(); ?>`
 * In your sidebar where you want it to appear. The function name is whatever function
   in your plugin generates the output. If you haven’t got one (i.e. your “content”
   is in a variable) just do a dummy function to echo it out.
 * Hope that helps.

Viewing 1 replies (of 1 total)

The topic ‘Plugin for sidebar HELP’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [mutube](https://wordpress.org/support/users/mutube/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/plugin-for-sidebar-help/#post-388845)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
