wecobble / Subtitles

Add subtitles into your WordPress posts, pages, custom post types, and themes. No coding required. Simply activate Subtitles and you're ready to go.
http://wordpress.org/plugins/subtitles/
GNU General Public License v2.0
117 stars 186 forks source link

Compatibility with html title and wp_title() #44

Closed lmartins closed 9 years ago

lmartins commented 9 years ago

Hi,

Thank your for this really useful plugin. Currently using Subtitles and wp_title() to generate pages title attribute, there's an issue because what gets outputted is something like:

<title> » <span class="entry-title-primary">Nulla consequat massa quis enim</span> <span class="entry-subtitle">Subtítulo do artigo</span>Disclosure</title>

Is this something you planning to fix?

philiparthurmoore commented 9 years ago

Hi there. This shouldn't be happening at all. Where exactly are you seeing this?

lmartins commented 9 years ago

Im seeing it on my blog, but i've just noticed it only happens locally, not on the server: http://intangible.life/modern-wordpress-workflow-theming/

I'll close this for now and report back if I see it happening on server. Thaks.

philiparthurmoore commented 9 years ago

Great, thanks. Subtitle stuff should only affect everything inside The Loop, and not your page title. If you see this come up again let me know.