- This topic has 7 replies, 2 voices, and was last updated 6 years, 1 month ago by Leo.
-
AuthorPosts
-
March 2, 2018 at 2:37 am #509494Leslie
Hi, I am a newbie, and I am trying to automate the ‘Add New Post’ page so the user has less things to remember (and probably forget) to do before posting a new post. Essentially, I want them to be able to simply type in the post and click “publish” with all the other settings made automatically. I can’t imagine it can all be automated, but I thought I’d check in out.
At present what has to be done manually (after the post is typed in) is:
• Select ‘Blog Post Template 1’ in the AE Elementor ‘select layout box’
• Select Layout>Sidebars = Content/Sidebar
• Select Layout>Footer widgets = 0 widgets
• Select Layout>Disable Elements> = untick (disable) Top Bar
• Select Layout>Disable Elements> = untick (disable) Header
• Select Layout>Disable Elements> = untick (disable) Primary Navigation
• Select Layout>Disable Elements> = untick (disable) Featured image/page header
• Select Layout>Disable Elements> = untick (disable) Content title
• Select Layout>Disable Elements> = untick (disable) Footer
• Select Page Builder Container = Full Width
• And, at the bottom, untick the “Show sharing buttons” boxCan any, or all, of these things be set up (using coding presumably) so they are a part of my ‘Add New Post’ page and automatically set for each new post?
Many regards,
Les KingMarch 2, 2018 at 8:08 am #509785LeoStaffCustomer SupportHi there,
Just to double check, you only want that setting on single post pages?
Let me know.
March 3, 2018 at 1:39 am #510317LeslieHi Leo,
Thanks for getting back to me on this. In effect I want these settings as the ‘default’ every time a new posts page is added. In other words, whenever a user adds a new post, these settings are in place each and every time without the user having to set them. All I want the user to have to do is type in the post and insert the featured image, with no need to make any other changes. I appreciate that might not be possible for all the settings I listed, but it would be great if as many as possible could be automated (i.e. defaulted to the settings I listed).The site only uses the Post pages for this one task (adding/editing posts), so nothing else needs to be affected.
Many thanks,
Les KingMarch 3, 2018 at 9:51 am #510658LeoStaffCustomer SupportYes I understand what you are looking for. My question was if you want the same setting for Posts and Pages (they are separated).
Check this reply and see if it works for you: https://generatepress.com/forums/topic/sections-set-to-disabled-by-default/#post-314143
March 3, 2018 at 10:21 am #510694LeslieHi Leo,
It looks as though the reply you suggested might be useful – I will check it out.
Sorry for my misunderstanding – I only want the setting for Posts (not pages)
Many regards,
Les KingMarch 3, 2018 at 3:21 pm #510833LeoStaffCustomer SupportThe above code would do it to both posts and pages.
Can you link me to one of each of I can compare and give you some code?
March 4, 2018 at 9:20 am #511370LeslieHi Leo,
Thanks for your reply. The link to the website is http://psalmsongs.org
Is that what you mean/need?I am a newish newbie, and if that is not what you need, I’m not sure what I have to do to “link [you] to one of each of [posts and pages]….” Perhaps you’ll let me know and I’ll get it done.
Thanks a lot,
Les KingMarch 4, 2018 at 5:30 pm #511616LeoStaffCustomer SupportOk lots of these have global options in the customizer:
– Sidebar layout: https://docs.generatepress.com/article/sidebar-layout/
– Footer widgets: https://docs.generatepress.com/article/footer-widgets/#global-setting
– Disable top bar: doesn’t look like you are using it so it should be hidden by default
– Disable header: https://docs.generatepress.com/article/generate_header/
– Disable primary navigation: Primary Nav: Customizer > Layout > Primary Navigation > Navigation Location > No Navigation https://docs.generatepress.com/article/generate_navigation_location/
– Disable featured image: https://docs.generatepress.com/article/adjusting-the-featured-images/
– Disable Content Title: https://docs.generatepress.com/article/generate_show_title/
– Disable Footer (PHP):add_action( 'after_setup_theme','tu_remove_footer' ); function tu_remove_footer() { remove_action( 'generate_footer','generate_construct_footer' ); }
– Page builder container full width (CSS):
body .container.grid-container { max-width: 100%; }
Adding CSS: https://docs.generatepress.com/article/adding-css/
Adding PHP: https://docs.generatepress.com/article/adding-php/Other options you listed are not added by GP.
-
AuthorPosts
- You must be logged in to reply to this topic.