• Resolved SchulerGaetjens

    (@schulergaetjens)


    I would like to put a headline and short description on top of the archive page Aktuelles. I added the following code to the archive.php file:
    <?php echo category_description( $category_id ); ?>
    and installed the rich text tags plugin, but the description will not be displayed.
    How to fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Andrew Misplon

    (@misplon)

    Hi @schulergaetjens

    Thanks for posting your question.

    A quick reminder that all WordPress themes completely overwrite their own folder during the theme update process. Any edits made to theme files will be lost during the theme update process. In the event you need to edit a theme file, please, use a child theme:

    https://purothemes.com/documentation/general-wordpress/creating-child-theme/

    I really appreciate you raising this issue, it’s a bug. I’ve prepared a child theme to resolve it. You can download it here.
    Install the child theme from Appearance > Themes > Add New: Upload Theme > Activate.
    When the next version of Puro is released and you update you can then switch back to Puro as the change will be included in the parent theme.

    Please, note: when activating a child theme in WordPress the following will reset:

    Appearance > Menus > Menu Locations.
    Appearance > Customize.
    Sometimes Appearance > Widgets, widgets usually drop into the inactive area if this happens.

    Let me know how it goes.

    Thread Starter SchulerGaetjens

    (@schulergaetjens)

    Thanks for your answer!
    I’ve already used child themes in other cases but thought it could work without in this case because it’s a very simple website:
    https://www.helferinitiative-21.de
    The issue came up because I changed the homepage from “Ueber uns” (page) to “Aktuelles” (post archive). I would like to move the featured image from the “Ueber uns” page to the new homepage as well.
    I’ll keep you informed.

    Theme Author Andrew Misplon

    (@misplon)

    Thanks for opening a thread on purothemes.com. We’ll be sure to follow-up there.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can a category description be displayed?’ is closed to new replies.