How to make a menu item always point to the latest post

How to make a menu item always point to the latest post? The first step was to find out a proper filter hook that is related to a menu item. I searched the “apply_filters” text in the “nav-menu.php” file and got 5 filter hooks. wp_get_nav_menus wp_get_nav_menu_items nav_menu_attr_title nav_menu_description wp_setup_nav_menu_item The last filter hook seemed promising.…

@import in WordPress child theme may crash IE8

I didn’t know that a WordPress site may crash IE8 before last week. The WordPress site crashed IE8 over again and again after I disabling all the plugins, commenting all the scripts, even disabling all the shortcodes.¬†After eliminating all the impossible, I found out the cause of the problem. It was the first code line…