Back in February of 2015, Google added mobile-friendly sites as a criteria to their page rankings. Google have updated their algorithms, and mobile-friendly design will have significant impact to search results. To test and make sure your site is mobile-friendly, here’s a website that will analyze your website design and display the results.
Archives for July 2015
Getting to know Bloginfo
Bloginfo is a WordPress function that you can use on WordPress templates to display a number of things such as the home page, the blog description, the main feed, comments feed, admin email address, template directory, site url, pingback url, etc. You can display bloginfo via PHP just like this:
<?php bloginfo('url'); ?> |
Assuming the blog’s home page is located at http://example.com/home, here’s a list of options.
admin_email = admin@example.com atom_url = http://www.example.com/home/feed/atom charset = UTF-8 comments_atom_url = http://www.example.com/home/comments/feed/atom comments_rss2_url = http://www.example.com/home/comments/feed description = Just another WordPress blog home = http://www.example.com/home (DEPRECATED! use url option instead) html_type = text/html language = en-US name = Testpilot pingback_url = http://www.example.com/home/wp/xmlrpc.php rdf_url = http://www.example.com/home/feed/rdf rss2_url = http://www.example.com/home/feed rss_url = http://www.example.com/home/feed/rss siteurl = http://www.example.com/home (DEPRECATED! use url option instead) stylesheet_directory = http://www.example.com/home/wp/wp-content/themes/largo stylesheet_url = http://www.example.com/home/wp/wp-content/themes/largo/style.css template_directory = http://www.example.com/home/wp/wp-content/themes/largo template_url = http://www.example.com/home/wp/wp-content/themes/largo text_direction = ltr url = http://www.example.com/home version = 3.5 wpurl = http://www.example.com/home/wp |
As mentioned previously, you can use the bloginfo function anywhere within your WordPress templates.
Laravel Forge Edit .env
Laravel Forge was recently upgraded with several new features. You can now edit your .env file directly from within Forge. It’s easier and faster than adding each environmental variable. In addition, you can also create and manage Nginx load balancing servers to balance your application load. With Forge, you can now deploy a new server in just minutes from any of the three cloud hosting service providers: Linode, Digital Ocean and now Amazon Web Services.