Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bamaguy

    (@bamaguy)

    Bump… are we the only ones that want to have a snippet of a gallery to show in the post?

    This should work, but requires editing wp-login.php

    Edit wp-login.php after:
    <?php

    Add:
    define('THIS_SCRIPT', 'login');

    Edit register-plus.php after:

    /*
    Plugin Name: Register Plus
    Plugin URI: http://skullbit.com/wordpress-plugin/register-plus/
    Description: <strong>WordPress 2.5+ ONLY.</strong> Enhance your Registration Page.  Add Custom Logo, Password Field, Invitation Codes, Disclaimer, Captcha Validation, Email Validation, User Moderation, Profile Fields and more.
    Author: Skullbit
    Version: 3.5.1
    Author URI: http://www.skullbit.com
    
    LOCALIZATION
    Place your language file within this plugin directory and name it "regplus-{language}.mo" replace {language} with your language value from wp-config.php
    
    CHANGELOG
    See readme.txt
    */

    Add:
    if (THIS_SCRIPT == 'login' OR WP_ADMIN == 'TRUE') {

    Still in register-plus.php find:
    ?>

    Add before it:
    }

    This reduced my queries per page to 18 from 27 on every page and my register plus plugin still works.

    Maybe there is a way to do it without editing files but I’m not that good with wordpress.

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