{"id":7990,"date":"2011-04-14T04:04:14","date_gmt":"2011-04-14T08:04:14","guid":{"rendered":"http:\/\/info.template-help.com\/?p=7990"},"modified":"2017-02-22T04:46:38","modified_gmt":"2017-02-22T09:46:38","slug":"how-to-use-cufon-replacement-feature","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-use-cufon-replacement-feature.html","title":{"rendered":"How to use Cufon replacement feature"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to use Cufon plugin with WordPress. Cufon is a jquery plugin that allows you to use custom fonts on your website and guarantees that custom fonts will have same appearance for all visitors.\r\n<\/p>\r\n<p>Cufon font-replacement feature in WordPress can be activated installing the   <strong>WP-Cuf\u00f3n<\/strong> plugin. Before you proceed please check the following <a href=\"\/help\/how-to-install-wordpress-plugin-through-admin-panel.html\">video tutorial on how to install plugins in WordPress<\/a>. <\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>1.<\/strong> First you have to convert your font-file  into a Cuf\u00f3n compatible format. Currently TrueType (TTF), OpenType (OTF), Printer Font Binary (PFB) formats are supported. <\/p>\r\n<p><strong>2.<\/strong> You can do this by using Cuf\u00f3n&#8217;s own generator at <a href=\"http:\/\/cufon.shoqolate.com\/generate\/\">http:\/\/cufon.shoqolate.com\/generate\/<\/a><\/p>\r\n<p><strong>3.<\/strong> Open<strong> \/wp-content\/plugins\/<\/strong> folder and create fonts folder. There you&#8217;ll upload the cufon font files (.font.js). The Plugin will recognize your uploaded fonts and activate them.<\/p>\r\n<p><strong>4.<\/strong> Open WordPress admin panel, go to <strong>Appearance&gt;Cufon<\/strong>.<\/p>\r\n<p><strong>5.<\/strong> Into the <strong>Your Cuf\u00f3n replacement-code<\/strong> field input the font replacement code. For Example:<\/p>\r\n<pre>Cufon.replace ('nav a', { fontFamily:'Myriad Pro', hover:true});<br \/>\r\nCufon.replace ('.entry-title, .page-title, .widget-title', { fontFamily:'Myriad'});<\/pre>\r\n<p align=\"center\">\r\n<a class=\"darkbox\" href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/04\/wp-cufon-1.jpg\"><img src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/04\/wp-cufon-1.jpg\" alt=\"WP Cufon Feature\" width=\"400\" class=\"alignnone size-full wp-image-7991\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/wp-cufon-1.jpg 786w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/wp-cufon-1-150x60.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/wp-cufon-1-300x119.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/04\/wp-cufon-1-768x306.jpg 768w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><span class=\"enlarge\">(click to enlarge)<\/span><\/a>\r\n<\/p>\r\n<p>You should define the HTML element (h1 &#8211; h6, div, body, a, input etc) or some css class or ID (.entry-title, .widget-title, #content etc) and font family. <\/p>\r\n<p>Font family name could be found in your .font.js file (  Cufon.registerFont({&quot;w&quot;:205,&quot;face&quot;:{&quot;font-family&quot;:&quot;<strong>Vegur Bold<\/strong>&quot;, &#8230; )<\/p>\r\n<p><strong>6.<\/strong> When you are done click Save Settings at the botom of the page. <\/p>\r\n<p>&nbsp; <\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to use Cufon plugin with WordPress. Cufon is a jquery plugin that allows you to use custom fonts on your website and guarantees that custom fonts will have same appearance for all visitors. Cufon font-replacement feature in WordPress can be activated installing the WP-Cuf\u00f3n plugin. Before you proceed please [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[247,728],"tags":[2564,903,688,813,768,904,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/7990"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=7990"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/7990\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=7990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=7990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=7990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}