Forum Replies Created

Viewing 15 replies - 46 through 60 (of 143 total)
  • again theres no magic solution (that I know of..!)

    you just need to export from old site then import it to your new one – its not hard.

    If your old wordpress.com site is still live the import process will even suck in and upload all your images.

    (btw I’ve never had a wordpress.com account, Im just assuming here that it would have an export option as a stand-alone installation does)

    something that happens after everything is loaded…

    so first place to look is in the jQuery document ready section

    I had a look and it seems to relate to chromenav.js. That file has commented instructions:

    enableiframeshim: 1, //enable "iframe shim" in IE5.5 to IE7? (1=yes, 0=no)

    changing it 0 stops the disappearing prob (the whole screen is taken over by an iframe) but there’s still some visual formatting probs

    nice design in general though

    what browser? all OK for firefox 3, no good for IE6 (which I keep for testing).

    The issue would seem to relate to the form padding/width

    try changing to the below

    #commentform {
    background:#000000 none repeat scroll 0 0;
    border-top:10px solid #333333;
    margin:0 0 7px;
    padding:30px 10px;
    }

    I think you might be better doing what kennethwatt suggested – its how wordpress is designed to work. Sure you could probably get what you’re attempting to do to function but the base assumption with a wordpress installation is that there will be an index.php

    ..so theres no way wordpress can do the job with a page

    yes there is – you can make wordpress serve up any existing HTML/PHP

    Take your existing homepage and define it as a page template (it doesnt have to contain any wordpress related code if you dont want it). Create a page, select the template, then under Reading settings set it as your homepage.

    you dont need to use index.php to define the site’s homepage – wordpress will allow you to set any wordpress page you wish as the home page

    replace the 2 existing selectors with the 2 below. The BODY one is only really if you care about IE6

    #rap {
    margin:0 auto;
    text-align:left;
    width:644px;
    }
    
    body {
    background-attachment:fixed;
    background-color:#FFFFFF;
    background-image:url(images/background.png);
    background-repeat:no-repeat;
    color:#000000;
    font-family:veranda;
    font-size:12pt;
    margin:0 auto;
    text-align:center;
    }

    similar to what mattyza proposed but the below will open all links starting with http (typically your external ones!) in new window

    $(document).ready(function(){
    	$("a[@href^='http']").attr('target','_blank');
    });

    I guess one main reason for the demise of “target” is that its not valid for XHTML 1.0 strict doctypes. One of the main aims of XHTML and valid code is to make your content “platform independant”. The concept of a new window often doesnt apply to mobile web browsers.

    yes, both do the same thing – they add and remove the class “sfhover” on hover

    since your using jquery already (other pluggins would have installed it) you may as well make use of it!

    I see you’ve added the suckerfish javascript code.

    better to use this jquery javascript. Main benefit (apart from introducing you to jquery) is that this code will fire as soon as HTML has loaded. Your existing javascript uses onload which wont fire until everylast image and external resource has loaded.

    <script type="text/javascript">
    jQuery(document).ready(function() {
    
    	jQuery("#nav LI").hover(
          function () {
            jQuery(this).addClass("sfhover");
          },
          function () {
           jQuery(this).removeClass("sfhover");
          }
        );
    });
    </script>

    double check you have the javascript in place to assign the class “sfhover” to the LI’s as you hover over them.

    Firefox supports LI:hover. IE6 doesnt. IE7 does but in a buggy kind of way. So to achieve the same effect for IE you need to dynamically assign and remove the class.

    the CSS for the drop downs is on line 1658

    #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
    left: auto;
    }

    This returns an array of the path(s) to the medium sized image(s).
    Note that ‘medium’ can also be changed to thumbnail.

    <?php
    $images = get_children( array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); ?>
    
    <?php foreach ($images as $imageId => $image): ?>
    	<?php
    	$wp_medium_image = wp_get_attachment_image_src($imageId,'medium', false);
    	?>
    <img src="<?php echo htmlentities($wp_medium_image[0]); ?>" />
    zeniph

    (@zeniph)

    nothing to do with wp 2.7

    scroll down the page, you have a great big image – IP2Loc – pushing everything out of whack

    p img {
    max-width:100%;
    }

    IE6 doesnt get max-width:100% so it uses the image’s natural dimension

    zeniph

    (@zeniph)

    unfortunately it wont work as magically as you’d wish. You cant “point” you old content and use your new installation at the same time.

    you need to migrate your old content over

    perhaps simplest is to try manage/export from your old blog, then manage/import on the new one

    Forum: Themes and Templates
    In reply to: Jquery
    zeniph

    (@zeniph)

    not entirely sure at what chaoskaizer was alludinng to – perhaps jQuery.noConflict()

    regardless to isolate what ever you want to the home page only you will need to add conditional code

    perhaps let us know the core issue your trying to solve here i.e. why dont you want jquery on the homepage

    Forum: Themes and Templates
    In reply to: Jquery
    zeniph

    (@zeniph)

    Is there any way to make wp_head not load in the homepage but run on all the rest of the pages?

    yes – slight variation on what stvwlf originally posted

    <?php if ( !is_home() ) {
        wp_head();
    } ?>

    is_front_page() may also be used depending on your blog setup

    Forum: Themes and Templates
    In reply to: Jquery
    zeniph

    (@zeniph)

    Many pluggins that have a dependency on jquery (or other js library etc) will package it up with the pluggin and write it into every page via wp_head().

    you could:

    • edit the pluggin placing the conditional code within it
    • or create a homepage template exluding wp_head() and manually insert all of your header resources (copy and paste the paths from an existing page with wp_head())
Viewing 15 replies - 46 through 60 (of 143 total)