{"id":573,"date":"2011-11-13T18:11:33","date_gmt":"2011-11-13T18:11:33","guid":{"rendered":"http:\/\/cdblog.cdstealer.com\/?p=573"},"modified":"2017-01-29T09:52:09","modified_gmt":"2017-01-29T09:52:09","slug":"wordpress-tweaks","status":"publish","type":"post","link":"https:\/\/cdblog.cdstealer.com\/?p=573","title":{"rendered":"WordPress tweaks"},"content":{"rendered":"<h1><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1535\" src=\"http:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2017\/01\/Wordpress_logo_8-300x297.png\" alt=\"\" width=\"300\" height=\"297\" srcset=\"https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2017\/01\/Wordpress_logo_8-300x297.png 300w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2017\/01\/Wordpress_logo_8-150x150.png 150w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2017\/01\/Wordpress_logo_8-1024x1015.png 1024w, https:\/\/cdblog.cdstealer.com\/wp-content\/uploads\/2017\/01\/Wordpress_logo_8.png 1185w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/h1>\n<h1>Disable SmartQuotes<\/h1>\n<p>Create the file TurnOffSmartQuotes.php and paste the below into it:<\/p>\n<pre>&lt;?php \/* Plugin Name: TurnOffSmartQuotes Plugin \r\nURI: \r\nDescription: Stops WordPress from converting your quote symbols into smartquotes. The lines below stop the smartquote conversion. \r\nVersion: 1.0 \r\nAuthor: Steve Moyes Author \r\nURI: http:\/\/cdstealer.com *\/ \r\nremove_filter('the_content', 'wptexturize'); \r\nremove_filter('widget_text', 'wptexturize'); \r\nremove_filter('the_excerpt', 'wptexturize'); \r\nremove_filter('the_rss_content', 'wptexturize'); \r\nremove_filter('the_title', 'wptexturize'); \r\nremove_filter('single_post_title', 'wptexturize'); \r\nremove_filter('comment_text', 'wptexturize'); \r\nremove_filter('comment_author', 'wptexturize'); \r\nremove_filter('list_cats', 'wptexturize'); \r\nremove_filter('category_description', 'wptexturize'); \r\nremove_filter('bloginfo', 'wptexturize'); ?&gt;<\/pre>\n<p>Now it's just a case of enabling the plugin within the plugins menu in siteadmin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Disable SmartQuotes Create the file TurnOffSmartQuotes.php and paste the below into it: &lt;?php \/* Plugin Name: TurnOffSmartQuotes Plugin URI: Description: Stops WordPress from converting your quote symbols into smartquotes. The lines below stop the smartquote conversion. Version: 1.0 Author: Steve Moyes Author URI: http:\/\/cdstealer.com *\/ remove_filter('the_content', 'wptexturize'); remove_filter('widget_text', 'wptexturize'); remove_filter('the_excerpt', 'wptexturize'); remove_filter('the_rss_content', 'wptexturize'); remove_filter('the_title', 'wptexturize'); &hellip; <a href=\"https:\/\/cdblog.cdstealer.com\/?p=573\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress tweaks<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[18,274,96],"class_list":["post-573","post","type-post","status-publish","format-standard","hentry","category-gentoo","tag-linux","tag-smartquotes","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=573"}],"version-history":[{"count":6,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions"}],"predecessor-version":[{"id":1554,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=\/wp\/v2\/posts\/573\/revisions\/1554"}],"wp:attachment":[{"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cdblog.cdstealer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}