admin管理员组文章数量:1130349
I am making a website for a friend and he doesn't know how to code so I decided to make him a WordPress website which is new to me. I wanna make a homepage that has different sections (About us section, photo gallery section, etc). he might want to change the about us section later in the future or add pictures in the galley. whats the best way to do this?
I have thought about making posts for each section (an about us post and he could just edit it whenever he wants to change the about us section) does that work?
I am making a website for a friend and he doesn't know how to code so I decided to make him a WordPress website which is new to me. I wanna make a homepage that has different sections (About us section, photo gallery section, etc). he might want to change the about us section later in the future or add pictures in the galley. whats the best way to do this?
I have thought about making posts for each section (an about us post and he could just edit it whenever he wants to change the about us section) does that work?
Share Improve this question asked Jan 4, 2019 at 20:52 Borhan SafloBorhan Saflo 31 bronze badge1 Answer
Reset to default 0Here is what I would recommend.
Use a plugin called Advanced Custom Fields.
This will allow you to build out the admin and have different fields for each section. You could have an editable area with a editor for the about us section. You could use a Repeater Field for the gallery, and much more.
Once you have all the fields in the admin, you just need to pull all the data into your homepage template. This is pretty straight forward and there is good documentation with examples.
This is one of the few plugins I recommend, but when it comes adding custom fields it doesn't make sense to not use it.
I am making a website for a friend and he doesn't know how to code so I decided to make him a WordPress website which is new to me. I wanna make a homepage that has different sections (About us section, photo gallery section, etc). he might want to change the about us section later in the future or add pictures in the galley. whats the best way to do this?
I have thought about making posts for each section (an about us post and he could just edit it whenever he wants to change the about us section) does that work?
I am making a website for a friend and he doesn't know how to code so I decided to make him a WordPress website which is new to me. I wanna make a homepage that has different sections (About us section, photo gallery section, etc). he might want to change the about us section later in the future or add pictures in the galley. whats the best way to do this?
I have thought about making posts for each section (an about us post and he could just edit it whenever he wants to change the about us section) does that work?
Share Improve this question asked Jan 4, 2019 at 20:52 Borhan SafloBorhan Saflo 31 bronze badge1 Answer
Reset to default 0Here is what I would recommend.
Use a plugin called Advanced Custom Fields.
This will allow you to build out the admin and have different fields for each section. You could have an editable area with a editor for the about us section. You could use a Repeater Field for the gallery, and much more.
Once you have all the fields in the admin, you just need to pull all the data into your homepage template. This is pretty straight forward and there is good documentation with examples.
This is one of the few plugins I recommend, but when it comes adding custom fields it doesn't make sense to not use it.
本文标签: custom post typesHow to create editable sections in wordpress
版权声明:本文标题:custom post types - How to create editable sections in wordpress? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749043180a2307454.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论