Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I don’t know if this may be of any help, but I had a lot of problems with permissions after unzipping the WordPress installation on the server itself. You should really unzip on your computer and then copy the unzipped file to your server. Otherwise it seem that in some case the server got all the permissions while you get limited ones on your files. If this is your case you may have to reinstall wp all together or call your server administrator.

    Had the same problem, fixed it by changing the permissions, using filezilla, to 770 recursively, starting with the upload directory in wp-content.

    Thread Starter scrupulosis

    (@scrupulosis)

    Fixed it using number_format() and tweaked it so that the ratio in theme options are respected, quite far from perfect but it’ll do for me.

    <?php $sidebar_right_padding = 1.46; // 16px gap between content-sidebar-wrap and right-sidebar in % relative to #container ?>
    		<?php $sidebar_left_padding = 16/(1092-(1092*$sidebar_right_width/100))*100 ; // 16px sidebar left padding relative to content-sidebar-wrap ?>
    		<?php $content_padding = 42/(1092-(1092*$sidebar_right_width/100))*100; // left + right padding + 2px buffer relative to content-sidebar-wrap ?>
    		<?php $sidebar_left_width = $sidebar_left_width * 100 / (100 - ($sidebar_right_width+$sidebar_right_padding)) ; // left side bar relative to content-sidebar-wrap ?>
    		.content-sidebar-wrap {
    			width:<?php echo number_format(100 - ($sidebar_right_width + $sidebar_right_padding),2); ?>%;
    		}
    		.page-template-template-sidebar-content-sidebar-php .content-sidebar-wrap #content {
    			width:<?php echo number_format(100 - $content_padding - ($sidebar_left_width+$sidebar_left_padding),2); ?>%;
    		}
    		.page-template-template-sidebar-content-sidebar-php #sidebar-left {
    			width:<?php echo number_format($sidebar_left_width,2); ?>%;
    			padding-right: <?php echo number_format($sidebar_left_padding,2); ?>%;
    		}
    		.page-template-template-sidebar-content-sidebar-php #sidebar-right {
    			width:<?php echo number_format($sidebar_right_width,2); ?>%;
    		}

    Thread Starter scrupulosis

    (@scrupulosis)

    Ok I think I found the bug (but still don’t know how to fix it) strangely I got comma in the number instead of dots, this is the loaded style in the source :

    .content-sidebar-wrap {
     width:74,51%;
     }
    .page-template-template-sidebar-content-sidebar-php .content-sidebar-wrap #content {
    width:74,51%;
    }

    Installed version 1.1 and could not get it to work with visual editor disabled.
    I think you forgot to remove line 33
    switchEditors.switchto(document.getElementById(“content-html”));
    following collinprice fix.

    Thanks for your plugin.

    Thread Starter scrupulosis

    (@scrupulosis)

    Took a day to find previous solution :'(

    And it was simple as that

    <?php if (paged < 2 && category_description()!='') : ?>
          <div class="cateDesc">
              <?php echo category_description()?>
          </div>

    And if you need html code in your category description there’s a plugin to do so.

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