[Resolved] Categories for postpages creating new pages?

Home Forums Support [Resolved] Categories for postpages creating new pages?

Home Forums Support Categories for postpages creating new pages?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1168550
    Bram

    A new subject came up:
    By adding a categorie (Geestkracht) for my two posts on the page editor, I found out that by clicking on the categorie on the homepage, or elswhere in the footer on other pages, a page Geestkracht opened with a blank headerbackround.
    Is this actually a new page that you have add a new headereffect on(colors etc)? Or simply use the header options in elements (dislplay rules location)?
    https://rickmoeliker.nl/category/geestkracht/

    I should like to have the page as shown in this example website https://geldkanon.nl/category/geldtips/

    Kind regards
    Bram

    #1168562
    Leo
    Staff
    Customer Support

    Hi there,

    You would need to create page hero with this as the content:

    Categorie: {{post_title}}

    Then assign that to the post category archives in display rules.

    Let me know if this helps πŸ™‚

    #1169327
    Bram

    Hi Leo, thanks for your help, but I sunk into a weard problem.

    The categorie page was fine as you discribed.
    But suddenly the postpage Uitvindingen came up with the header of the postpage Creativiteit.
    Whatever I tried, install image again etc, nothing seems to help. And now I am turning into circles.
    Also I have disabled the page Categorie, to go back to the old situation, no result.
    It looks like I have caused a conflict between the pages.
    Please give me some suggestions.

    https://rickmoeliker.nl/uitvindingen/

    Kind regards,
    Bram

    #1169385
    Leo
    Staff
    Customer Support

    Just sounds like some conflicts in display rules:
    https://docs.generatepress.com/article/conflicting-display-rules/

    Can you make sure to appropriate exclusions under display rules?

    Let me know πŸ™‚

    #1170123
    Bram

    Hi Leo, Thanks very much, with exclusions ‘entire’ site for the different posts, the problem is solved.

    There is one left. On the created page categorie Geestkracht, you can see the title ‘Geestkracht’ in the white content (https://rickmoeliker.nl/category/geestkracht/)
    Can I hide this title? The title in the header is perfect.

    Kind regards,
    Bram

    #1170252
    David
    Staff
    Customer Support

    Hi there,

    add this PHP snippet:

    add_action( 'after_setup_theme', function() {
        remove_action( 'generate_archive_title', 'generate_archive_title' );
    } );

    https://docs.generatepress.com/article/adding-php/

    #1170563
    Bram

    Sorry David, but where exactly do I have to place this snippet?
    I tried extra css, but the answer is : Unexpected token!

    Kind regards,
    Bram

    #1170629
    Leo
    Staff
    Customer Support
    #1170860
    Bram

    Again great job!
    Thank you very much!!!

    Kibd regards,
    Bram

    #1170978
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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