SlideShare a Scribd company logo
1 of 4
Download to read offline
Seven WordPress Theme Modification Tips



An extra large jam-packed article for Neogain blog readers. Below you will find seven fantastic WordPress
theme modification tips, that hopefully has something for everyone. Please don’t forget to subscribe to our
blog.


                  If you need a UK WordPress Theme Designer, please get in touch.


Add Geo meta tags to your theme.
Geo meta tags are is meta tag geographical data that is perfect for websites that are location based, such
as websites for a restaurant, shop or a venue. It is believed Google doesn’t currently pay any attention to
geographical meta tags, but apparently Bing does. So for the effort of placing a few extra lines of code in
your theme, it could help you improve your search engine ranking, though probably not with Google.

To make life easier there is a free tool to create your Geo meta tags here: http://geo-
tag.de/generator/en.html
Once you’ve got your code, you then need to do the following:

1. Make sure your theme’s header.php file is writable.

2. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section.

3. Select ‘Header’ from the right hand side menu.

4. Place your meta tags under your current meta tags, which should be located above the link data.

5. Once saved make the header.php file read only again.




Add Google Analytics to your Theme.
If you are running a WordPress plugin to place your Google Analytics, you should consider placing the
code manually into your WordPress theme directly. This would result in one less plugin to manage and
reduce your website overheads, as well as administration time.

How to add the code:

1. Make sure your theme’s footer.php file is writable.

2. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section.

3. Select ‘Footer’ from the right-hand side menu.

4. Place your Google Analytics code above the </body> div.

5. Save and then make sure your footer.php file is only readable.
Convert any graphic files.
Often you can convert PNG images to JPG without losing quality, plus some JPG images to GIF format. If
an image is greyscale or using under 256 colours it could be perfect for conversion to GIF. You might be
surprised by the amount you can reduce your WordPress theme size by, just by optimising the graphics.

One of the easiest ways to convert files between formats is to use the free GIMP software, available for
different platforms including Linux and Microsoft Windows.




Manually add a link or copyright notice to your theme footer.
Often WordPress themes don’t have any copyright notices included. Having a copyright notice for your
theme content is important. Taking the time to manually edit your footer file and add a copyright notice, is
time well spent.

How to add the extra code:

1. Make sure your theme’s footer.php file is writable.

2. Make a backup of your footer.php file.

3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section.

4. Select ‘Footer’ from the right-hand side menu.

5. Now place your additional code.

6. Afterwards make sure your footer.php file is read-only.

Example code:

&copy; 2011 copyrightowner All rights reserved.
<a href="http://www.website.com/pagedetails">Link Name</a>


Turn the logo into a link.
If you have a logo at the top of your WordPress theme, you should check whether it is a link. Often people
will expect to be able to click on a logo, to then take them back to the home page. This can be more tricky
if your logo is actually part of your CSS file, but with a bit of Theme editing, you can make the logo a link.

How to modify an image referenced in the header.php file:

1. Make a backup of your theme’s header.php file.

2. Make the header.php file writable.

3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section.

4. Select ‘header’ from the right-hand side menu.
5. If the image code is in the header area, then you can easily modify.

6. Make sure you make your header.php file read-only again afterwards.

Example code:

<a href="http://www.website.com/home"><img src="logo.jpg" border="0"></a>


Edit the theme footer.
Some WordPress theme footers take up to much screen space, often made worse by having numerous
links, with some being redundant to your requirements. This redundant links could be impacting your
internal SEOwebsite linking strategy.
How to modify the theme footer:

1. Make sure your theme’s footer.php file is writable.

2. Make a backup of your footer.php file.

3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section.

4. Select ‘Footer’ from the right-hand side menu.

5. Remove the necessary div layers.

6. Save and make sure your footer.php file is read-only again.




Squash your CSS file.
Often a WordPress theme style.css is too large and can be modified to reduce the file size. The end
result though can be a style.css file that is harder to work with and adapt in the future. i.e. removing
spacing, merging code, changing colour codes etc. If you make a backup of the original, then perhaps
you will be okay with using a compressed style.css file, that will load faster.

There are quite a few good CSS compressors, but here is one you might want to
consider:http://www.csscompressor.com/
How to modify the style.css file:

1. Make sure you have a backup of your theme’s style.css file.

2. Make the style.css file writable.

3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section.

4. Select style.css from the right-hand menu.

5. Copy the code, run through the compressor and then replace old code with new optimised css code.

6. Save and make sure you make the style.css file read-only again.
Conclusion
These seven tips hopefully offered something for everyone, but it is only the tip of the ice-berg for
WordPress theme modification. If you are not following our blog already, please take this opportunity to
do so.


        If you want to hire a WordPress Theme Designer in the UK, please contact Neogain.

More Related Content

Recently uploaded

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 

Recently uploaded (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Seven WordPress Theme Modification Tips

  • 1. Seven WordPress Theme Modification Tips An extra large jam-packed article for Neogain blog readers. Below you will find seven fantastic WordPress theme modification tips, that hopefully has something for everyone. Please don’t forget to subscribe to our blog. If you need a UK WordPress Theme Designer, please get in touch. Add Geo meta tags to your theme. Geo meta tags are is meta tag geographical data that is perfect for websites that are location based, such as websites for a restaurant, shop or a venue. It is believed Google doesn’t currently pay any attention to geographical meta tags, but apparently Bing does. So for the effort of placing a few extra lines of code in your theme, it could help you improve your search engine ranking, though probably not with Google. To make life easier there is a free tool to create your Geo meta tags here: http://geo- tag.de/generator/en.html Once you’ve got your code, you then need to do the following: 1. Make sure your theme’s header.php file is writable. 2. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section. 3. Select ‘Header’ from the right hand side menu. 4. Place your meta tags under your current meta tags, which should be located above the link data. 5. Once saved make the header.php file read only again. Add Google Analytics to your Theme. If you are running a WordPress plugin to place your Google Analytics, you should consider placing the code manually into your WordPress theme directly. This would result in one less plugin to manage and reduce your website overheads, as well as administration time. How to add the code: 1. Make sure your theme’s footer.php file is writable. 2. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section. 3. Select ‘Footer’ from the right-hand side menu. 4. Place your Google Analytics code above the </body> div. 5. Save and then make sure your footer.php file is only readable.
  • 2. Convert any graphic files. Often you can convert PNG images to JPG without losing quality, plus some JPG images to GIF format. If an image is greyscale or using under 256 colours it could be perfect for conversion to GIF. You might be surprised by the amount you can reduce your WordPress theme size by, just by optimising the graphics. One of the easiest ways to convert files between formats is to use the free GIMP software, available for different platforms including Linux and Microsoft Windows. Manually add a link or copyright notice to your theme footer. Often WordPress themes don’t have any copyright notices included. Having a copyright notice for your theme content is important. Taking the time to manually edit your footer file and add a copyright notice, is time well spent. How to add the extra code: 1. Make sure your theme’s footer.php file is writable. 2. Make a backup of your footer.php file. 3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section. 4. Select ‘Footer’ from the right-hand side menu. 5. Now place your additional code. 6. Afterwards make sure your footer.php file is read-only. Example code: &copy; 2011 copyrightowner All rights reserved. <a href="http://www.website.com/pagedetails">Link Name</a> Turn the logo into a link. If you have a logo at the top of your WordPress theme, you should check whether it is a link. Often people will expect to be able to click on a logo, to then take them back to the home page. This can be more tricky if your logo is actually part of your CSS file, but with a bit of Theme editing, you can make the logo a link. How to modify an image referenced in the header.php file: 1. Make a backup of your theme’s header.php file. 2. Make the header.php file writable. 3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section. 4. Select ‘header’ from the right-hand side menu.
  • 3. 5. If the image code is in the header area, then you can easily modify. 6. Make sure you make your header.php file read-only again afterwards. Example code: <a href="http://www.website.com/home"><img src="logo.jpg" border="0"></a> Edit the theme footer. Some WordPress theme footers take up to much screen space, often made worse by having numerous links, with some being redundant to your requirements. This redundant links could be impacting your internal SEOwebsite linking strategy. How to modify the theme footer: 1. Make sure your theme’s footer.php file is writable. 2. Make a backup of your footer.php file. 3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section. 4. Select ‘Footer’ from the right-hand side menu. 5. Remove the necessary div layers. 6. Save and make sure your footer.php file is read-only again. Squash your CSS file. Often a WordPress theme style.css is too large and can be modified to reduce the file size. The end result though can be a style.css file that is harder to work with and adapt in the future. i.e. removing spacing, merging code, changing colour codes etc. If you make a backup of the original, then perhaps you will be okay with using a compressed style.css file, that will load faster. There are quite a few good CSS compressors, but here is one you might want to consider:http://www.csscompressor.com/ How to modify the style.css file: 1. Make sure you have a backup of your theme’s style.css file. 2. Make the style.css file writable. 3. From the WordPress dashboard select ‘Editor’ from the ‘Appearance’ section. 4. Select style.css from the right-hand menu. 5. Copy the code, run through the compressor and then replace old code with new optimised css code. 6. Save and make sure you make the style.css file read-only again.
  • 4. Conclusion These seven tips hopefully offered something for everyone, but it is only the tip of the ice-berg for WordPress theme modification. If you are not following our blog already, please take this opportunity to do so. If you want to hire a WordPress Theme Designer in the UK, please contact Neogain.