Forum Replies Created

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

    (@mortimeronline)

    Hello again!

    The problem seems to be here. Any suggestions? Tx! 🙂

    <?php query_posts('category_name=sure-service&showposts=2');
    							if ( have_posts() ) : while ( have_posts() ) : the_post();
    							?>
    								<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    								<div class="est_text">
    								<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
    								<? if(has_post_thumbnail()) { ?>
    									<img src="<?php echo $image[0]; ?>" alt="" width="76" height="76"/>
    									<? } else { ?>
    										&nbsp;
    									<? } ?>
    								<? ob_start();
    								the_content();
    								$content = ob_get_clean();
    								echo substr($content,0,250); ?>
    								</div>
    								<?
    								endwhile; else:
    								endif;
    								wp_reset_query(); ?>
    							</div>
    						</div>
    Thread Starter MortimerOnline

    (@mortimeronline)

    All right then… thanks a lot. Unfortunately I think they gave up. 🙁 They won’t answer back my messages. And they are in India, so I can’t go there and kill them.

    However, I must say I commented the whole index.php file just to see where the problem started, and it still showed the same problem. 😐

    Oh well, I’ll go on with the investigation and if I find the problem, I will let ya know all.

    Thread Starter MortimerOnline

    (@mortimeronline)

    Thanks again for your reply.

    This is the full message:

    Notice: add_custom_background está obsoleto desde la versión 3.4. Utiliza add_theme_support( ‘custom-background’, $args ) en su lugar. in C:\(…)\Blog\wp-includes\functions.php on line 2839 Notice: add_custom_image_header está obsoleto desde la versión 3.4. Utiliza add_theme_support( ‘custom-header’, $args ) en su lugar. in C:\(…)\Blog\wp-includes\functions.php on line 2839 Parse error: syntax error, unexpected $end in C:\(…)\Blog\wp-content\themes\sureserviceser\index.php on line 76

    Line 76 is the end of the index.php file.

    If I set functions.php to not display error messages, I get a 500 error.

    Thread Starter MortimerOnline

    (@mortimeronline)

    Thanks for your reply, esmi.

    However, I’ve checked the headers on their site and it says
    <meta name=”generator” content=”WordPress 3.5.1″ />
    And again, the theme works fine in their server. So I assume there must be something in my instalation that is not compatible with their theme, and it’s causing a conflict (maybe an option in functions.php?)

    So any help on where to start checking out stuff would be much appreciated indeed.

    If you are not familiar with CSS, try adding the following to your img tag:

    padding-top: -10px; padding-bottom: -10px;

    As in `<img src=”” style=”padding-top: -10px; padding-bottom: -10px;”>

    Play a little with the number of pixels until the image looks correctly positioned.

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