Whenever I clear the webpages cache with WP rocket it resets hide title and show the title on the pages I have hidden the title on.
]]>Your plugin runs the load_scripts function with the wp_enqueue_scripts hook. This means that function is called on every page load. But not every page load has a $post object. This results in an error thrown when $post does not exist.
Please add at line 134:
if( !$post ) return;
As the title says, and I updated it too. Why won’t it delete like other plugins and how can I delete it completely?
Nevermind it worked now.
]]>I sometimes see the message:
Notice: Trying to get property ‘post_title’ of non-object in /[…]/plugins/hide-title/dojo-digital-hide-title.php on line 127
version 1.0.8.
thanks
]]>This plugin has been updated. Once you do the required update, you can delete. Also
:
== Changelog ==
= 1.0.8 =
* Fixed Deletion Error
* Removed WP-Updates
* Added a body class of dojo-hide-title
On a 404 page:
Notice: Trying to get property of non-object in /public_html/website/wp-content/plugins/hide-title/dojo-digital-hide-title.php on line 127
Version: 1.0.9
]]>I have a problem with removing the plugin. After deletion from FTP, the delete hiding field remains and after saving the new entry automatically hides the title and I would like the title to be visible.
How to completely remove the plugin in WordPress 5, which you can not see in the plugins.
I’m not having any luck deleting it. What can I do?
]]>Hello, the plugin cannot be removed after the 5.0.2 patch. The Plugin stopped working. I’m using the Divi theme.
Steps taken:
Deactivated usage on all pages and posts
Deactivated all other plugins
Deactivated Divi Builder and Theme
Nothing works. Could you fix it please? Or point me to some documentation that shows how to completely delete the plugin from the c-panel? thank you
]]>I recently had the page in question NOT showing the title, but now it shows sometime after I updated to WP 5.0 and installed/activated the Classic Editor Plugin. Please advise. Thanks in advance!
]]>I have been receiving notification to update to version 1.0.9 but can’t update because the version here on www.remarpro.com is 1.0.6.
Would you mind telling me why this might be happening?
]]>Hi,
The plugin has served me well, but now I want to remove it. Deactivated the plugin and then tried to delete it, but it wouldn’t. Instead I deleted the html files manually with FTP. Nothing changed however. Titles are still hidden both on existing posts and new posts I publish. I’m guessing there is code left somewhere or something in the database?
Thank you.
]]>Hi, I had a problem with the plugin not working on some pages and after some time I found the solution and fixed it. I will share with you, so you can hopefully fix it and add it to the next update.
The problem:
When comparing the $content == $this->title for this example “Козметични продукти – VICHY / ВИШИ” (without the quotation marks) the dash symbol makes some problem and the result is not true therefore the function does not execute properly
The solution:
The comparison $content == $this->title in the wrap_title function should be replaced with strcmp($content, $this->title).
Example:
public function wrap_title( $content ){
if( $this->is_hidden() && strcmp($content, $this->title) && $this->afterHead ){
$content = '<span class="' . $this->slug . '">' . $content . '</span>';
}
return $content;
} // wrap_title()
]]>
If the title contains characters like “&” it will fail to hide the title, because it compares the raw value with the html encoded title.
Easy fix is to change line 113
if( $this->is_hidden() && $content == $this->title && $this->afterHead ){
to
if( $this->is_hidden() && html_entity_decode($content) == $this->title && $this->afterHead ){
First of all, I added this plugin but shortly thereafter realized that it is only hiding the Title – but the theme I am using defaults this to an H1. So, I assigned an H1 to my chosen Title/heading for the page. This led to adding a second H1 to my page, and I found multiple other pages with the same issue. This is terrible for SEO! ScreamingFrog identified the dup H1’s on these pages – is it your understanding that your plugin should hide the Title from being crawled as well?? Anyway, obviously just hiding an Htag and then adding another visible one is a great way to prevent a website from ranking..
]]>So The plugin just stopped working, and doesnt hide any titles at all for any of our “pages”. I went to the header.php to make sure the folowiing piece of code was still there <?php wp_head(); ?>
and its still in the header/pho file So im not sure why this plugin stopped working.
]]>Hei
I’m using the Plugin for some of my pages. It works fine… except a behavior I would like to avoid.
When a page is loading, the title is displayed and then, later in the loading process, the title is hidden.
Is is a way for hidding the title right from the beginning?… i mean i do not want the user to see the title appear and disappear
Thanks for help
Regards
This plugin does nothing
]]>Did not hide the title. I added the header php code even tho it already contained the head tag and no difference. How can I make this work? There are no plugins that do this tho it seems like such a common request!
this page: https://10in30.com/the-official-lose-10-pounds-in-30-days-ebook/
]]>(Let’s try this again and maybe one example will come through)
Anyone,
From what I can tell, the Hide Title code looks for the entry-title and then inserts itself around your title.
Unfortunately, the code also finds the actual title, not the class reference entry-title, further down in my page CSS for the Twitter social icon at the bottom of the page. It then wraps itself around the title in the href for the social icon.
<a href="https://twitter.com/home?status=<span%20class=" dojodigital_toggle_title"="">PageTitle:https://www.website.com/" title="Twitter" target="_blank" rel="nofollow" class="fa fa-twitter"></a>
I’m looking for any and all possible solutions. Fire away.
Thank you in advance.
Mike
]]>does not work for me, is there any update soon.
]]>The popup “Hide Title” removed the title on the page but “added” the page title in small script with quotes and />. I am a newbe and I don’t know how to remove that. Perhaps you can help. check out the page https://www.stardancertantra.com/wp/aboutmeee/
Thanks
Hi there!
First of all, I’d like to thank you for your work – finally I could get rid of this “Blog” page title. Yet, after deactivating and uninstalling your plugin, titles didn’t come back… Do you know where the problem could be? My theme’s name – Vogue.
Regards,
Ana
]]>Hello.
Thanks for making this plugin. It seems to not work when the page being displayed is the “Posts page.” i.e. in the wordpress admin go to “Settings” -> “Reading” and set the “Posts page:” to something. It seems to work fine on other pages.
thanks
-Aaron
]]>Please help. This plug in does not hide page titles, and I continue seeing Home header on a home page and about header on about page.
I change Settings and save, but nothing happens. Any idea?
]]>Hi
When using the plugin, any pages I use it on end up having blank entries in the HTML site map.
The pages still exist in the HTML of the sitemap page as links, but have no anchor text so there is just a blank line for those pages.
Any ideas on how to deal with that?
Thanks for a good plugin.
]]>When I hide the title you can still see it in the source of the page.
So when I’m scanning the site using screaming frog it’s still detected. So it’s technically hidden on the page but not from search.
]]>When I use the plugIn to hide the title of my page the navigation is mixed up. You can see it here:
https://prior.buero-fuer-mediengestaltung.de/prioritaeten/
Can You please help. Thanks.
]]>Hi,
I’ve Version 1.0.4 installed. Debug gives me this error:
Trying to get property of non-object in /home/site/www/site.com/wp-content/plugins/hide-title/dojo-digital-hide-title.php on line 127
Not sure if this is a bug or not as this plugin does its job!
Dennis
]]>I tried adding <?php wp_head(); ?> yet page titles still show. Thank you!
]]>