Skip Navigation

[Geschlossen] Widget Title bug

This support ticket is created vor 10 Jahre, 10 Monate. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by Matthew vor 10 Jahre, 10 Monate.

Assigned support staff: Mario.

Author
Artikel
#7589

Just installed views 0.95 and think I have found a bug in the Views Widget.

When you enter a plain text title into the widget title field, it renders invalid HTML.

Example:
I enter a widget title of "MyWidgetTitle" and click save
What comes out on the front-end of the website is "<a href=MyWidgetTitle</a>"

Some thoughts:
I would love for the views widget to be more fully developed. For now what I've been doing is using an HTML and PHP widget and calling my views with
<?php echo do_shortcode( '[wpv-view name="MyViewTitle"]' ) ?>

This gives me a lot more flexibility than the current WP-Views Widget. Unfortunately its not very user friendly for my editors.

Thanks for your dedicated maintenance to this plugin. I look forward to the continued development and growth of wp-views. Huge potential here.

#7620

Hi Matt,

Widget title is not URL seeded normally so if you set a title as a plain text, it is wrapped inside of a heading tag or other theme-related one. We don't do any formatting or display management for the specific widget.

As for the restriction, what else would you need in addition to the list with views to be displayed in a widget?

Regards,
Mario

#7669

Thanks Mario. I don't have time to investigate the url seeding problem so I'm just gonna stick with my work around method. Also, I'm lazy 🙂

Re: Widget features. Some things that I would use if they were available:

A simple, lamen interface for linking the widget-title to a custom url.

A field for adding static text/links above or below the view.

Max number of posts to display. The pagination method for doing this is clumsy.

HERE's AN IDEA: A tool that allowed you to add/edit custom view widgets and add/edit custom fields to each individual widget... that would be AWESOME. I would widgetize my entire theme and put view widgets everywhere!

Das Thema „[Geschlossen] Widget Title bug“ ist für neue Antworten geschlossen.