Reply To: Dynamic Page Title

Home Forums Support Dynamic Page Title Reply To: Dynamic Page Title

Home Forums Support Dynamic Page Title Reply To: Dynamic Page Title

#227305
Juergen

Hi Tom,

thanks for your efforts. That helped a lot to understand some of the system functionalities. Unfortunately the code is not working because this function is part of a plugin’s shortcode I do not use.

However I have several ideas. There are a few questions I am not sure what is correct so please give me support:

add_filter( 'wp_title', 'custom_titles', 10, 2 ); Is this the right code to call a function in this example ‘custom_titles’ that modifies the Meta Title Tags?

Is the functions.php in the theme folder the right place to put this code?

Is there a order where to add this code? Can it be at the end of the functions.php?

Thanks for these silly questions. I tried many different ways and it is not working so I want to be sure.

So many Thanks
Juergen