Suggestions for writing flexible and usable plugin

After the release of Custom Function Widgets plugin I also wrote about it in the WordPress support forum. Fellow forum contributor Otto42 (author of a very similar plugin: ExecPHP) had very interesting things to say regarding the plugin development in general. Really worth reading and discussing.

4 Comments

Stephen R 1 year, 11 months ago

I would like to see the Widget-making tutorial you talked about doing. :)

(BTW — this site assumes a wide browser. Very cramped on smaller screen!)

Kaspars 1 year, 11 months ago

Stephen, thank you for reminding me that — I’ll definitely add it to the planned articles list.

Regarding the browser width, could you please tell me the resolution of the monitor you are using? I have designed this layout to have the same content width both in 1024px and wider browsers (I am using 1440×900px or the wider laptop monitor).

Your thoughts and ideas on how to improve the layout would be really helpful. The more I look to this design, the more I feel confused about the elements visitors do see first and would like to see.

Stephen R 1 year, 11 months ago

laptop with 1024×768 resolution, but I _rarely_ run the browser in fullscreen. I have to resize for your site, where most other sites adjust without too much problem.

My best suggestion is that you set a min-width for the content area.

Kaspars 1 year, 11 months ago

Stephen, I have always avoided using min-width because of the horizontal scrollbar which in my opinion is much worse than squeezed but readable content. Maybe setting the min-width for the whole content area to a value which doesn’t make the main content column narrower than 470px is a good idea. Thanks for the suggestion.

Leave a comment

Note: Basic HTML formatting is allowed. If you post HTML or PHP fragments, wrap them with <code>...</code> which will automatically encode the HTML entities.

Es vienmēr tevi mīlēšu, Sirsniņ!