Forums

[Plugin: The Holy Scripturizer] Feature Request - Exclude Pages (1 post)

  1. wereveal
    Member
    Posted 3 years ago #

    Greetings, love your plug-in. However, I just today realized that I had a problem page, namely, a page that is an online guide to reading the Bible through in a year - it lists the entire Bible on the page, passages for each day to read. Talk about a slow page to load when THS is active for the page. It was literally trying to load the entire Bible (Doubt ESV was happy about that).

    Anyway, adding a simple "Exclude these pages" feature would be nice. I fixed my problem by adding to the scripturizer.php page

    if( $_SERVER["REQUEST_URI"] == "/bible-reading/" ) {
    // don't do anything
    } else {
    all your code
    }
    If you had an exclude list, it could be something like
    if( find_in_excludes( $_SERVER["REQUEST_URI"] ) )
    where find_in_excludes is a simple function that matches against the list.

    http://wordpress.org/extend/plugins/the-holy-scripturizer/

Topic Closed

This topic has been closed to new replies.

About this Topic