Skip to content
This repository was archived by the owner on Mar 27, 2021. It is now read-only.
This repository was archived by the owner on Mar 27, 2021. It is now read-only.

Chyba ve funkci addPostsArchiveDefinitionRewrite #9

Description

@petrpojer

Ve funkci KT_WP_Configurator->addPostsArchiveDefinitionRewrite() chybí ještě zápis

global $wp_rewrite;
add_rewrite_rule("{$this->getPostsArchiveSlug()}/{$wp_rewrite->pagination_base}/([0-9]{1,})/?$", 'index.php?post_type=' . KT_WP_POST_KEY . '&paged=$matches[1]', 'top');

Bez něj nefunguje stránkování (vrací 404) ve výpisu příspěvků s vlastním slugem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions