Custom icon in wordPress
3
Creating an icon
There are various ways to do this, however I highly recommend GIMP for all image manipulations (except for SVG). It's basically a free photoshop.Adding the icon to wordPress
Without FTP access:- Upload the icon you've created under Media → Add New
- Click on the icon to get to the editing page and copy the address of the icon
- Go to Appearance → Editor and select header.php in the column on the right side
- Find the <head> tag and insert the following line right afterwards:
- <link rel="shortcut icon" href="address_of_your_icon" />
With FTP access:
- Upload the icon via FTP to the same folder as your style.css (wordpress/wp-content/themes/theme_name)
- Edit header.php and insert the following line right after <head>:
- <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/name_of_your_icon.ico" />
Warning: header.php still gets overwritten if you make an update unless you're using a child theme.
Create Your Free Wealthy Affiliate Account Today!
4-Steps to Success Class
One Profit Ready Website
Market Research & Analysis Tools
Millionaire Mentorship
Core “Business Start Up” Training
Recent Comments
3
Create Your Free Wealthy Affiliate Account Today!
4-Steps to Success Class
One Profit Ready Website
Market Research & Analysis Tools
Millionaire Mentorship
Core “Business Start Up” Training
Just can't get it to work, have to use &lt; it seems to avoid the lines getting removed.
Edit: yep, that did the trick... enjoy! (However, I can't edit it or I'll have the same troubles again)
Open the editor for the post, click style, then 'Computer Code' I believe this will allow you to insert code into your posts.
http://d.pr/i/DfDs
Okay thanks, I'll try that next time, this was pretty ugly ;)