Solution to: title hide not working
-
To me it seems some people have problems with titles not hiding. I had the same problem. The plugin itself works fine but there is one change I made to get this plugint working.
In wp-content/plugins/hide-title/dojo-digital-hide-title.php
Change:
<noscript><style type="text/css"> <?php echo $this->selector; ?> { display:none !important; }</style></noscript>
to:
<style type="text/css"> <?php echo $this->selector; ?> { display:none !important; }</style> <!--<noscript><style type="text/css"> <?php echo $this->selector; ?> { display:none !important; }</style></noscript>-->
Of course. If your title is in a different html tag than .entry-title you also need to add to your functions.php in your theme folder the following code:
global $DojoDigitalHideTitle; // Be sure to replace ".your-selector" with your selector! $DojoDigitalHideTitle->set_selector('.page-content h1');
Change “.page-content h1” to whichever tag is being used.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Solution to: title hide not working’ is closed to new replies.