Support » Plugin: The SEO Framework » Display the category or tag description on the front end

  • Resolved DaveReed


    Hi, is it possible to display the descriptions we have entered for categories and tags through the front end archive templates?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sybre Waaijer



    The SEO Framework isn’t really meant for front-end HTML display. But, there are methods to retrieve the information processed and entered.

    For example, you can use this snippet to output the custom description:

    $description = '';
    if ( function_exists( 'the_seo_framework' ) ) {
    	$description = the_seo_framework()->get_description_from_custom_field();
    // Display it.
    echo esc_html( $description );

    If your theme allows it, you can also use a filter and fill it with The SEO Framework’s data. However, that’s a little more advanced.

    Coincidentally, I recently answered a mostly related inquiry here, with added details:

    I hope this helps 🙂 Cheers!


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.