Common problems when modifying WordPress Themes FAQ - part 1

625 views
589 views

Published on

Problems can arise when modifying a WordPress theme. This FAQ should be very useful to novices. If you require help, please hire Neogain.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
625
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Common problems when modifying WordPress Themes FAQ - part 1

  1. 1. <ul><li>Common Problems when Modifying WordPress Themes FAQ – part 1 </li></ul><ul><li>If you are a novice WordPress website administrator, chances are you dabble with the WordPress theme, else you might find yourself doing so soon. </li></ul>
  2. 2. <ul><li>This is a frequently asked questions page to bookmark, as it covers some basic theme modification questions. </li></ul><ul><li>You might pick up a tip to use today, else need to refer to at a later date. This page is part 1 of the FAQ and you can find the link to part two at the bottom of this page. </li></ul><ul><li>If you require a WordPress Theme Designer, please get in touch. </li></ul>
  3. 3. <ul><li>Q. How do I add a copyright notice to my WordPress theme? </li></ul><ul><li>A common problem is copyright notices are often missing from themes, and you might want to copyright your content. This is easily done by editing the theme’s files directly. The below example shows you how to edit your footer.php file to include a notice: </li></ul>
  4. 4. <ul><li>Step 1 – Log into WordPress as an administrator. </li></ul><ul><li>Step 2 – From the WordPress dashboard select ‘Editor’, from the ‘Appearance’ section. </li></ul><ul><li>Step 3 – Select ‘footer.php’ from the list of files on the right hand side. </li></ul><ul><li>Step 4 – Find a suitable location and paste something similar to: &copy; 2011 copyright owner </li></ul><ul><li>Step 5 – Select ‘update file’ from the bottom. </li></ul><ul><li>Note: &copy; is the HTML code for the copyright symbol. </li></ul>
  5. 5. <ul><li>Q. How can I add a link manually in the footer of my WordPress theme? </li></ul><ul><li>A. It isn’t a problem to manually code a link directly into your WordPress theme. You main concern should be looking at whether you want the page in question to appear elsewhere in your website. You might want to use the ‘exclude pages’ WordPress plugin, so that the page isn’t displayed in a menu. </li></ul>
  6. 6. <ul><li>If for example you wish to manually add a link to the footer of your theme, follow steps 1 – 3 as shown above, then paste code similar to <a href=”http://www.yourwebsite.com/pagename”>Page Name</a> in a suitable location. Then once finished select ‘Update File’ at the bottom. </li></ul>
  7. 7. <ul><li>Q. How can I change my WordPress theme’s background colour? </li></ul><ul><li>A. This can usually be achieved via two methods depending on how the WordPress theme was put together. A background colour is usually presented either by a colour specified in the style.css file, else a graphics file that is being called from the style.css file. Often both a colour code and a graphics file will be used to achieve an effect. To change a background colour: </li></ul>
  8. 8. <ul><li>Step 1 – From the WordPress dashboard select ‘Editor’, from the ‘Appearance’ section. </li></ul><ul><li>Step 2 – From the file options on the right select ‘style.css’. </li></ul><ul><li>Step 3 – Usually towards the top of a style.css file you will find reference to a ‘background’, listed, usually listed in a ‘body’ div. </li></ul><ul><li>Example: body background : #ADBED3 url(images/bkimage.jpg) repeat-x top ; </li></ul>
  9. 9. <ul><li>Step 4 – Once you’ve made the changes select, update the file. </li></ul><ul><li>In the above example both a background image colour and an image file have been specified, which working together display a background. </li></ul><ul><li>The image file is usually contained within a sub-folder of the theme. i.e. /wp-contents/themes/themename/images/ </li></ul>
  10. 10. <ul><li>Part two of our WordPress Theme FAQ </li></ul><ul><li>is available on our website. </li></ul><ul><li>If you require a website designer , </li></ul><ul><li>you should get in touch with Neogain. </li></ul>

×