Forum Replies Created

Viewing 15 replies - 46 through 60 (of 62 total)
  • No problem.

    Thread Starter ruthcatrin

    (@ruthcatrin)

    Error fixes: I have no idea if these fixes are CORRECT, but they appear to get rid of the errors without breaking anything.

    Ok, fix for the error for line 906:

    to go edit themes and open the Theme Functions (functions.php) file

    Scroll about 1/4 of the way down till you see this:

    * Set stylesheet and few javascript
    *
    *
    *
    *
    */
    if(!function_exists(“add_raindrops_stylesheet”) and $wp_version >= 3.4 ){
    function add_raindrops_stylesheet() {
    global $raindrops_current_theme_name;
    $themes = wp_get_themes();
    $current_theme = $raindrops_current_theme_name;

    if(isset($themes[$current_theme][‘Version’])){
    $raindrops_version = $themes[$current_theme][‘Version’];
    }else{
    $raindrops_version = “0.1”;
    }

    $template_uri = get_template_directory_uri();

    Find the section I bolded and either deleted it or comment it out.

    For the errors for lines 2486 & 2487:

    Find the following code (about 2/3rds of the way down in the functions.php):

    /**
    * Template function print header image
    *
    * This function has filter hook name raindrops_header_image
    * @param array( ‘img’=> ‘image uri’ , ‘height’ => ‘image height’ , ‘color’ => ‘text color’, ‘style’ => ‘(default) background-size:cover;’ , ‘description’ => ‘replace text from bloginfo(description) to your text’,’description_style’ => ‘Your description style rule’)
    * @return string htmlblock <div id=”[‘header-image’]” style=”background-image:url([img]);height:[height];color:#[color]][style]”><p [description_style]>[WordPress site description]</p></div>
    */
    if ( ! function_exists( ‘raindrops_header_image’ ) and $wp_version >= 3.4){
    function raindrops_header_image($type = ‘default’, $args = array() ){
    $image_modify = get_theme_mods();
    $image_modify = $image_modify[header_image_data];
    $url = get_theme_mod( ‘header_image’ );
    $uploads = wp_upload_dir();
    $path = $uploads[‘path’].’/’. basename( $url );
    list($img_width, $img_height, $img_type, $img_attr) = getimagesize($path);
    $ratio = $img_height / $img_width;

    $raindrops_page_width = raindrops_warehouse_clone(‘raindrops_page_width’);
    switch( true ){

    Comment or delete the two bolded lines.

    If you’re having issues with the 100% fluid page width not working right, find the following code in functions.php (very near the top, less than 1/4 of the way down):

    /**
    * fluid page main column minimam width px
    *
    *
    *
    *
    *
    */
    if( !isset( $raindrops_fluid_minimam_width ) ){
    $raindrops_fluid_minimam_width = ‘481’;
    }
    /**
    * fluid page main column maximam width px
    *
    *
    *
    *
    *
    */

    if( !isset( $raindrops_fluid_maximam_width ) ){
    $raindrops_fluid_maximam_width = ‘1280’;

    Correct the spellings of minimum and maximum…..

    Ok, got a fix for those other errors (assuming they were the issue you were having, again, not sure this is the CORRECT fix, but it gets rid of the error and doesn’t appear to break anything else (at least for me).

    Find the following code (about 2/3rds of the way down in the functions.php):

    /**
    * Template function print header image
    *
    * This function has filter hook name raindrops_header_image
    * @param array( ‘img’=> ‘image uri’ , ‘height’ => ‘image height’ , ‘color’ => ‘text color’, ‘style’ => ‘(default) background-size:cover;’ , ‘description’ => ‘replace text from bloginfo(description) to your text’,’description_style’ => ‘Your description style rule’)
    * @return string htmlblock <div id=”[‘header-image’]” style=”background-image:url([img]);height:[height];color:#[color]][style]”><p [description_style]>[WordPress site description]</p></div>
    */
    if ( ! function_exists( ‘raindrops_header_image’ ) and $wp_version >= 3.4){
    function raindrops_header_image($type = ‘default’, $args = array() ){
    $image_modify = get_theme_mods();
    $image_modify = $image_modify[header_image_data];
    $url = get_theme_mod( ‘header_image’ );
    $uploads = wp_upload_dir();
    $path = $uploads[‘path’].’/’. basename( $url );
    list($img_width, $img_height, $img_type, $img_attr) = getimagesize($path);
    $ratio = $img_height / $img_width;

    $raindrops_page_width = raindrops_warehouse_clone(‘raindrops_page_width’);
    switch( true ){

    Comment out the two bolded lines by adding “//” (without the “) to each line.

    No problem, you don’t by any chance have a saved copy of the functions.php from the last version do you?

    for your width issues, same functions.php starting on lines 154 :

    /**
    * fluid page main column minimam width px
    *
    *
    *
    *
    *
    */
    if( !isset( $raindrops_fluid_minimam_width ) ){
    $raindrops_fluid_minimam_width = ‘481’;
    }
    /**
    * fluid page main column maximam width px
    *
    *
    *
    *
    *
    */

    if( !isset( $raindrops_fluid_maximam_width ) ){
    $raindrops_fluid_maximam_width = ‘1280’;
    }

    correct the spellings of minimum and maximum and see if that helps. Unless you’re having the same errors I’ve got in which case I’ve not figured it out yet.

    my page: https://www.scaryyankeechick.com/

    Thread Starter ruthcatrin

    (@ruthcatrin)

    ok, I got rid of the error for line 906, but it appears the “getimagesize” function is outright missing?? Does anyone have a copy of the previous version’s functions.php they can send me to compare?

    Yes I know I said I wasn’t going to fix it, I’m to OCD for my own good.

    BTW, if the theme creator reads this “maximan” and “miniman” is NOT correct spellings and fixing that corrects the width problems I was having….

    I figured a solution to the error on line 906, donno if its the CORRECT solution, but it gets rid of the error.

    to go edit themes and open the Theme Functions (functions.php) file

    Scroll about 1/4 of the way down till you see this:

    * Set stylesheet and few javascript
    *
    *
    *
    *
    */
    if(!function_exists(“add_raindrops_stylesheet”) and $wp_version >= 3.4 ){
    function add_raindrops_stylesheet() {
    global $raindrops_current_theme_name;
    $themes = wp_get_themes();
    $current_theme = $raindrops_current_theme_name;

    if(isset($themes[$current_theme][‘Version’])){
    $raindrops_version = $themes[$current_theme][‘Version’];
    }else{
    $raindrops_version = “0.1”;
    }

    $template_uri = get_template_directory_uri();

    You need to delete the bolded if/else statment, it’ll look like this:

    * Set stylesheet and few javascript
    *
    *
    *
    *
    */
    if(!function_exists(“add_raindrops_stylesheet”) and $wp_version >= 3.4 ){
    function add_raindrops_stylesheet() {
    global $raindrops_current_theme_name;
    $themes = wp_get_themes();
    $current_theme = $raindrops_current_theme_name;

    $template_uri = get_template_directory_uri();

    Personally I’ve also got other errors that I’ve not been able to figure out yet….

    Thread Starter ruthcatrin

    (@ruthcatrin)

    a link to a screen cap of the errors I’m getting since upgrade: https://i21.photobucket.com/albums/b287/ruthcatrin/Aviaryscaryyankeechick-comPicture1.png

    Thread Starter ruthcatrin

    (@ruthcatrin)

    THERE ARE BASIC WORDS MISSPELLED IN THE CODING FOR GOD’S SAKE, no wonder it doesn’t work right. I’m not going to try to correct that. If someone can tell me how to revert that would be awesome, otherwise I’ll have to find another theme….

    Thread Starter ruthcatrin

    (@ruthcatrin)

    oh, and yes, I’ve already been poking around using Firebug. Awesome tool, but unfortunetly the width settings just aren’t showing up. Not sure what I’m doing wrong….

    Thread Starter ruthcatrin

    (@ruthcatrin)

    For the next poor sucker trying to make this change, its in the style.css, and its the FIRST F-ing line of actual code. I looked right at it like 20 times. Arg…..

    find this:

    ——————————————————*/
    .hfeed a{
    text-decoration:none;
    }

    and change it to:

    ——————————————————*/
    .hfeed a{
    text-decoration:underline;
    }

    Thread Starter ruthcatrin

    (@ruthcatrin)

    that makes sense, ok, gives me a place to work from thank you.

    Thread Starter ruthcatrin

    (@ruthcatrin)

    *rereads child theme instructions* arg, missed that.

    Ok, fixed that but its still not working, or maybe I’ve got it coded wrong. I want all links underlined no matter what their status is, is my code right?

    actually thats probly the big problem, there’s like 8 .css files, and it looks complicated as hell…..I’ve got a basic understanding of CSS and thats it….

    Thread Starter ruthcatrin

    (@ruthcatrin)

    hah, figured out the font size too. I’m getting there….still looking for a way to add the date of latest post if anyone can help.

Viewing 15 replies - 46 through 60 (of 62 total)