Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter stucurry

    (@stucurry)

    Thank you very much – I see I was using order and not orderby

    Here’s my updated code which is now working in case anyone else has this issue:

    <?php
    query_posts('&order=ASC&orderby=menu_order&post_type=page&post_parent='.$parent);
     while (have_posts()) : the_post();
    ?>
    <div <?php post_class('news-block') ?> id="post-<?php the_ID(); ?>">
    
    						<div class="thumbnail">
    							<a href="<?php the_permalink(); ?>" class="news-block-img">
    							<?php the_post_thumbnail(); ?></a>
    						</div>
    
    						<div class="news-block-text">
    							<h3><a href="<?php the_permalink() ?>" class="news-block-title" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
    							<div class="news-block-summary"><?php the_excerpt(); ?></div>
    						</div><!-- end .news-block-text /-->
    					</div><!-- end .news-block /-->
    
    <?php endwhile; ?>
    Thread Starter stucurry

    (@stucurry)

    Thanks for the response – I ended up editing pluggable.php (ahhh!) to just output the gravatar url but it’s not really a smart solution

    /* standard avatar code
    		$avatar = "<img alt='{$safe_alt}' src='{$out}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />"; */
    		$avatar = "{$out}";
    
    	} else {
    		/* standard avatar code
    		$avatar = "<img alt='{$safe_alt}' src='{$default}' class='avatar avatar-{$size} photo avatar-default' height='{$size}' width='{$size}' />"; */
    		$avatar = "{$default}";

    any updates on this problem?

    i finally got it! turns out (with me anyway) i’m one of the 1%!
    it worked when i changed ‘localhost’ to the address of my mysql thingy i.e.

    define(‘DB_HOST’, ‘localhost’);

    became

    define(‘DB_HOST’, ‘205.XXX.XXX.XX’);

    I am having the same problem with network solutions and was wondering has any solution to this problem been found?

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