{"id":1223,"date":"2014-07-15T11:26:51","date_gmt":"2014-07-15T15:26:51","guid":{"rendered":"http:\/\/www.alquier.org\/linfa\/work\/?p=1223"},"modified":"2014-07-15T11:26:51","modified_gmt":"2014-07-15T15:26:51","slug":"replacing-image-logo-by-text-in-wordpress","status":"publish","type":"post","link":"http:\/\/www.alquier.org\/laurent\/sites\/2014\/07\/15\/replacing-image-logo-by-text-in-wordpress\/","title":{"rendered":"Replacing an image logo by text in WordPress"},"content":{"rendered":"<p>Some themes in WordPress (<a href=\"http:\/\/www.elegantthemes.com\/gallery\/divi\/\">like this one<\/a>) only allow an image logo in place of a title.<\/p>\n<p>Here is a quick way to replace that image by a text title using jQuery:<\/p>\n<p>1- Install the <a href=\"https:\/\/wordpress.org\/plugins\/wp-headmaster\/\">WP-Headmaster <\/a>plugin.<\/p>\n<p>This is a great way to allow more control over the header of pages in your WordPress site, including injection of jQuery code.<\/p>\n<p>2- In WP-Headmaster settings, under the &#8216;scripts&#8217; tab, set the first option to No influence and copy this code in the script text area:<\/p>\n<pre>jQuery( document ).ready(function() {\n jQuery( 'img#logo' ).hide().after( \"&lt;span style='font-size: x-large; font-weight: bold;\ndisplay:inline; padding-left:10px;'&gt; My Title &lt;\/span&gt;\" );\n});<\/pre>\n<p>Note that the identifier for the logo to replace can change from theme to theme.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some themes in WordPress (like this one) only allow an image logo in place of a title. Here is a quick way to replace that image by a text title using jQuery: 1- Install the WP-Headmaster plugin. This is a great way to allow more control over the header of pages in your WordPress site, including injection of jQuery code.&hellip; <\/p>\n<p><a class=\"more-link\" href=\"http:\/\/www.alquier.org\/laurent\/sites\/2014\/07\/15\/replacing-image-logo-by-text-in-wordpress\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[123,1],"tags":[133,17,176],"class_list":["post-1223","post","type-post","status-publish","format-standard","hentry","category-tips","category-uncategorized","tag-customization","tag-wordpress","tag-work","xfolkentry","clearfix"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8frwa-jJ","jetpack_likes_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/1223","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/comments?post=1223"}],"version-history":[{"count":0,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/posts\/1223\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/media?parent=1223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/categories?post=1223"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.alquier.org\/laurent\/sites\/wp-json\/wp\/v2\/tags?post=1223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}