logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$35
develop basic plugin to help get me started

Please note a partial refund of $32 has been granted. This will be subtracted from the prize.

well, hello

I would you to help me out creating the first steps of a plugin with a widget, rather basic as I will add functionality myself - just need someone to get me started

When the widget is added to a page it will save a text string "test" to the post meta, from then on if the meta exists on the page it will display the meta ("test" in this case") in the contents. There should be a properties page under the settings menu which lists all the pages with this meta and the contents of it, with the option to delete it

- widget that saves some test text to a post meta if it does not already exist, if it exists show the text in the widget area and not try to save again

- options page that appears under settings
-- options page to list pages that have have this meta and the contents
-- option to delete post meta

This question has been answered.

npeplow | 11/05/11 at 8:42pm Edit


The experts have suggested, on average, a prize of $70 for this question.

(2) Possible Answers Submitted...

This question had 3 challenges to its refund request.

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    11/06/11
    12:05pm
    Francisco Javier Carazo Gil says:

    Well, I'll try to explain you all as brief as I can.

    First, you'll need to create a file called: "myplugin.php" in /wp-content/plugins or a directory and a file inside it.

    Header
    In header of this file you will specify the general data of your plugin:


    <?php
    /*
    Plugin Name:
    Plugin URI:
    Description:
    Version:
    Author:
    Author URI:
    License:
    */
    ?>


    Post meta
    To interact with post_meta you have this functions:
    add_post_meta()
    delete_post_meta()
    update_post_meta()
    get_post_meta()


    You can see parameters in: http://codex.wordpress.org/

    Widget
    You'll need to create a function:

    function widget_creator($args) {
    extract($args);
    echo $before_widget;
    echo $before_title;?>Your widget ttile<?php echo $after_title;
    // fill widget info
    echo $after_widget;
    }


    Administration
    This part is long to explain. I recomend you to read this refer: http://codex.wordpress.org/Adding_Administration_Menus

    I hope it helps!

    Previous versions of this answer: 11/06/11 at 6:22am | 11/06/11 at 12:05pm | 11/06/11 at 12:05pm

    • 11/06/11 8:15am

      npeplow says:

      Hi Francisco

      Thanks for the suggestions, I am really looking to get this delivered to me as a finished item I can just upload

  • avatar
    Last edited:
    11/06/11
    11:15am
    Luis Cordova says:

    hi npeplow

    do this, and you will get your plugin almost ready, try searching on the plugin search section about a plugin with minimal functionality with a widget and related to doing saving the text and such, it will give you several plugins where to start modifications, you can even try them and see where they are at and decide where to start yourself and with which one.

    That will give you a working piece of a startup, hope that helps

This question has expired.



Lawrence Krubner had additional discourse to offer.

Lawrence Krubner, Gabriel Reguly, Sébastien | French WordpressDesigner voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.