Remove link on date field!


#1

Hello,

It is possible to remove the data link, on home, category, tags and archive?

To be only the date, without no link to the post.

Thanks,
Alex


#2

Hello,

Sure, go to /inc/template-tags.php and find the areview_posted_on() function. Simply remove the link tags from the printf() function and keep only %2$s.


#3

Hi Vlad,

Thanks you very much, it work!

I have one new question, if possible. I have on site, category -> subcategory 1, subcategory 2 …, it is possible to display only the main category?
Now it is displayed in alphabetical order.

Regards,
Alex


#4

You could have a look at using wp_list_categories instead of get_the_category_list in content-single.php. Have a read here, you’ll probably be interested in setting it the depth parameter to 1.