Support » Plugin: Hide Title » Plugin wraps nav item instead of actual page title, even with tweak

  • Hey there –

    I installed the plugin and followed your instructions on putting the title selector in the functions.php file (in my case it’s .page-banner-heading).

    However, when I set the page to hide the title, it puts the dojodigital_toggle_title wrapper on the instance of the title text as it appears in the navigation, rather than the actual title using .page-banner-heading further down the page. After looking at the code, I suppose this is because it IS technically after the header, but the nav appears before the title on the page, so the plugin must just see the title text in the navigation and says “found it! okay done!”

    Any ideas on how to fix this? I’m willing to make PHP changes, just don’t know what to do about it exactly.

    Thanks!

    k*

    http://wordpress.org/extend/plugins/hide-title/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dojo Digital

    (@dojodigital)

    Hi kstarcher,

    Because the wp_title hook doesn’t have any way to determine where the title is being output it ends up wrapping it around all instances of the title after the wp_head has run, therefore it SHOULD also be found wrapped around the page title.

    If you could send us a link to the page you’re having trouble with we may be able to see why that isn’t happening in your case.

    Thanks,
    -Randy

    Sure thing. Is there a way I can email it to you or something? It’s for a client’s site under development and I don’t feel I should post it publicly yet (but happy to post the results after for anyone else running into the issue)…

    Plugin Author Dojo Digital

    (@dojodigital)

    No problem, you can email us at ninjas@dojodigital.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin wraps nav item instead of actual page title, even with tweak’ is closed to new replies.