Home › Forums › Free Themes › Musicsong › Read full article
- This topic has 3 replies, 2 voices, and was last updated 5 years, 6 months ago by wensolutions.
-
AuthorPosts
-
June 11, 2019 at 8:05 am #99671Stephan De CastelParticipant
Hi there,
I purchased your theme Musicsong Pro and i’d like to remove the “read full article” on my posts so people can read the full article without having to click on the button. Also there is a “Blogs” written on my header. How can i remove it ? Thank you.June 12, 2019 at 12:33 am #99738wensolutionsKeymasterHello
Please find the answer to your queries below :
Query 1 : Remove the “read full article” on my posts so people can read the full article without having to click on the button
Response : To remove the “read full article” on the blog page, please attach the given code in the child theme file. Inside the child theme folder, first of all, create a folder called “template-parts” and inside the “template-parts” folder, create a file called “content.php” and add the following code in the file “content.php”
<?php /** * Template part for displaying posts. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Theme Palace * @subpackage Musicsong Pro * @since Musicsong Pro 1.0.0 */ $options = musicsong_pro_get_theme_options(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="post-wrapper"> <?php if ( has_post_thumbnail() ) : ?> <div class="featured-image" style="background-image: url('<?php the_post_thumbnail_url( 'large' ) ?>');"> <a href="<?php the_permalink(); ?>" class="post-thumbnail-link"></a> </div><!-- .featured-image --> <?php endif; ?> <div class="entry-container"> <div class="entry-meta"> <?php musicsong_pro_posted_on(); ?> <span class="cat-links"> <?php echo musicsong_pro_article_footer_meta(); ?> </span><!-- .cat-links --> </div><!-- .entry-meta --> <header class="entry-header"> <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> </header> <div class="entry-content"> <?php the_content(); ?> </div><!-- .entry-content --> </div><!-- .entry-container --> </div><!-- .post-wrapper --> </article>
Query 2 : Removing the “Blogs” on the header
Response : Can you please provide us with your site URL along with the screenshot of the section from which you want to remove the “Blogs” text so that we can provide you with a precise fix ?
Hope this helps.
For any further query/confusion, feel free to reach back to us.
Best Regards!
June 12, 2019 at 12:20 pm #99769Stephan De CastelParticipantHi thank you for your reply the read full article problem is solved !
Now i just like to remove the “Blogs” written on the header like you can see in the picture. I tried to write my name instead but in fact i would like to leave the header witout anything written on it.
My website is http://www.stephandecastel.com
June 13, 2019 at 2:49 am #99794wensolutionsKeymasterHello
Please attach the below given CSS by going to, Admin Panel > Appearance > Customize > Additional CSS
header.page-header { display: none; }
Hope this helps.
For any further query/confusion, feel free to write back to us.
Best Regards!
-
AuthorPosts
- You must be logged in to reply to this topic.