Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to manually install to any area of the site?

  • Avatar of ri-kun
    ri-kun
    Participant

    @ri-kun

    How can I manually install or put this widget. I mean adding it to a certain area of the site without doing it in APPEARANCEC > WIDGET?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Try the info in this thread:

    http://wordpress.org/support/topic/281349

    Avatar of Mark
    Mark
    Participant

    @markhahnel

    So we should be coding in something like this no? @r-a-y – I have no joy with this.

    $instance = array(“title” => “Featured Member”, “number” => 9);
    $args = array(“title” => “Featured Member Widget”, “before_title” => “

    “, “after_title” => “

    “);
    $sb = new My_Widget_Class();
    $sb->number = $instance;
    $sb->widget($args,$instance);

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

You must be logged in to reply to this topic.