• Resolved fxpepper

    (@fxpepper)


    not sure if I am posting in the right spot but if I want to edit through putty -how do I know which files to edit? I have several files…

    thanks

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter fxpepper

    (@fxpepper)

    still not sure on the php code. So this colors.php file overrides the colors.css? I am not sure how to fix…???
    will have to investigate this more this weekend when I have a bit more time.

    Well the background color can be set via the theme options in the Dashboard.

    Appearance>Theme Options

    As far as how it’s all controlled. (grab a coffee/break), as I understand it.

    In the functions.php – At lines 588-598 see this code?

    <?php
    }
    
    function neutica_wp_head() { ?>
    <link href="<?php bloginfo('template_directory'); ?>/colors.php" rel="stylesheet" type="text/css" media="screen, projection" />
    <?php }
    
    add_action('wp_head', 'neutica_wp_head');
    add_action('admin_menu', 'neutica_add_admin');
    
    ?>

    This is what is called from the color.php in this code.

    <?php
    require_once( dirname(__FILE__) . '../../../../wp-config.php');
    require_once( dirname(__FILE__) . '/functions.php');
    header("Content-type: text/css");
    
    global $options;
    
    foreach ($options as $value) {
        if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
    ?>

    Not too sure, but I think the php has a higher heirarchy than the css stylesheet.

    Maybe someone can clarify that for us. I’m new to wp theming. Been doing phpbb3 for the last little bit. ??

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘editing through putty’ is closed to new replies.