Forums

Widget Creation. Call Plugin Help :( (4 posts)

  1. lash92
    Member
    Posted 3 years ago #

    Hi there, i've been using Wordpress for a couple of months now along with the Widget sidebar + other plugins.

    However, i can't use some plugins because they need to appear in the sidebar.php - but i can't integrate them directly, because am using the Widget plugin.

    Can anyone help me please, on how to create a widget plugin. am not asking for anything too complex, i hope.

    I have a piece of code to call a plugin from the wp-content/plugins folder.

    Example :

    if(function_exists('show_playlist')) { show_playlist(1, " - ", "") ; } ?>

    That's the piece of code i want to call, can anyone help me about that?

    that'll be great. thx.

    p.s : that's a plugin to show what song am playing which should be displayed in the sidebar.

  2. Yosemite
    Member
    Posted 3 years ago #

  3. lash92
    Member
    Posted 3 years ago #

    Thx yosemite for the reply.

    i've been to this page, but i'm lost in all those lines of codes :S i am not really the coding type of person.

  4. samsarin
    Member
    Posted 3 years ago #

    Lash,

    You can use my Samsarin PHP Widget. It allows you to put the PHP code straight into the widget, thus showing up on your sidebar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags