ThemeShaper Forums » Thematic

Modifying a widget

(6 posts)
  • Started 10 years ago by sharninder
  • Latest reply from sharninder
  • This topic is resolved

Tags:

  1. Hi,

    I'm new to thematic (and coding wordpress themes) and have been trying to understand how widgets work in thematic.

    I have the rsslinks widget in my blog's sidebar and want to change the look of it. I'd specifically like to add some icons/buttons etc to the widget.

    Now, I can see that the default code comes from widgets.php. Is editing it the only way to modify the widget display code ? I'd like to have a way to do this in my child theme rather than mess with the original thematic code.

    Is there any way to do what I want ?

    Posted 10 years ago #
  2. Any suggestions guys ? I'd really like a helping hand here.

    Posted 10 years ago #
  3. What exactly do you want to modify? If it's just the look you want to change, you should be able to do this through your style.css in your child theme folder.
    If you want to do something that can't be affected by CSS (add inputs, make the widget display differently on different pages etc) you'll probably have to edit the widget or unload it and create a new one. As far as I know, Thematic doesn't have any hooks or actions for third-party widgets.

    Posted 10 years ago #
  4. I want to add a couple of icons, add a text entry box for entering the email address, and a link to the feed. I'm not sure if this can be done using only CSS. Any ideas ?

    Posted 10 years ago #
  5. Hi,

    Thematic can use all available and well-programmed third-party widgets!

    Go to wordpress.org and search in the Plugin Directory for 'widget feedburner' for example. It'll come up with two pages full of results. You could use the Subscribe widget for the email subscriptions for your newsletter ..

    .. or you could use the standard text widget with pure html code to integrate buttons or whatever .. and .. no, this can't be done using pure CSS.

    Chris

    Posted 10 years ago #
  6. Thanks Chris. Looks like writing my own widget is the best way to go then, in my case.

    Posted 10 years ago #

RSS feed for this topic

Reply

You must log in to post.