Hello there. I have TWENTY TEN theme on my wordpress.
And I am trying to EDIT and ALIGN TO THE RIGHT the 'Continue Reading'.
Here is my Blog's link --> http://www.musamarkhanco.com/
Any idea how to carry out this thing? :S
Hello there. I have TWENTY TEN theme on my wordpress.
And I am trying to EDIT and ALIGN TO THE RIGHT the 'Continue Reading'.
Here is my Blog's link --> http://www.musamarkhanco.com/
Any idea how to carry out this thing? :S
Don't edit the Twenty Ten theme. Instead create a child theme for your customisations. Once your child theme is active, we should be able to help with the customisation.
I have already installed the Child theme now.
I have a copy of the Header.php, Loop.php and Single.php now, and the footer.php with just this
<?php
add_action( 'init', 'mytheme_setup' );
function mytheme_setup() {
set_post_thumbnail_size( 100, 100, true );
add_image_size( 'single-post-thumbnail', 250, 250 );
}
============
Now?
To align the link right, try adding:
.more-link {
display:inline-block;
text-align:right;
}
to your stylesheet. To change the continue reading text, you will need to make a copy of the loop.php template file and replace <?php the_content(); ?> with <?php the_content('Your text goes here'); ?>
I did. But it dint go to the RIGHT.
I added that CODE to both the Child theme style.css and the twentyten style.css, but still no work
Leave Twenty Ten's style.css file alone! All of your changes/additions should be to your child theme only. Try:
.more-link {
display:block;
text-align:right;
}
instead.
Alright it aligned it to the right but when I tried to write 'Read More' in that Your Text Goes Here, its still Continue Reading there :S
PS. I had to put a CUT in the post edit, can't the Excerpt itself be shown on the posts page?
Try replacing <?php the_content(); ?> with <?php the_excerpt(); ?>
You mean make it look like
<?php the_excerp('Your text goes here'); ?>??
I did, made no difference :S
please have a look at it here --> http://www.demortalz.com
You mean make it look like
No. Just use <?php the_excerpt(); ?>. There are Codex pages on all of these functions. Have you tried reading any of them?
Ok I replaced the <?php the_excerp('Your text goes here'); ?>
with <?php the_excerpt(); ?>
and in the style.css of the child theme, there is
.more-link {
display:block;
text-align:right;
}
and still its not aligned to the right side :s
and now I havent tried the Codex pages. I am not a coder or developer you see.
well my friend I dont get that to be frank. They dont clarify it that where do we have to edit the codes :S
You must log in to post.