Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @doncampbell.

    Thank you for the upgrade steps. I’m proceeding now. I’m waiting for my installation to be downloaded to my computer, just to be sure (although a bit late).

    I think the database created by WordPress admin has the things removed that you had to remove.

    I hope the WordPress team has gotten the word that there is a problem with this upgrade.

    Thread Starter mtnbikersocal

    (@mtnbikersocal)

    On further thought, create a file named, e.g., widepage.php that contains:
    (is_page("stills")) or (is_page("anotherwidepage"))
    then in sidebar.php and other pages that have the logic:
    wide=include (widepage.php);
    and then the logic becomes:

    <?php
      if wide {
       echo "<div id=\"right-column-no\">";
      } else {
       echo "<div id=\"right-column\">";
      }
    ?>

    Then when you add a widepage, only the widepage.php file has to be changed.
    None of this has been tested and I’ve not used PHP much lately, so test thoroughly or consult references. For example, do variables have special naming such as $wide?
    Also the addition of comments explaining what’s going on.

    Thread Starter mtnbikersocal

    (@mtnbikersocal)

    I’m not expert on PHP, but I think that is OK.

    But to make it more readable, try an ‘or’

    <?php
      if (is_page("stills")) or (is_page("anotherwidepage")) {
       echo "<div id=\"right-column-no\">";
      } else {
       echo "<div id=\"right-column\">";
      }
    ?>

    Untested.

    PS. To be clear ‘right-column-no’ is a style in the style sheet that looks like this:
    #right-column-no {visibility:hidden}
    and there is another style called by a similar if else:
    #left-column-single {width : 800px;float : left;padding-left:40px;}
    I just took the 300px width of the right column and added it to the 500px width of the left-column format.

    This is not a general solution, that is, it will depend of the particular theme. This is for the ‘A Dream to Host’ theme.

    And not an easy scheme to maintain if you add pages, either lots of work, or one forgets how they did it. I try to put notes about changes like this in a private or unpublished page. Hoping someone will have a better solution

    Thread Starter mtnbikersocal

    (@mtnbikersocal)

    Thank you. Looks like a winner.

    I see that I messed up my post a bit. I messed up the link for Conditional Tags

    Thanks lesfreeman. I just put a new WordPress/NextGen install and thumbnails were fitted to fill the square thumbnail.

    You may need to add a step after resizing images: resize thumbnails (Or maybe this is all I needed to do to get full image thumbnails).

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