• Dear Michael,

    thanks for developing this widget. You’ve been so thorough; it’s really handy for me.

    You made it really comfortable for your users to style their feeds from inside their admin panel. I’d love to see a fourth template option for feed styles, however, and that would be a template that doesn’t apply any styles through JavaScript at all. So that all styles can easily be assigned through CSS, and no clumsy “! important” or heavy selector usage is needed.

    Thanks!

    https://www.ads-software.com/plugins/fetch-tweets/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi emilyTK,

    I appreciate your suggestion. I’m having a bit hard time fully understanding your idea though.

    The built-in Plain template does not use JavaScript to apply styles to the output. The intent buttons like Reply, Retweet, Favorite has some JavaScript scripts attached.

    Nonetheless, I kind of understand the need of another template that does not use the !important notations. The name Plain is already taken so what would you suggest?

    Thread Starter emilyTK

    (@emilytk)

    Uh-oh, sorry I was jumping to conclusions.
    Anyways, styles are stored inside the HTML style attribute, as seen in the picture I linked to below. Element styles are just a pain to override through CSS. That’s what I’m asking to get rid of.

    https://i.imgur.com/ufLzo38.png

    The question how to name that template is a very good one. ?? Howwww about “unstyled”, or “markup only”, or “bare”?
    Since “bare” is a short, and well-known term in programming, and it also speaks for itself, it might be the best I’m coming up with here. 8)

    Plugin Author miunosoft

    (@miunosoft)

    Okay. So it does not have to have a setting page, does it?

    Thread Starter emilyTK

    (@emilytk)

    That’s right. Safe if you’d like giving code kittehs like me the option of removing or including bits from the markup output.

    That is to say, it could have “visibility” settings for images, button labels, etc., but they could work differently: If a plugin user were to choose not to show the twitter profile image, or the retweet icon, it could be completely excluded from the markup output.
    The user could then even make their own functionality icons; for instance by using an icon font for fetch-tweet-intent-button list items.

    So it would be easier to do stuff like this (and much more!):
    https://i.imgur.com/TFYZzxP.png

    My understanding of backend programming is really very basic. Sorry if I’m asking for too much!

    Thread Starter emilyTK

    (@emilytk)

    I suppose it’s coming down to filtering the API in the bare template settings?

    Plugin Author miunosoft

    (@miunosoft)

    That is to say, it could have “visibility” settings for images, button labels, etc., but they could work differently: If a plugin user were to choose not to show the twitter profile image, or the retweet icon, it could be completely excluded from the markup output.
    The user could then even make their own functionality icons; for instance by using an icon font for fetch-tweet-intent-button list items.

    I suppose it’s coming down to filtering the API in the bare template settings?

    It seems I’m having hard time understanding what you are envisioning.

    Have you created a custom template (of Fetch Tweets)? If not, I’d encourage you to do so. The instruction is available in the How to Create Own Template section in the Other Notes page.

    You should be able to customize the style whatever you want with it. Let me know if that does not satisfy your needs.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Feature request: plain style template’ is closed to new replies.