All Questions
6 questions
1
vote
1
answer
656
views
How to get custom page template being edited in gutenberg editor
I want to know custom page template name (the one chosen in page attributes - template) in PHP, before page opens in order to enqueue additional scripts according to chosen template.
I know how to get ...
0
votes
1
answer
70
views
Put page on Archived statut after end of publication date
I’m looking for a way to put pages on archived statut after expiration of the publication date.
First, I add archived statut to the platform (code below). This statut appear if the page is published. ...
0
votes
1
answer
175
views
How to create "custom page types" with different custom fields in them?
I have lots of pages that perform very different purposes in my website (landing pages, thank you pages, regular website pages, webinar pages, etc).
As such, I would like to group my pages into ...
0
votes
2
answers
827
views
Admin menu disable new/delete page
So I've been tinkering with the admin roles and I can't seem to be able to revoke create page rights for the admin. I can only find 'Edit page'.
If I remove Edit page, the entire pages tab goes away(...
10
votes
2
answers
8k
views
How to display by default only published posts/pages in the admin area?
As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is.
I have a lot of drafts, but usually I'm much more ...
3
votes
2
answers
8k
views
Change admin startpage to Pages-page?
When you login to the admin you see the Welcome page by default. A client of mine requested to see the "Pages" page by default, he had seen it somewhere else.
Is this possible, and if so, how? Tried ...