WordPress.org

Support

Support » Plugins and Hacks » Top 10 - Popular posts plugin for WordPress » [Plugin: Top 10] Idea: Shortcodes

[Plugin: Top 10] Idea: Shortcodes

  • Could the manual plugin placement be added as two shortcodes to the default plugin install? Currently I’ve installed the Shortcode Exec PHP plugin solely to have this made into a shortcode [top10daily]:

    if(function_exists(‘tptn_show_daily_pop_posts’)) tptn_show_daily_pop_posts();

    Later on I’ll be making a similar one for the most popular of all time. All this is done to avoid having allowing PHP in pages and to avoid having to do any file edits as they are more complicated to administer.

    When the widget options are updated then these two shortcodes would be deprecated by one that takes options. Up until that they would rock and since then they could be allowed to function as they used to not force users to change settings due to a plugin update.

    http://wordpress.org/extend/plugins/top-10/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ajay

    @ajay

    Daedalon, this is on my TODO list for this and a few other plugins I author

    Great! I tried implementing it already, but noticed it needs adding separate handler functions. As I got a workaround GUI by Shortcode Exec PHP that suffices, I’ll look into other matters while waiting for your update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Top 10] Idea: Shortcodes’ is closed to new replies.
Skip to toolbar