Valex Ferguson
asked 10 years ago

I’d wanna remove the current Continue Reading button and format from the theme.
 
I’d want by default when i put the <!–more–> tag to have it cut the text there and have a “blablabla… Continue Reading” text link inline with post text.
 
Thanks!
 

1 Answers
DominicStaff
answered 10 years ago

You can open the content.php file in the folder path “wp-content\themes\dw-minion” Find the line 10.
Replace the following code:

<?php the_content( __( '<span class="btn btn-small">Continue reading</span>', 'dw-minion' ) ); ?>

With new code:

<?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'dw-minion' ) ); ?>

– Then add the following code to the style.css file:

.more-link {
    display: inline;
    margin-top: 0;
}

Hope this helps !

 

Valex Ferguson
replied 10 years ago

Many thanks for your answer, it solved 90% of the issue.It now looks like this:”blablabla Continue reading →”It it possible to remove that arrow at the end however?Many many thanks!

Dominic Staff
replied 10 years ago

You can add the following code:
<?php the_content( __( 'Continue reading <span class="meta-nav"></span>', 'dw-minion' ) ); ?>
Hope this helps !

Valex Ferguson
replied 10 years ago

Many thanks, solved!

Powered by DW Question & Answer Pro