mh-custom-functions.php – change post date from link to standard text
-
Hi all. I’m running MH Magazine Lite v2.6.4.
I don’t want the entry dates on the main blog post list, on individual post pages, in post widgets, and wherever else they may appear to link to anything at all. I still want to display the post date in all of those locations, but just as regular text.
I found this code in mh-custom-functions.php:
echo '<span class="entry-meta-date updated"><i class="fa fa-clock-o"></i><a href="' . esc_url(get_month_link(get_the_time('Y'), get_the_time('m'))) . '">' . get_the_date() . '</a></span>' .
I don’t know if adjusting this will affect the change in all the post locations I listed above, but if anyone can tell me how to change this code, I can figure out all the places I need to change it.
This is the correct code to edit, yes?
Thanks
- The topic ‘mh-custom-functions.php – change post date from link to standard text’ is closed to new replies.