{"id":1311,"date":"2013-01-21T14:29:44","date_gmt":"2013-01-21T14:29:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/toggle-the-title\/"},"modified":"2014-04-17T18:02:06","modified_gmt":"2014-04-17T18:02:06","slug":"toggle-the-title","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/toggle-the-title\/","author":11525498,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.4","stable_tag":"1.4","tested":"3.6.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Toggle The Title","header_author":"Avner Komarow","header_description":"","assets_banners_color":"504c4e","last_updated":"2017-11-28 12:49:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/toggle-the-title\/","header_author_uri":"mailto:avner.komarow@gmail.com","rating":4.7,"author_block_rating":0,"active_installs":2000,"downloads":67635,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.4":"<ul>\n<li>fixed Warning: \\&quot;Missing argument 2 for TitleToggler_hide_title()\\&quot; http:\/\/wordpress.org\/support\/topic\/hello-great-plugin-but-im-getting-an-error-msg-below\nthis issue was reported by many users...<\/li>\n<\/ul>"},"ratings":{"1":"1","2":"1","3":"2","4":0,"5":"29"},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"658084","resolution":"772x250","location":"assets","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.3","1.4"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"657887","resolution":"1","location":"assets","width":280,"height":61},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"830279","resolution":"2","location":"assets","width":425,"height":704}},"screenshots":{"1":"The page edit screen.","2":"The options screen."}},"plugin_section":[],"plugin_tags":[1244,3511,1378,1460,292],"plugin_category":[],"plugin_contributors":[79136],"plugin_business_model":[],"class_list":["post-1311","plugin","type-plugin","status-closed","hentry","plugin_tags-hide","plugin_tags-remove","plugin_tags-simple","plugin_tags-title","plugin_tags-wp","plugin_contributors-avnerkomarow","plugin_committers-avnerkomarow"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/toggle-the-title_504c4e.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/toggle-the-title\/assets\/screenshot-1.jpg?rev=657887","caption":"The page edit screen."},{"src":"https:\/\/ps.w.org\/toggle-the-title\/assets\/screenshot-2.jpg?rev=830279","caption":"The options screen."}],"raw_content":"<!--section=description-->\n<p>A plugin that will allow removing page titles per page. Only intended for pages (IE: no posts \/ other custom post types).<\/p>\n\n<p>Note: this plugin dose not simply hiding the title via css, it actually removes it which is much better seo wise.<\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<p>you can contact me at avner.komarow@gmail.com<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload and extract <code>toggle-the-title.zip<\/code> to the <code>\/wp-content\/plugins\/ toggle-the-title<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>go and edit any page you like - and you will find a check box (default is showing the title)<\/li>\n<li>You can enable auto-save in the setting menu (IE: toggling the title will automatically save the page)<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload and extract <code>toggle-the-title.zip<\/code> to the <code>\/wp-content\/plugins\/ toggle-the-title<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>go and edit any page you like - and you will find a check box (default is showing the title)<\/li>\n<li>You can enable auto-save in the setting menu (IE: toggling the title will automatically save the page)<\/li>\n<\/ol><\/dd>\n<dt>menu items disappeared when toggling<\/dt>\n<dd><p>update to 1.2 or higher.<\/p><\/dd>\n<dt>it does not remove the title<\/dt>\n<dd><p>you need to use the_title() or  wp_title() or $post_id-&gt;post_title and so on just as long that you are getting the title via wp internal functions<\/p><\/dd>\n<dt>i would like to totally remove the  from the dom<\/dt>\n<dd><p>You could do something like this:<\/p>\n\n<p>1) Add this function to your functions.php file on you current theme<\/p>\n\n<p>'function return_page_title_html_block($post) {\n    $is_page_title_active = get_post_meta($post-&gt;ID, $key = 'toggle_page_title', $single = true);\n    if($is_page_title_active == '' || $is_page_title_active) return '<\/p>\n\n' . $post-&gt;post_title . '\n\n<p>';\n    return '&nbsp;';\n}'<\/p>\n\n<p>(without the tick marks of course)<\/p>\n\n<p>2) In your page.php file replace the title with the h1 tags to a call to echoing out the above function - print return_page_title_html_block($post);<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4<\/h4>\n\n<ul>\n<li>fixed Warning: \\\"Missing argument 2 for TitleToggler_hide_title()\\\" http:\/\/wordpress.org\/support\/topic\/hello-great-plugin-but-im-getting-an-error-msg-below<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>added a new feature to turn off all page titles<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>fixed menu items disappeared when toggling the title<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>fixed link to the \\\"developer web site\\\" (thanks Charles Anders for pointing it out)<\/li>\n<li>fixed plugin conflict with Q and A FAQ (thanks murokoma - http:\/\/wordpress.org\/support\/topic\/not-seeing-questions-plugin-conflict-with-toggle-the-title)<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>-- Init --<\/p>","raw_excerpt":"A plugin that will allow to actually remove (not just hide) page titles per page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1311"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/avnerkomarow"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1311"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1311"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1311"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1311"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1311"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}