How to remove "Continue Reading" button under post
-
Good day
Im trying to remove the “Continue Reading” button under my posts on my front page. Iv searched the internet with no luck.
Is there a way to change it using the Custom CSS Manager?
Any help would be appreciated.
-
Hi,
Please add the following to your style.css file of the active theme.
.read-more{ display:none !important; }Thanks
OMG, Thank you so much. IT WORKED
Could I add any other code to remove the “Proudly powered by WordPress | Theme: Oblique by Themeisle.” text at the bottom of the page and replace with ” © 2016 Graphica I By Graphica”
Hi,
yes you can. The code is in footer.php
Thanks
Do you have an example of this code that i can simply place in the Custom CSS Manager?
Hi,
No. You will have make changes in the footer.php file. It will be a php code and in this case css is of no use. You will have to change the PHP code.
Css code can only style elements but cannot change the text.
Thanks
Hi,
Can you post your footer.php code here?
Thanks
Where can i find these files?
Sorry my question is where do I find that code. Very new to Code
Hi,
You can find footer.php in the theme folder.
wp-content/themes/your-theme-name/footer.php
Thanks
Hi,
Can you post the content of footer.php file so we can tell you where you have to do the change.
You can find footer.php in the theme folder.
wp-content/themes/your-theme-name/footer.php
Thanks
Is this correct?
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package Oblique */ ?> </div> </div><!-- #content --> <div class="svg-container footer-svg svg-block"> <?php oblique_svg_1(); ?> </div> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info container"> <?php do_action('oblique_footer'); ?> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> <?php wp_footer(); ?> </body> </html>[Moderator Note: Please post markup between backticks or use the code button. Your posted code may now have been damaged by the forum’s parser.]
Hi,
In the same folder where footer.php file is present you will find a file named as “functions.php”.
Open that file in a text editor and search for “oblique_footer” function.
In this function you will have to change the text.
Thanks
Great I found it. What do i need to change?
/** * Footer credits */ function oblique_footer_credits() { echo '<a href="//wordpress.org/', 'oblique' ) ) . '" rel="nofollow">'; printf( __( 'Proudly powered by %s', 'oblique' ), 'WordPress' ); echo '</a>'; echo '<span class="sep"> | </span>'; printf( __( 'Theme: %2$s by %1$s.', 'oblique' ), 'Themeisle', '<a href="http://themeisle.com/themes/oblique/" rel="nofollow">Oblique</a>' ); } add_action( 'oblique_footer', 'oblique_footer_credits' );[Moderator Note: Please post code between backticks or use the code button. Your posted code has now been damaged by the forum’s parser.]
/** * Footer credits */ function oblique_footer_credits() { echo '<a href="' . esc_url( __( 'http://wordpress.org/', 'oblique' ) ) . '" rel="nofollow">'; printf( __( 'Proudly powered by %s', 'oblique' ), 'WordPress' ); echo '</a>'; echo '<span class="sep"> | </span>'; printf( __( 'Theme: %2$s by %1$s.', 'oblique' ), 'Themeisle', '<a href="http://themeisle.com/themes/oblique/" rel="nofollow">Oblique</a>' ); } <em>[Moderator Note: Please post markup between backticks or use the code button. Your posted code may now have been damaged by the forum's parser.]</em> add_action( 'oblique_footer', 'oblique_footer_credits' );Hi,
Replace your function with the following.
/** * Footer credits */ function oblique_footer_credits() { echo "© 2016 Graphica"; echo '<span class="sep"> | </span>'; echo "By Graphica"; } add_action( 'oblique_footer', 'oblique_footer_credits' );Thanks
The topic ‘How to remove "Continue Reading" button under post’ is closed to new replies.