To make sure it's a direct link the end of the link you copy MUST HAVE. Notice how we made sure to paste in within the same and that was around to begin with.Īfter that's pasted, in another browser tab open up an image hosting site - this can be tinypic, imgur, photobucket, or even tumblr.įor the image hosting sites it differs but I'm going to use tinypic for this example.Īfter you've uploaded the image you want to make sure you copy the DIRECT LINK (there will be something like this for all image hosts). Next we paste the script over the whole : You will need to make sure to check the option in the appearance tab to make sure the script is show like so. If it's something that doesn't have Image at the end like: then it's a checkbox feature and make sure to look for that in the appearance tab things to CHECK. Since the images you will be having aren't going to be uploaded but plugged into the script code - the script won't show your images if you don't delete - so make sure to do that! What that means if you "translate" it from HTML to understandable terms is that it will only appear if you have uploaded something into the image field named sidebar. While in this code we had - that is ok.īut for other things let say it looked like: Some themes may even have extra stuff outside the image brackets. For those who don't make sure to copy this to notepad or something like that to refer to later! If you have photographic memory, remember what was there originally. Some themes may have more stuff between the image brackets. This is what the script will be replacing. Still in the THEME custom HTML tab - to makes things easy CTRL + F for and then we check to make sure we're past the tag. LOOK FOR THE IMAGE VARIABLE IN THE BODY SECTION (Because that's how you have to code it in for where the sidebar image goes in the theme.)Ĥ. So when we look in the HTML body of the code for where to install the code we should look for: The image property makes it so that the variable we're allowed to change (but really upload) is an image. The meta tag is makes it available for users to customize it in the appearance tab. This will be towards the top of the code in the section. LOOK FOR THE IMAGE VARIABLE IN THE HEAD SECTIONĪfter we make sure we're able to use this script we then look for it in the code first in the THEME tab for the meta customizations to make doubly sure what we're looking for: If you don't have something resembling that and you've scrolled through all the options in the appearance tab for the theme - the sidebar image is in the CSS portion of the theme code and you will NOT be able to use this script, unfortunately. So to randomize the sidebar pic we look for the title of the image variable in the appearance tab. (Preferably customize-classic.) Most themes have an option to upload a sidebar picture of some sort. To find out where to install the script first go to the APPEARANCE tab in the customize page. To make things easier also make sure you have your images already made.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |