Sorry yes I managed to get sorted and didn’t close the thread. I do have two other questions though:
Can I get ride of the date and comments at the top of each page and post and how can I change the Blog archive text which reads…..
Blog Archives for category etc
Many thanks! All in all it’s a great theme – easy to set up and looks great. i may well upgrade to the professional very soon!
you’ll need to edit the archive.php and category.php but it’s probably best of you create a child theme and do the edits there rather than in the originals to preserve any changes you make if you upgrade the theme.
Could you be more specific about how to code this. Also there is no category.php file appearing in the editor
first off, create a folder on your desktop and name it watton_wedding_theme_1.0
create a style.css file with a text editor like notepad (pc) or textedit (mac) and save it to your watton_wedding_theme_1.0 folder.
in your new style.css file add
/* Theme Name: watton_wedding_theme_1.0 Template: Delicacy */ @import url("../delicacy/style.css");
then from the Delicacy theme folder copy the archive.php file and paste it into your watton_wedding_theme_1.0 folder
in archive.php find
<?php elseif ( is_category() ) : ?> <?php _e( 'Blog Archives for category', 'delicacy' ) ?> <?php single_cat_title(); ?> <?php elseif ( is_tag() ) : ?> <?php _e( 'Blog Archives for tag', 'delicacy' ) ?> <?php single_tag_title(); ?> <?php else : ?> <?php _e( 'Blog Archives', 'delicacy' ); ?> <?php endif; ?>
and just change the blog archives for text to whatever you want it to read.
copy the single.php file from the Delicacy Theme folder to you new watton folder and then look for this:
<article id="post-<?php the_ID(); ?>" <?php post_class('one-post'); ?>> <h1 class="post-title"><?php the_title(); ?></h1> <div class="entry-meta"> <span class="cat"><?php the_category(', ') ?></span><span class="date"><?php the_time( get_option('date_format') ); ?></span><span class="comments"><?php comments_popup_link(__('No comments','delicacy'), __('1 comment','delicacy'), __('Comments: %','delicacy')); ?></span> </div> <div class="entry-content"> <?php the_content(); ?> <div class="clear"></div> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'delicacy' ) . '</span>', 'after' => '</div>' ) ); ?> <p><?php the_tags( __( 'Tagged: ', 'delicacy' ), ', ', ''); ?></p> <?php edit_post_link('Edit this entry','<p>', '</p>'); ?> </div> </article>
and remove this bit.
</span><span class="date"><?php the_time( get_option('date_format') ); ?></span><span class="comments"><?php comments_popup_link(__('No comments','delicacy'), __('1 comment','delicacy'), __('Comments: %','delicacy')); ?>
once you’re done editing and everything’s been saved in your watton folder, you need to compress it into a .zip file so you can upload it in the theme uploader of your dashboard. this is a child theme based on Delicacy so you can make changes to your site without losing them when you upgrade the parent theme.
to the best of my knowledge, this should make the changes you’re after…
no worries, as i say, it should do the job, if there are any problems just keep on asking 😀
- The topic ‘Can not get logo full width’ is closed to new replies.