• Hi,

    ive inserted into the archive.php following code:

    <?php echo category_description(); ?>

    Now i can see the category description in the top of the site/content.

    Ive tags in the category description. Is there any options to convert this img tags into amp-img Tags?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @gujte

    We already display the category archives, you didn’t had to insert that code.

    And we sanitize the category description as well which means we automatically convert those tags in the category description.

    Thread Starter Gujte

    (@gujte)

    Hi Ahmed,

    without the code, the description will not displayed.

    Do ive to set it up under “general”? Or how can i set it up, to display the descriptions fpr categories/archives?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    @gujte

    If you add it in the category options, see the screenshot: https://take.ms/kBWLu

    Then it will definitely show up below the category name on that category page.

    If you are still not able to see it then please share the URL and I will help you with it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘category description in archive.php’ is closed to new replies.