I had purchased my current MacBook Pro on 13th April 2011. My primary & only computer. I use it daily for rigorous web development work & entertainment. Everything I have is because of this machine. It is still going strong.
Specs: 13-inch, Early 2011, 2.3GHz Intel Core i5 processor, upgraded to 8×2 1600 FSB DDR3 RAM, 320GB SATA HDD.
Issues: One single green vertical line on left side of screen, some grey smudge looking spots on one area of the screen, DVD player not working, card reader not working, internal audio is not good, color coating gone off from 8 keys, on its 2nd battery, on its 3rd power adapter.
So if your question is how long a Apple laptop will last, the answer is atleast 7 years. I am not even married that long!
So Google’s Accelerated Mobile Pages project is gaining momentum. If you are using this AMP plugin made by Automattic on your WordPress site, it comes with a standard design for all the post types.
But if you are not satisfied with the layout & need to customize your AMP page design to make it stand out from the rest then here is how you can do that.
This is the relevant documentation for the above plugin, keep it handy, the customization page has code snippets you can use to insert elements in common header & footer.
To create a completely customized header, footer, single page or post etc:
Navigate to your site’s “wp-content > plugins > amp > templates” folder.
Here you will find the base templates that the plugin uses. Copy the template you wish to modify.
Create a folder named ‘amp’ inside your currently active theme folder, put this template there.
It will override the plugin’s template file. Now customize this file.
Adding custom fonts
You can add custom fonts from Google Fonts & more, font icons such as FontAwesome to your AMP pages in the <head> section by adding following code in the theme’s functions.php:
Adding custom CSS
You can add custom, internal CSS to the <head> section of a AMP page, but it is better to keep all those CSS rules in a CSS file inside the theme folder & then include that file’s contents in the <head> using the PHP include() function inside functions.php as follows: