tibizea on "Remove the date and the author?"

ساخت وبلاگ

philippe09270
Member
Posted 1 month ago #

Hello,

Hello,

I would remove the date, author and number of Idea on all articles of the home page.
Thank you in advance for your help.
Here is the link of the site.
http://hoverboard-info.com/

Thank you

Hello,
To do the changes you want I recommend you to build a child theme.
To know how check here :- https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme

Then copy and paste the content.php and content-single.php from parent folder to the child theme folder.
Lastly find and delete from the files
<?php colormag_entry_meta(); ?>

Hope this helps.

philippe09270
Member
Posted 2 days ago #

MattBarker7
Member
Posted 2 days ago #

Wow, that seems a bit much.

Wouldn't it be easier just to use CSS with display: none;?

Hello,
I am having the same issue.
I already deleted the code <?php colormag_entry_meta(); ?> from the files content.php and content-single.php but nothing happened...
I want to remove the date, author and number of Idea on all articles in the home page (just in the front page).
Thank you!

philippe09270
Member
Posted 3 hours ago #

Hello

It's true that making a child theme is not the solution. Fortunately I managed to have a solution that works very well with another person.
We must put in the CCS custom, this line:

.widget_featured_posts .below-entry-meta {
display: none;
}

Quite simply !

tibizea
Member
Posted 13 minutes ago #

Great! it worked.
Thank you

You can use
.widget_featured_slider .below-entry-meta {
display: none;
}
.widget_highlighted_posts .below-entry-meta {
display: none;
}

for other widgets

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 99 تاريخ : جمعه 27 فروردين 1395 ساعت: 3:55