Re: is it possible to change the html title from the WYSIWYG editor?
| From: | Bastien | Date: | Tue, 14 Feb 2012 02:49:23 +0000 |
| Subject: | Re: is it possible to change the html title from the WYSIWYG editor? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316598@lists.php.net to get a copy of this message | ||
Bastien Koert
On 2012-02-13, at 5:34 PM, Haluk Karamete <halukkaramete@gmail.com> wrote:
> Yeah, but n the context of wordpress, that does not fly.
> If I do a die; in the middle of wp's tinymce editor, and check back
> the page, the title is already out there.
>
> first 5 lines would be something like
>
>
> <!DOCTYPE html>
> <html dir="ltr" lang="en-US">
> <head>
> <meta charset="UTF-8" />
> <title>the wordpress page title we were trying toi change is already
> here...</title>
> <link rel="profile"
> href="http://gmpg.org/xfn/11" />
>
> But this question is a wp question. I accidentally dropped it in the PHP group.
>
> On Mon, Feb 13, 2012 at 2:24 PM, Daniel Brown <danbrown@php.net> wrote:
>> On Mon, Feb 13, 2012 at 17:15, Haluk Karamete <halukkaramete@gmail.com> wrote:
>>
>> Please keep the replies on the list for all to benefit, including
>> the archives.
>>
>>> Isn't it TinyMCE considered a WYSIWYG one? but, anyway, that's beside
>>> the main point.
>>
>> Indeed. Hence:
>>
>> ".... even web-based things like TinyMCE, et al."
>>
>>> To your suggestion...
>>>
>>> I don't think your snippet would do any good as far as search
>>> engines... search engines would still take the title in the <head>.
>>> here, we are already in the the_content().
>>
>> Did you understand what I meant by "very basic example?" You'd
>> need to modify your <title>.*</title> tag in the head, as well,
>> obviously. That's all quite logical, and well beyond the scope of the
>> initial question.
>>
>> --
>> </Daniel P. Brown>
>> Network Infrastructure Manager
>> http://www.php.net/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Any reason you can't just use JS to alter the title tag on the page loading?