avocado1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Date and Author not showing on certain posts.. but they do on pages.this is my content.php`<?php
global $post;
theme_post_wrapper(
array(
‘id’ => theme_get_post_id(),
‘class’ => theme_get_post_class(),
‘thumbnail’ => theme_get_post_thumbnail(),
‘title’ => ‘<a href=”‘ . get_permalink( $post->ID ) . ‘” rel=”bookmark” title=”‘ . get_the_title() . ‘”>’ . get_the_title() . ‘</a>’,
‘before’ => theme_get_metadata_icons( ‘date,author’, ‘header’ ),
‘content’ => theme_get_excerpt(),
‘after’ => theme_get_metadata_icons( ‘category,tag,comments’, ‘footer’ )
)
);
?>
`Forum: Fixing WordPress
In reply to: Date and Author not showing on certain posts.. but they do on pages.Ryan Yu, thank you so much for your help! The underlining problem worked, thanks for that. I’m still confused about the date/author code – here is my index, where would I put the suggested code?
<?php get_header(); ?> <div class="art-content-layout"> <div class="art-content-layout-row"> <div class="art-layout-cell art-content"> <?php get_sidebar('top'); ?> <?php if(have_posts()) { /* Display navigation to next/previous pages when applicable */ if ( theme_get_option('theme_' . (theme_is_home() ? 'home_' : '') . 'top_posts_navigation' ) ) { theme_page_navigation(); } /* Start the Loop */ while (have_posts()) { the_post(); get_template_part('content', get_post_format()); } /* Display navigation to next/previous pages when applicable */ if (theme_get_option('theme_bottom_posts_navigation')) { theme_page_navigation(); } } else { theme_404_content(); } ?> <?php get_sidebar('bottom'); ?> <div class="cleared"></div> </div> <div class="art-layout-cell art-sidebar1"> <?php get_sidebar('default'); ?> <div class="cleared"></div> </div> </div> </div> <div class="cleared"></div> <?php get_footer(); ?>
[Please use the code buttons]I’ve just tested this…
#social_icons {
display: inline;
text-indent: -999em;
}#social_icons li a {
float: left;
margin-right: 50x; /* adjust margins to your liking */
list-style: none;
height: 80px; /* use whatever height your icons are */
}li.twitter a {
background: url(‘path_to_twitter_icon.jpg’) no-repeat;
}
li.facebook a {
background: url(‘http://avocadochip.com/test/?attachment_id=693’) no-repeat;
}
li.myspace a {
background: url(‘path_to_myspace_icon.jpg’) no-repeat;
}but the display still looks like this http://avocadochip.com/test/… ahhhh!! What am I doing wrong?
Thanks so much for your help!
Im really sorry but I’m not sure what that means… do I need to host them on my site somewhere? I’m using cpanel to upload my site but its all done through wordpress… should I upload the images to my wordpress site?
and should I download the icons I want then host them somewhere?
Thank you so much… when it says path_to_twitter_icon.jpg etc .. where do/how do I get these I cons.. and do I just take the URL and insert it?
And when I get there where abouts should I enter the code?
Thank you for the reply!
Where abouts do I put the CSS coding? All very new to this!