Empress Dairy Farm
January 12th, 2017 by admin
December 14th, 2016 by admin
Apply Custom CSS to Admin Area Add to the functions.php file: [php] add_action(‘admin_head’, ‘my_custom_fonts’); function my_custom_fonts() { echo ‘<style> body, td, textarea, input, select { font-family: "Lucida Grande"; font-size: 12px; } </style>’; } [/php]
December 12th, 2016 by admin
[php] function my_duplicate_post_link($actions, $post) { // The following checks WHERE we should run if not products just return if ( $post->post_type != ‘product’ ) { return $actions; } $product = get_product( $post->ID ); unset($actions[‘duplicate’]); return $actions; } // Notice priority changed from default 10 to 15(anything greater than 10) // Priority defines WHEN we should […]
December 9th, 2016 by admin
Now Google wants an API key to authenticate users to access their APIs`. You can get the API key from the following link. Go through the link and you need to enter a project and so on. But it is easy. Hassle free. https://developers.google.com/maps/documentation/javascript/get-api-key Once you get the API key change the previous [php] <pre><code><script […]