{"id":910,"date":"2025-04-09T13:10:42","date_gmt":"2025-04-09T11:10:42","guid":{"rendered":"https:\/\/gentz.cloud\/?p=910"},"modified":"2025-04-09T13:10:45","modified_gmt":"2025-04-09T11:10:45","slug":"how-to-remove-the-unwanted-dot-in-the-header-of-the-clever-fox-theme","status":"publish","type":"post","link":"https:\/\/gentz.cloud\/?p=910","title":{"rendered":"How to Remove the Unwanted Dot in the Header of the Clever Fox Theme"},"content":{"rendered":"\n<p>If you&#8217;re using the Clever Fox WordPress theme and noticing an unexpected dot at the end of text elements in the header area (like &#8220;Email Us.&#8221; or &#8220;Online 24&#215;7.&#8221;), this is likely due to how the theme outputs text in the <code>above-header.php<\/code> file.<\/p>\n\n\n\n<p>In that file, the theme uses PHP\u2019s <code>printf()<\/code> function with a format string that includes a period, like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>printf( esc_html__('%s.', 'clever-fox'), esc_html($tlh_contact_title));\n<\/code><\/code><\/pre>\n\n\n\n<p>This line takes the value of <code>$tlh_contact_title<\/code> and appends a dot to the end.<\/p>\n\n\n\n<p>To remove the dot, you simply need to change the format string from <code>'%s.'<\/code> to <code>'%s'<\/code>. Here is an example:<\/p>\n\n\n\n<p>Before:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>&lt;span class=\"text\">&lt;?php printf( esc_html__('%s.', 'clever-fox'), esc_html($tlh_contact_title)); ?>&lt;\/span>\n<\/code><\/code><\/pre>\n\n\n\n<p>After:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code>&lt;span class=\"text\">&lt;?php printf( esc_html__('%s', 'clever-fox'), esc_html($tlh_contact_title)); ?>&lt;\/span>\n<\/code><\/code><\/pre>\n\n\n\n<p>Make the same change for other similar lines in the file, including those using:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>$tlh_contact_sbtitle<\/code><\/li>\n\n\n\n<li><code>$tlh_email_title<\/code><\/li>\n\n\n\n<li><code>$tlh_email_sbtitle<\/code><\/li>\n\n\n\n<li><code>$tlh_mobile_title<\/code><\/li>\n\n\n\n<li><code>$tlh_mobile_sbtitle<\/code><\/li>\n<\/ul>\n\n\n\n<p>If you are using a code editor like VS Code, Sublime Text, or Notepad++, you can use the search function to find all occurrences of <code>%s.<\/code> and replace them with <code>%s<\/code>. This will speed up the process and help avoid missing any lines.<\/p>\n\n\n\n<p>Remember to create a backup of the file before making changes, or better yet, use a child theme to ensure your edits are update-safe.<\/p>\n\n\n\n<p>After these adjustments, the unwanted dot will be gone and your header will display cleanly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re using the Clever Fox WordPress theme and noticing an unexpected dot at the end of text elements in the header area (like &#8220;Email Us.&#8221; or &#8220;Online 24&#215;7.&#8221;), this is likely due to how the theme outputs text in the above-header.php file. In that file, the theme uses PHP\u2019s printf() function with a format<\/p><\/div>\n<div class=\"blog-btn\"><a href=\"https:\/\/gentz.cloud\/?p=910\" class=\"home-blog-btn\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-910","post","type-post","status-publish","format-standard","hentry","category-tips-ricks"],"_links":{"self":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=910"}],"version-history":[{"count":1,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/910\/revisions"}],"predecessor-version":[{"id":911,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/910\/revisions\/911"}],"wp:attachment":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}