• Resolved frenchomatic

    (@frenchomatic)


    If you are running a blog where you don’t use categories because you basically only have one then you can remove the category link that appears with a small customisation. This also reduces duplication since a category archive and a blog posts page are essentially the same.

    Go to templates/design-manager/design-X/elements/meta-info.php and simply set

    $ampforwp_categories = get_the_terms( $this->ID, ‘category’ );

    to this

    $ampforwp_categories = false;

    * Marqas I added a request to github about this – a toggle in the admin panel would be a nice thing to do rather than editing a template file.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove the category link in meta info for sites with one category’ is closed to new replies.