To remove just git package itself from Ubuntu 14.04 execute on terminal:
$ sudo apt-get remove git
To remove the git package and any other dependant package which are no longer needed from Ubuntu Trusty.
$ sudo apt-get remove --auto-remove git
| <?php | |
| /** | |
| * The below function will help to load template file from plugin directory of wordpress | |
| * Extracted from : http://wordpress.stackexchange.com/questions/94343/get-template-part-from-plugin | |
| */ | |
| define('PLUGIN_DIR_PATH','Your-plugin-directory-path'); | |
| function ccm_get_template_part($slug, $name = null) { | |
| do_action("ccm_get_template_part_{$slug}", $slug, $name); |
| <?php | |
| /** | |
| * Check if the given user agent string is one of a crawler, spider, or bot. | |
| * | |
| * @param string $user_agent | |
| * A user agent string (e.g. Googlebot/2.1 (+http://www.google.com/bot.html)) | |
| * | |
| * @return bool | |
| * TRUE if the user agent is a bot, FALSE if not. |
| <?php | |
| /********* DO NOT COPY THE PARTS ABOVE THIS LINE *********/ | |
| /* | |
| * Replace Disallow with Allow Generated Robots.txt | |
| * Credit: Unknown | |
| * Last Tested: Unknown | |
| */ | |
| add_filter('robots_txt','custom_robots'); |
| (is_page() && !is_page_template()) |
| /** | |
| * Is SubPage? | |
| * | |
| * Checks if the current page is a sub-page and returns true or false. | |
| * | |
| * @param $page mixed optional ( post_name or ID ) to check against. | |
| * @param $single boolean optional - default true to check against all parents, false to check against immediate parent. | |
| * @return boolean | |
| */ |
| // uncomment if you are transpiling with Babel + Webpack | |
| // const { window, document } = global; | |
| /** | |
| * Lightweight script to detect whether the browser is running in Private mode. | |
| * @returns {Promise} | |
| * | |
| * Live demo: | |
| * @see http://live.datatables.net/piduzelo/1 | |
| * |
| <div class="footer-social-icons"> | |
| <h4 class="_14">Follow us on</h4> | |
| <ul class="social-icons"> | |
| <li><a href="" class="social-icon"> <i class="fa fa-facebook"></i></a></li> | |
| <li><a href="" class="social-icon"> <i class="fa fa-twitter"></i></a></li> | |
| <li><a href="" class="social-icon"> <i class="fa fa-rss"></i></a></li> | |
| <li><a href="" class="social-icon"> <i class="fa fa-youtube"></i></a></li> | |
| <li><a href="" class="social-icon"> <i class="fa fa-linkedin"></i></a></li> | |
| <li><a href="" class="social-icon"> <i class="fa fa-google-plus"></i></a></li> | |
| </ul> |
autocomplete="off" onto <form> element;<input> with autocomplete="false" as a first children element of the form.<form autocomplete="off" method="post" action="">
<input autocomplete="false" name="hidden" type="text" style="display:none;">
...| <?php | |
| /** | |
| * Numeric Pagination Class | |
| * @author Alexandre Plennevaux https://pixeline.be | |
| * | |
| * This class returns a list of LI > A. It is up to you to set the wrapping NAV > UL around your function call. | |
| * | |
| * @usage (setting specific classes) | |
| * | |
| * // Sets the css classes you want to be used for the output |