Support » Plugin: WP Favorite Posts » Broken, includes shiny PHP errors

Viewing 5 replies - 1 through 5 (of 5 total)
  • auto show is resolved by adding the following line to the wpfp_init method

    function wpfp_init() {
     $wpfp_options['autoshow'] = ''; // 'before' || 'after'

    register_widget_control has been resolved in latest version.

    Also noticed that if i upgrade the plugin and its got new values in the wpfp_options it has an issue with undefined indexs.

    i have to add the following and change add to update

    function wpfp_init() {
    $wpfp_options['opt_only_registered']= 1;
        update_option('wpfp_options', $wpfp_options);

    I also had to deactivate and re-activate the plugin for the update_option to set the value.

    Plugin Author Huseyin Berberoglu


    emile.swain thanks for codes. I’ve just upgraded the plugin and fixed them.

    Nice work Emile! I should have probably contributed that myself =/

    I’ve actually had my hands full reviving a couple of old 2.9 era plugins and couldn’t get distracted by another.

    Great job.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Broken, includes shiny PHP errors’ is closed to new replies.