• Resolved Hugh Lashbrooke

    (@hlashbrooke)


    This isn’t a support ticket, but merely a couple of feature requests that would be nice additions if they fit into your goals for the plugin:

    • Adding my WP.org username to the plugin settings so that it automatically fetches my plugins for the dashboard widget
    • Option to show a random plugin from a set – would be cool as a widget to display a different plugin on each page load

    Just some small things that would be cool if they’re features that you want to add 🙂

    https://ww.wp.xz.cn/plugins/wp-plugin-info-card/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Brice Capobianco

    (@brikou)

    Hi Hugh,
    Thanks for your suggestions, unfortunatly there is no USER API on ww.wp.xz.cn: http://codex.ww.wp.xz.cn/ww.wp.xz.cn_API
    So I can’t automaticaly grab author’s plugins list.

    But your second suggestion sounds good. I’ll do something for this. Eg: adding a comma separated list of slugs in the shortcode then randomly display one from the list.

    Thread Starter Hugh Lashbrooke

    (@hlashbrooke)

    Fair enough – didn’t know about the API restrictions there.

    Thanks for considering the second feature – will be cool to have that added in 🙂

    Plugin Author Brice Capobianco

    (@brikou)

    I was thinking add :

    //Random slug - comma seperated list
    	if (strpos($slug,',') !== false) {
    		$slug = explode(',',$slug);
    		$slug = $slug[array_rand($slug)];
    	}

    in wp-plugin-info-card-shortcode.php line 71.
    What do you think?

    Thread Starter Hugh Lashbrooke

    (@hlashbrooke)

    Yeah that looks like it should work – that’s probably how I would do it too 🙂

    Plugin Author Brice Capobianco

    (@brikou)

    Cool 🙂
    Will be added in the next release. With some other cool stuff!

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

The topic ‘Feature requests’ is closed to new replies.