Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marin Atanasov

    (@tyxla)

    Hi @eric,

    Yes, there are many ways to do that, although they’re not directly related to this plugin.

    If you use add_theme_support( ‘title-tag’ ); in your theme, you can use the document_title_parts filter. If you’re using the older wp_title(), you can use the wp_title filter.

    Then, when you hook the particular filter, you can check what the current domain is (by using $_SERVER['SERVER_NAME'] or $_SERVER['HTTP_HOST'], and display your preferred title/tagline as needed.

    Good luck with your project!

    Regards,
    Marin

    Thread Starter Eric

    (@eha75)

    thanks martin!
    anyone here who may want help me with some code, i am not a developer ?? and i really like to use WP Hydra than the Multiple Domains with Analytics plugin?

    tnx, eric

    Hi Marin,

    could this be written into the plugin to have where a user can add a list of domains with tiles so when the corresponding domain is accessed / triggered it would show the relevant domain title tag if that makes sense.

    Sorry if i have not made sense

    Plugin Author Marin Atanasov

    (@tyxla)

    Hi Sarah,

    Yes, sure, this functionality can be crafted as a plugin. However this goes out of the plugin support scope, so this is not the right place for that.

    Regards,
    Marin

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘rewrite weblog title and tagline’ is closed to new replies.