- This topic is empty.
-
AuthorPosts
-
May 1, 2012 at 12:40 pm #102087Jon_NParticipant
@Senff sorry, you still get the award in my opinion but it’s not showing in IE…go figure. Anyone have any ideas? You can see what it is supposed to look like in Firefox.
Here’s an exampleMay 1, 2012 at 12:51 pm #102090SenffParticipantFirst of all, I would resize/reduce the image on that page: http://www.metalmart.biz/wp-content/uploads/2012/05/flyer-special_4.jpg — you really don’t need a 2550×3300 / 4MB image for that.
Second, if you look in the source code, you’ll see that the image has an empty height (height=””):
All browsers ignore that error, but IE doesn’t. Not sure how it got there, did you use the standard WordPress image uploader and then removed the height value in the properties window?
May 1, 2012 at 1:43 pm #102093Jon_NParticipant@Senff Thanks I didn’t know that about IE. Since you’re so good at this, could you take a look at one more thing for me. If you go to the same site and click the “Specials” button in the header menu, you can see that it doesn’t work either. I think this all happened when I updated the theme a couple weeks ago.
*EDIT*
It only shows one post available. I’m not sure what the problem is.May 1, 2012 at 1:51 pm #102095SenffParticipantCan you post the contents of your loop.php file please?
May 1, 2012 at 2:08 pm #102096Jon_NParticipant@Senff
Here it is, I appreciate you helping me, I’m totally a newbie.
max_num_pages > 1 ) : ?>← Older posts', 'twentyten' ) ); ?>→', 'twentyten' ) ); ?>
/* Start the Loop.
*
* In Twenty Ten we use the same loop in multiple contexts.
* It is broken into three main parts: when we're displaying
* posts that are in the gallery category, when we're displaying
* posts in the asides category, and finally all other posts.
*
* Additionally, we sometimes check for whether we are on an
* archive page, a search page, etc., allowing for small differences
* in the loop on each template without actually duplicating
* the rest of the loop that is shared.
*
* Without further ado, the loop:
*/ ?>
ID ) ) || in_category( _x( 'gallery', 'gallery category slug', 'twentyten' ) ) ) : ?>
>" title="" rel="bookmark">
$images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
if ( $images ) :
$total_images = count( $images );
$image = array_shift( $images );
$image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
?>%2$s photo.', 'This gallery contains %2$s photos.', $total_images, 'twentyten' ),
'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
number_format_i18n( $total_images )
); ?>
ID ) ) || in_category( _x( 'asides', 'asides category slug', 'twentyten' ) ) ) : ?>
>
→', 'twentyten' ) ); ?>
|
| ', '' ); ?>>" title="" rel="bookmark">
→', 'twentyten' ) ); ?>
'' . __( 'Pages:', 'twentyten' ), 'after' => '' ) ); ?>
Posted in %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
|
$tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ):
?>
Tagged %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
|
| ', '' ); ?>May 1, 2012 at 2:09 pm #102097Jon_NParticipantSorry it was too long to include in one post, here’s the rest.
max_num_pages > 1 ) : ?>← Older posts', 'twentyten' ) ); ?>→', 'twentyten' ) ); ?>
May 1, 2012 at 4:56 pm #102111Jon_NParticipantI am not great with PHP yet
May 2, 2012 at 11:40 am #102151Jon_NParticipant@Senff thanks again for your help. I found the other problem. It was in my category-7.php it took a while to figure out but it was just a matter of deleting the same text as from the single-specials.php so thanks for your help.
May 2, 2012 at 2:12 pm #102160SenffParticipantAnytime, glad you got it all working now!
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.