How to generate Page meta description programmatically, on fly?
-
Hi there
My WordPress pages need to have dynamic (programmatically generated) meta-description and title in the <head> section.
– Where will I use PHP code for this? In the Page Template? In functions.php? Or somewhere else?
– How will I ensure that the title and meta description are added between <head> and </head>, and not elsewhere like in the <body> section?Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to generate Page meta description programmatically, on fly?’ is closed to new replies.