Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Fixing WordPress
    In reply to: Home Page Help
    Thread Starter retired2006

    (@retired2006)

    Thanks Tara, but I have to admit I’m not very knowledgeable when it come to PHP. I think I can find the theme’s function file, but is there a special place to put those lines, or can I put them anywhere?

    Here is my function file:

    <?php
    /**
    *
    * This program is free software: you can redistribute it and/or modify
    * it under the terms of the GNU General Public License as published by
    * the Free Software Foundation, either version 3 of the License, or
    * (at your option) any later version.
    *
    * This program is distributed in the hope that it will be useful,
    * but WITHOUT ANY WARRANTY; without even the implied warranty of
    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    * GNU General Public License for more details.
    *
    * You should have received a copy of the GNU General Public License
    * along with this program. If not, see <https://www.gnu.org/licenses/&gt;.
    *
    *
    * @package WordPress
    * @subpackage TravelBlogger
    * @since TravelBlogger Theme 1.0
    */

    // Define directory constants
    define(‘EXP_LIB’, get_template_directory() . ‘/lib’);
    define(‘EXP_ADMIN’, EXP_LIB . ‘/admin’);
    define(‘EXP_FUNCTIONS’, EXP_LIB . ‘/functions’);
    define(‘EXP_CLASSES’, EXP_LIB . ‘/classes’);

    // Launch Theme within WordPress
    require_once(EXP_FUNCTIONS . ‘/launch.php’);

    // Load theme functions
    require_once(EXP_FUNCTIONS . ‘/layout.php’);
    require_once(EXP_FUNCTIONS . ‘/components.php’);
    require_once(EXP_FUNCTIONS . ‘/widgets.php’);

    if(is_admin()) {
    // Adds options to Appearance tab in admin area
    require_once(EXP_ADMIN .’/opt_theme_layout.php’);
    require_once(EXP_ADMIN .’/opt_colors_fonts.php’);
    require_once(EXP_ADMIN .’/opt_social_media.php’);
    // Loads classes
    require_once(ABSPATH . ‘wp-admin/custom-header.php’);
    require_once(ABSPATH . ‘wp-admin/custom-background.php’);
    require_once(EXP_CLASSES . ‘/custom-background.php’);
    require_once(EXP_CLASSES . ‘/custom-header.php’);
    require_once(EXP_CLASSES . ‘/custom-footer.php’);
    // Adds admin only functions
    require_once(EXP_FUNCTIONS .’/admin.php’);
    }

    Forum: Fixing WordPress
    In reply to: Home Page Help
    Thread Starter retired2006

    (@retired2006)

    I just created a new “user” and login with one of my other email accts. As if it was a real subscriber. I figured it would be the best way to see the site as my family would see it (its going to be a family site), and a lot of them can get confused very easily. ??
    thanks, Jim

    Forum: Fixing WordPress
    In reply to: Private Site
    Thread Starter retired2006

    (@retired2006)

    Thanks, that will work great!

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