- This topic has 9 replies, 3 voices, and was last updated 4 years, 1 month ago by Leo.
-
AuthorPosts
-
February 17, 2020 at 2:44 pm #1168550Bram
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
BramFebruary 17, 2020 at 3:20 pm #1168562LeoStaffCustomer SupportHi 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 π
February 18, 2020 at 8:26 am #1169327BramHi 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,
BramFebruary 18, 2020 at 9:19 am #1169385LeoStaffCustomer SupportJust 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 π
February 19, 2020 at 4:08 am #1170123BramHi 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,
BramFebruary 19, 2020 at 6:26 am #1170252DavidStaffCustomer SupportHi there,
add this PHP snippet:
add_action( 'after_setup_theme', function() { remove_action( 'generate_archive_title', 'generate_archive_title' ); } );
February 19, 2020 at 8:15 am #1170563BramSorry David, but where exactly do I have to place this snippet?
I tried extra css, but the answer is : Unexpected token!Kind regards,
BramFebruary 19, 2020 at 9:04 am #1170629LeoStaffCustomer SupportThat is PHP: https://docs.generatepress.com/article/adding-php/
February 19, 2020 at 1:15 pm #1170860BramAgain great job!
Thank you very much!!!Kibd regards,
BramFebruary 19, 2020 at 4:58 pm #1170978LeoStaffCustomer SupportNo problem π
-
AuthorPosts
- You must be logged in to reply to this topic.