Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to manually install to any area of the site?

  • Profile photo 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)
  • Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Try the info in this thread:
    https://wordpress.org/support/topic/281349

    Profile photo 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)
  • The topic ‘How to manually install to any area of the site?’ is closed to new replies.
Skip to toolbar