Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #197068

    Hi,
    I am looking for a way to add this: Hei [current-username]
    to the page title (container). Is this possible by any change?
    Thank you in advance!
    - Luise

    #197100

    Hi Luise!

    Open functions-eunoia.php, look for line 424:

    if(!empty($link)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".$title."'>$title."</a>";
    

    And replace it by this:

    if(!empty($link)) $title = "<a href='".$link."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".$title."'>Hei: ".wp_get_current_user()->display_name." ".$title."</a>";
    

    Regards,
    Josue

    #197286

    Thank you!!
    I added this, but the custom title only adds to the pages with a title. So now the title changes to this (for instance) “Hei, [current-username] Casting”, and on not on the pages with the set title.
    Maybe its supposed to be like this? In that case, is it possible that the custom title only is set to those pages without a specified title?

    • This reply was modified 10 months, 2 weeks ago by  Luise.
    #197319

    Hello,

    I understand what you want, but unfortunately that is out of the scope of the support we can offer. If you really need it try hiring a freelancer for the job.

    Best regards,
    Josue

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘html to page title’ is closed to new replies.