I am new to Wordpress theming and I would like to set up a Website that only has static content. Therefore would it make sense to disable posts and only use static pages? If so, is there an easy way to do that?
|
You can simply hide the posts menu by adding the following to your functions.php file:
|
|||
|
|
|
posts / page are essentially the same - they are only different by definition of usage (and other minute things) . more or less like "blog" and "website" . A page is actually a "kind" of post (as far as wp is concerned) There are a ton of ways you can "disable" one or another . you can disable them by taxonomies, by hiding the menus, by not using one or another in the theme files... but in order to know what is the best way , can you explain a bit more WHY you need to "disable" them ? I suggest that before you start to "disable" things, install WP and start to play with it a bit - you will then understand much better. |
|||
|
|
|
I would recommend you to leave the post only for the admin user... literally the "admin", and create another user to manage the page, so I case you need it in the future for scalability you can go back to it with your admin account. Just add the following code to your functions.php
|
|||
|
|
|
Have you thought about just renaming "Posts" to something like "News" ? So that the user (yourself or a client) could still post news, press releases, articles, etc. to prevent stagnant content on the site. It's quite simple to do. Just pop this in your functions file.
And now you can have news that everyone can benefit from. Hope this helps! |
||||
|
