Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Not a reply, but maybe this could be of help?

    Thread Starter Patcha

    (@patcha)

    Widget title problem resolved, see this thread.

    Thread Starter Patcha

    (@patcha)

    ***GOT IT***

    For the people who want to change/add a widget title manually (and the Widget Sidebar doens’t give them this option):

    1. Look in the widget php-file for the following code:

    echo $before_widget . $before_title . $options[‘title’] . $after_title; ?>

    This is the php-code that makes the title of your widget show up.

    2. Insert the following code (the bold one):

    echo $before_widget . $before_title . $options[‘title’] = “WRITE YOUR WIDGET TITLE HERE” . $after_title; ?>

    3. Change the frase WRITE YOUR WIDGET TITLE HERE into the widget title you want to show up and save the document

    4. Replace the old widget php by the new customized one and be happy that you didn’t have to search halve a week for an answer;)))

    Needless to say that in most cases the Widget itself gives the user the option to change the title in the Presentation > Sidebar Widgets menu.

    Thread Starter Patcha

    (@patcha)

    Well, I got a little further, but I’m definitale lacking good PHP-knowledge.

    The title is produced by a code on the widget’s php-file that says:

    echo $before_widget . $before_title . $options[‘title’] . $after_title; ?>

    The HTML-validator translates this line to:

    <li id=”currex” class=”widget widget_curreX”><h2 class=”widgettitle”></h2>

    So it’s here that I should insert the title:

    <li id=”currex” class=”widget widget_curreX”><h2 class=”widgettitle”>HERE SHOULD BE THE WIDGET’S TITLE</h2>

    But as I only see the first piece of code in my PHP-file I’m really lost here. Hoping for suggestions;)

    Thread Starter Patcha

    (@patcha)

    Thanks supor1t, I posted before I read your reply! I will try to compare this widget’s php with one that does have an title option. When I find the solution I will post it here.

    Thread Starter Patcha

    (@patcha)

    I tried entereing a title in these pieces of code, buth that didn’t work out:

    function widget_curreX_options()
    {

    return array(
    ‘title’ => “”,
    ‘default_from’ => “USD”,
    ‘default_to’ => “USD”,
    ‘decimal_places’ => ‘2’
    );

    AND

    echo $before_widget . $before_title . $options[‘title’] . $after_title; ?>

    Is anybody less puzzle as I am;)

    Forum: Plugins
    In reply to: [New Plugin] My Page Order

    It actually does work with widgets (I’m running both plugins). Check the comments on the downloadsite to find out how.

    My gues: look in your style.css for the following line and change the color code:

    div.blog_item .item_title a {
    color:#646464;
    }

    To find your color code:
    http://colourmod.com/ and click “view demo”

    Forum: Plugins
    In reply to: Widget Sidebar / add on

    Maybe the Widgetize Anything plugin could be helpful.

    From the author’s website:

    There are many WordPress plugins that should be converted into sidebar widgets, made compatible with the Automattic Widget Plugin, but, for whatever reason, have not yet been converted. Wouldn’t it be nice if there were a generic way to call other plugins from within a sidebar widget? Now there is! Introducing…. Widgetize Anything!

    Basically, it works just like the built-in text widgets, except that it allows you to put in PHP code into the body of the widget.

Viewing 9 replies - 1 through 9 (of 9 total)