Daiko’s Text Widget

Adds a sidebar widget to display text, includes php-code capability. Includes conditional tag testing to specify where to display. The widget is basically an extension of the Execphp widget by Otto at http://ottodestruct.com.

Download

Download Daiko’s Text Widget v. 0.9.4 here.

Installation

  1. Copy the daikos-text-widget folder to your /wp-content/plugins/ folder
  2. Activate the Daiko’s Text Widget on your plugin-page.
  3. Drag the Daiko’s Text Widget to your sidebar and add your own content including php code if needed. Optionally specify whether to display only on home, pages, posts, posts in specific category/-ies (includes also display on category archives) or category archive. Specify even more if you like with slug/ID/title.

Good Luck!

28 Responses to “Daiko’s Text Widget”


  1. I am using the Youtube Video widget and the text box widget on the site milliondollarhunch.com

    All the text is lining up to the right of the side bar.

    Do Iedit the CSS in DYTWWrapperOuterMedium to compensate for this? I have the video size set to Medium and I’ve been searching through the code of the actual theme itself….to no avail?

    Any suggestions would be awesome!!

    Thanks,

    John

  2. Thanks a lot for you plugin. It’s what i was looking since days :)

  3. Firstly, great widget.

    Secondly, is there anyway I could use this widget to support embedding things using the [square brackets] method of embedding? That way, anything I could embed in normal posts, I could embed in my sidebar using this. That would be very handy!

  4. Hi Drew,

    If I understand your question correct, you are talking about the kind of functionality some plugins give you. Many plugins use square brackets to identify elements that than trigger particular plugin actions. This is linked to a filter function in the core WP system. In order for them to work in the sidebar you probably can call the functions directly and some plugins explain how that is done. The square bracket method will only work within “The Loop” in your main section due to the before mentioned filter use.

    In this text widget you can call any php function that is activated on your site so as long as you know the name of the function and it’s parameters you’ll be able to do what you ask for.

    Since I don’t know exactly what plugin you refer to I’m unable to give you more support.

    Daiko

  5. Thanks for the help Daiko. That is exactly what I am trying to do, sorry it hard to explain it because I don’t know the terminology. The video embed plugin I am using is this one:
    http://www.jovelstefan.de/embedded-video/

    I have posted a similar question on that website, and on wordpress.org but nobody has really helped (except you of course!).

    Any ideas?

  6. Hi Drew,

    I’ve taken a quick look at the embedded-video plugin and can’t seem to find a php function to call to bypass the square bracket call. If you’re after a way to display videos in your sidebar you might want to consider one of my widgets found here.

  7. Hey Daiko,
    Thanks so much for doing that, it is more than enough. I would love to use one of your widgets, but I really need to be able to link to my own .flv’s. I didn’t think it was possible with you widget, is it? I don’t want to have to upload them to YouTube etc. every time as the encoding is terrible for what I want.

    Thanks again!

  8. Daiko, I just had an idea on how to do this with you text widget! What if I used your text widget to create a wordpress loop (http://codex.wordpress.org/The_Loop) that only called a specific ‘Page’? Say, a page called “Video Highlight”? Do you think that would work? If it would, then I would have an easy to update widget that can display anything! I have no idea on how to do it, so before I go out an learn how I thought I would ask you first if you think it is possible.

    Thanks again for the help.

  9. Thanks for a super widget.

    I wound up hacking the conditional tag checks to only display the before_widget and after_widget text if the widget text was to be displayed; otherwise a non-displaying widget broke the layout using the Cutline theme.

  10. Daiko: Great widget!!

    Katja: Can you share your hack? I’d love to hide the widget completely if it’s not going to be displayed. Thanks!

  11. Hi Katja and Don,

    Excellent point. Will be fixed tomorrow.

  12. Katja

    Version 0.9.3 should play nicer and not include the before and after code for widgets. I’ve kept the comment code though just to assist in debugging if you have lots of text widgets.

  13. Daiko:
    Excellent! Thanks for the new version.

  14. 14Garrett

    Hi–

    I am having a problem with this plugin. The string, “–>” is always written to the sidebar at the end of the last instance of the widget. How can I get rid of this?

    Thanks,
    Garrett

  15. hi there .thanks for plugin:

    Does anybody know if tis script is compatible with Wordpress 2.5.1 ?

    Thanks in advance for any help on this!

    best regards

    baron

  1. […] Daiko’s Text Widget […]

  2. […] Daiko’s Text Widget […]

  3. […] Visit […]

  4. […] Daiko’s Text Widget 0.9.3 (Rune Fjellheim) : Un widget permettant indifféremment de gérer du texte ou du code PHP. Je m’en sers pour gérer la colonne centrale de ce blog. […]

  5. […] are getting from specific websites you can always use some ingenuity to create your own. By using Daiko’s Text Widget and some quick PHP code you can create a special welcome for any visitors you want. The great thing […]

  6. […] Text Widget http://www.daikos.net/widgets/daikos-text-widget/ This little plugin, will allow you to put php code into a widget so you can have those php scripts […]

  7. […] Plugin Homepage […]

  8. […] is a combination of two plugins: Enhanced Links, which is what opens and closes each heading, and Daiko’s Text Widget, which allows not only text but also takes PHP code. The PHP code pulls the category info from the […]

  9. […] Daiko’s Text Widget 0.9.3 (Rune Fjellheim) : Un widget permettant indifféremment de gérer du texte ou du code PHP. Je m’en sers pour gérer la colonne centrale de ce blog. […]

  10. […] Daiko’s Text Widget […]

  11. […] Daiko’s Text Widget […]

  12. […] Daiko’s Text Widget 0.9.4 » Rune Fjellheim (url) Works basically like the Text widget, but it will also take PHP code and includes conditional tags to specify where to show. An extension of the Execphp widget by Otto at http://ottodestruct.com. […]

  13. […] got to frustrating, but i searched on the web and found this great text plugin by Daiko. Click Here to for link to page where you can download […]

Leave a Reply



Bad Behavior has blocked 3627 access attempts in the last 7 days.