-
Is there a way to output Rank Math’s variables directly into HTML (maybe by using a shortcode or directly with PHP)?
I am referring to the same variables that Rank Math uses to generate titles and meta descriptions.
E.g. %title% or %excerpt% or %term% can easily be outputted with <?php echo the_title(); ?>, <?php echo the_excerpt(); ?> and <?php single_term_title(); ?>
But what about others like %pt_single% or %pt_plural% or %_gd_in_location%, which will output the name of the CPT (singular or plural), and the location set by another plugin?
Rank Math has
Thank you in advance.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The ticket ‘Output Rank Math’s variables into HTML?’ is closed to new replies.