Freaky Trigger’s WordPress Setup

Widget Logic

FT had a complex sidebar, but I decided to ‘widgetise’ it when Steve updated the theme in early 2008. To keep some of the special widgets appearing only when needed, I wrote a plugin to extend the functionality of widgets. Widget Logic allows widgets to appear or not depending on standard WP conditional tags, such as is_home() and is_single() and so on.

If you want to contact me about it you should address yourself to the WordPress org directory and perhaps post on the forum there. Or you can leave a comment here, below. PLEASE READ THE FAQ AND OTHER NOTES in the WordPress plugin directory first though.

If you find Widget Logic useful to you, then you could consider a small donation to Cancer Research UK – click ‘Donate’ on the widget over to the right there –>

VIDEO TUTORIAL! Popup or view on YouTube a screencast by Daryl Lozupone. Thanks to him.

Podcast Channels

Podcast Channels is a plugin that augments WP’s RSS feed with some extra elements, mostly in the ‘itunes’ namespace. It works with existing features of WP (auto-enclosures and the media library) to make a simple way to podcast, and allows different metadata in different RSS feeds – you can have as many channels as there are categories, tags, even blog authors.

Like a lot of people I found PodPress increasingly frustrating to use around WP2.6. I still see lots of people using it, but I found it was interfering with too many aspects of WP – wysiwyg editing, the media library, and so on. But there were only two things it did that I liked – show download stats, and allow multiple podcasts on a blog with their own rss and iTunes metadata. So i wrote a couple of plugins to target just those functions.

(I may release the stats plugin some day, but it’s nothing special, a bit clunky, and I really don’t want to support it.)

Freaky Trigger Theme

This was designed by Steve Mannion @ ghostfood.tv

Comments

1 2 3 20 All
  1. 1
    Printer on 10 Apr 2008 #

    Hi Steve. Widget Logic looks like a really nice plugin, Will there be an update for WP 2.5? It seems I get an error (in firebug), and no input fieds in my widgets.

  2. 2
    Alan on 11 Apr 2008 #

    Hi, I am trying to get a 2.5 version working. A bit of me thinks it might not be worth it, as 2.5 allows you to define many more sidebars and configure them in an elegant interface.

    BUT to keep FT going and get us on to 2.5 I will get it working asap. (we’re on a patched version of 2.3)

    however until podPress updates to working ok with 2.5 i’m not exactly hurrying.

  3. 3
    Paul Walker on 15 Apr 2008 #

    Just another person chiming in, hoping for a 2.5 compatible update to widget logic. It’s a great plugin…

  4. 4
    Luis Enrique on 27 Apr 2008 #

    Hey, i’m another one. I hope the widget logic works with wordpress 2.5 version. Please. Is a great pluggin.
    The features of WordPress 2.5 sidebars never will be good than the excelent Widget Logic features.
    And you have the only one plugin that can do this, i been searching and i don’t find anything like widget logic.

  5. 5
    admin on 27 Apr 2008 #

    if you check the official site http://wordpress.org/extend/plugins/widget-logic/ you’ll see i did update the code to be 2.5 compatible

  6. 6
    zhrance on 30 Apr 2008 #

    Hi there FT, I am wondering what kinda plug-in do you use to get those great highlights in top of your webpage? (europop, poptimism, slugs on the radio) Let me know! :)

  7. 7
    admin on 30 Apr 2008 #

    the 3 lozenges at the top (europop, poptimims and slugs) don’t highlight tho? they’re just 3 DIVs in the HTML with an onclick:

    <div id=’head_europop’ onclick=”location.href=’/europop2008/'” title=”Europop 2008″>16 nations, your votes, EXPECT EMO</div>

    and the position and appearance are set in CSS. the HTML (defined in our themes header.php file) and the CSS (in the theme’s style.css file) are tailor made for FT – no plugin. sorry.

  8. 8
    zhrance on 1 May 2008 #

    Tnx for your fast reply. so it’s just html/css… not dynamic?

  9. 9
    admin on 1 May 2008 #

    what is there that you think IS dynamic? the images don’t change. there’s not even a simple roll-over effect on those items.

    the category bar (music/tv/games etc) and the functions (random/login etc) now those have some dynamicness that’s done with JS. but again no plugin – custom made code to fit with the theme design.

  10. 10
    baron on 10 May 2008 #

    hi. Thanks for plugin

    perfect.

    regards

  11. 11
    ovidiu on 15 May 2008 #

    can you help me out with a little logic ;-)

    I want a certain widget to be only displayed if its not on a certain page, something like is_not_page(‘551’) but I do not know how to write that condition :-(

  12. 12
    admin on 15 May 2008 #

    !is_page(‘551’)

    i think should do it

  13. 13
    ovidiu on 20 May 2008 #

    thx that worked.
    now I have a compatibility problem.

    I have 2 sidebars, with both showing on the homepage but only one on all other pages. So I need to use your plugin, to make 2 widgets from sidebar 1 to disappear on the homepage and appear on sidebar 2.

    I tried !is_home() for both widgets, but as soon as I save,both conditions disappear. It seems to work fine if I only use this condition on one widget, but as soon as I use this condition ob two widgets, liek I said, the conditions both disappear…

    any clue what could be wrong? did you test your plugin in a similar situation?

    can you try and use !is_home() on two widgets, and the nsave and see if that works for you?

  14. 14
    Alan on 20 May 2008 #

    (in case you check back, i did reply on the wordpress org forums for you. sorry our server went wobbly when you posted that)

  15. 15
    Michelle on 25 May 2008 #

    Hello, I just wanted to thank you for this plugin. I was at my wits’ end trying to wrangle different sidebars for different parts of my site into order, and this has made everything work like a dream!

  16. 16
    Fil on 25 May 2008 #

    Hi,
    thank you so much for this incredible plugin!
    I’d like to use it on my website but i have a problem: when i activate the plugin i receive some errors instead the sidebar like this:

    Warning: Illegal offset type in /web/htdocs/www.nomesito.com/home/wp-content/plugins/widget_logic.php on line 126

    reporting errors in line 126 and 129.
    Do you have idea why it happens?

    Thank you!

  17. 17
    Alan on 26 May 2008 #

    Looks like you are using a widget that doesn’t play by what i think the rules of widgets are! What widget plugins are you using?

    You could also try deactivating each of the widget plugins in turn to see if the problem goes away, then let me know which one causes the problem, and i’ll see what i can do to code around it.

  18. 18
    fab on 15 Jun 2008 #

    Hi Alan,
    thanks for your plugin. I want to use it because of the ttftitle thing, but I don’t know how to use it in this case. What code I have to add in my function.php or elsewhere to display the images?

  19. 19
    Alan on 15 Jun 2008 #

    There’s code on the other notes page of the plugin page on wordpress.org

    use that code, along with an add_filter like it explains, in your themes functions.php and that should do you.

  20. 20
    Brent Brigner on 18 Jun 2008 #

    Hello
    I would love to download your Widget and could you email me the download do you have to pay for it? do you have a 30day free trial?I do not have any assets right now and I am brand new at blogs and I would love more information on your Widget. Thank You for creating this-I sure would love to try it out.
    Thank You Brent & Jeannie

  21. 21
    Alan on 19 Jun 2008 #

    Follow the WordPress org directory link in the post above – they host the download.

  22. 22
    Seth on 21 Jun 2008 #

    I’m getting the same warning that Fil did above:

    Warning: Illegal offset type in /home/ioventur/public_html/wp-content/plugins/widget-logic/widget_logic.php on line 126

    Warning: Illegal offset type in /home/ioventur/public_html/wp-content/plugins/widget-logic/widget_logic.php on line 129

    I deactivated all widget plugins and it didn’t fix it but it did work once I changed my WP theme. The them that I was using was semiologic.

    Not sure exactly what the issue is with semiologic and your plugin.

    Thanks for any feedback.

  23. 23
    Alan on 21 Jun 2008 #

    I just tried out the semiologic theme (from here and it doesn’t work with WP2.5 very well even without widget logic – when you edit widgets it comes back with messy intermediate pages instead of the proper admin interface. Is there a 2.5 update?

    having said that i activated widget logic and i didn’t get your error right away, so it’s not as simple as Wp2.5 + SL theme + WL plugin = error. :-/ any more info gratefully received.

    theSL theme is quite complex and does do a lot of custom things to widgets: killing off WP’s built in widgets! and adding a ‘context’ option – a bit like what WL tries to do, and in a similar manner, but in a pre-2.5 manner.

    TRY THIS THOUGH:

    Look in semiologic/admin/widgets.php file, find “add_action(‘init’, ‘sem_widget_controls_init’);” and comment it out with a “#” at the start of the line. It looks like this deactivates semilogic theme’s “widget context” controls and stops clashing with widget-logic.

    It might disable other things – i just don’t have the time to check. But let me know how you get on.

  24. 24
    Max on 1 Jul 2008 #

    Very useful information. Thanks!!

  25. 25

    great plug in ideas Alan! I’m always looking for ways to facilitate networking with like-minded individuals. I especially appreciate unique tools that help me harness the power of web 2.0 and social bookmarking sites so I can make good use of my time. There’s nothing worse than spending countless hours online to build your online presence, while losing valuable time that you could be spending with your friends and family. Luckily, I’ve found tons of useful tools to meet like-minded individuals and network super efficiently. In this age of user generated content driving up a website’s ranking, content is king and getting that content in front of the right people is the name of the game! Keep up the great blog.

    Ana Hernandez, CEO Netrageouz.net
    http://www.netrageouz.net/toolbox.htm

1 2 3 20 All

Add your comment

(Register to guarantee your comments don't get marked as spam.)


Required

Required (Your email address will not be published)

Top of page