Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • There is another prob.

    You have your blog installed in a directory /blog/
    and not in the root..(when you enter http://www.yourdomain.com err page get in)
    and you are trying to link to the root links http://www.yourdomain.com/something (but there is nothing)
    try this structure http://www.yourdomain/blog/about
    or try to reinstall it to the root and not in the directory.
    this might help //(i gues you now have the idea)
    http://codex.ww.wp.xz.cn/Using_Permalinks

    Forum: Fixing WordPress
    In reply to: Email All Members

    Hi, I solved it by the shuffle php function.
    I put the shuffle($wp_cycle_images); on line 407 in wp-cycle.php before the foreach function begins:

    406	echo '<div id="'.$wp_cycle_settings['div'].'">'.$newline;
    407	shuffle($wp_cycle_images);
    408	foreach((array)$wp_cycle_images as $image => $data) {
    409...

    That will randomize the order of the images in the html file… give it a try.
    It works for me.

    Thread Starter trix3x

    (@trix3x)

    I have found a solution.
    This codes works great but I have one problem. The posts in categories are shown as the entire articles and not as the excerpt/teaser… so any ideas would be appreciated.

    <?php $current_month = date('m'); ?>
    <?php if($current_month==05){
    $cat = array(6); //ID number for category may
    }
    elseif ($current_month==06){
    $cat = array(7);
    } elseif ($current_month==07){
    $cat = array(8);
    } else {
    $cat = array(9);
    }
    $showposts = -1; // -1 shows all posts
    $args=array(
       'category__in' => $cat,
       'showposts' => $showposts,
       );
    $my_query = new WP_Query($args); 
    
    ?> //and the loop after this

    Dont forget that the template may not be the one set as default in WP options, otherwise the index template will be used instead. I have spent some hours to solve this.

    I can see your menu in IE so after that line must be some mistake.
    I have found one on this line
    <a href="http://www.theidiotinstitute.com/?feed=rss2" class="nav_rss" title="Our RSS Feed"><span class="hide">Our RSS Feed</ span></a><a href="http://www.feedburner.com/fb/a/emailverifySubmit?feedId=...

    As you can see there is one big hole in </span> so delete the empty space. I don`t know if you have it in template or somewhere else so check it out. By the way there are some other fixes to do like delete one of the </body> and </div> at the end and close the <meta />
    tags…

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