Title: Widget syntax
Last modified: August 31, 2016

---

# Widget syntax

 *  Resolved [softblooper](https://wordpress.org/support/users/softblooper/)
 * (@softblooper)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/widget-syntax/)
 * Hi, great plugin!
 * Just wondering how to format the optional **Filter** in the widget? For example,
   in the space provided I can’t get “tag=good” or tag=”good” to work. Is there 
   documentation.
 * Also for the **Attribute** field, what options are available?
 * I am using 4.4.1 so that might be part of the problem.
 * Thanks.
 * [https://wordpress.org/plugins/mendeleyplugin/](https://wordpress.org/plugins/mendeleyplugin/)

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

 *  Plugin Author [kochm](https://wordpress.org/support/users/kochm/)
 * (@kochm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/widget-syntax/#post-6930349)
 * We have some documentation and examples in the readme.txt – So for the filter
   filter=”tag=good” should work – If it does not, please send more information 
   about the problem and I will check. What do you mean by “attribute field”?
 *  Thread Starter [softblooper](https://wordpress.org/support/users/softblooper/)
 * (@softblooper)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/widget-syntax/#post-6930401)
 * Hi, thanks for the response.
 * So in the widget, which is working at some level for me already, there are a 
   few options. In my version the widget (called Mendeley Collection) has a **title**,**
   collection type**, **Id**, **number of docs,** **filter**, and **attribute value**
   fields. I’ve used the first 5 and do successfully get output. I’d like to take
   advantage of the filter, and I am not sure about the attribute value. I don’t
   know what syntax to use in these last 2 cases, everything I’ve tried hasn’t worked.
   I couldn’t find any info about this particular question in the readme.txt.
 * The plugin itself is working well on a main page using shortcodes.
 * Thanks!
 *  Plugin Author [kochm](https://wordpress.org/support/users/kochm/)
 * (@kochm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/widget-syntax/#post-6930463)
 * Okay. So it is the widget only that does not work as it should. I will have a
   closer look at this next week.
 *  Plugin Author [kochm](https://wordpress.org/support/users/kochm/)
 * (@kochm)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/widget-syntax/#post-6930486)
 * I found the bug and corrected it in v 1.1.7 of the plugin – which should be available
   on wordpress.org in the next hours.

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

The topic ‘Widget syntax’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mendeleyplugin.svg)
 * [Mendeley Plugin](https://wordpress.org/plugins/mendeleyplugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mendeleyplugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mendeleyplugin/)
 * [Active Topics](https://wordpress.org/support/plugin/mendeleyplugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mendeleyplugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mendeleyplugin/reviews/)

## Tags

 * [widget](https://wordpress.org/support/topic-tag/widget/)

 * 4 replies
 * 2 participants
 * Last reply from: [kochm](https://wordpress.org/support/users/kochm/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/widget-syntax/#post-6930486)
 * Status: resolved