Recently we compiled a list of 最好的WordPress酒店主题. We picked themes that came with built-in features needed to run a hotel website in WordPress. Based on user response, we learned that some users just want those features and implement them in their own themes which may not be specifically designed to create hotel websites. For example adding an 活动日历 or 为博客文章添加单独的页面. One such feature is adding a room booking system in WordPress for your hotel website. In this article we will show you how to add a hotel room booking system in WordPress.
First thing you need to do is install and activate 预订系统（预订日历） plugin. Upon activation, the plugin adds a new 预订系统 menu item in your WordPress admin sidebar. Clicking on it will take you to the booking calendar configuration page.
Booking System also allows you to receive payments via PayPal or Credit Card. To enable PayPal payments you will need PayPal Business Account, and PayPal API credentials which are very easy to set up. Go to 贝宝 and sign up for a business account. Once you have created your account you will reach your account dashboard. Click on 我的销售工具 under 轮廓 sub menu on 我的账户 tab.
Click on 更新 link next to API访问 on this page. On the next page click on 请求 API 凭证 link. Check Request API Signature radio button and hit 同意并提交 button. On the next page, PayPal will show your API credentials which you can then use in your Booking System plugin’s settings page. You will need PayPal API user name, password, and signature.
单击此页面上API访问旁边的更新链接。 在下一页上，单击“ 请求 API 凭证”链接。 选中“请求API签名”单选按钮，然后单击“ 同意并提交”按钮。 在下一页上，贝宝(PayPal)将显示您的API凭据，然后您可以在预订系统插件的设置页面中使用它。 您将需要PayPal API用户名，密码和签名。
在WordPress帖子或页面中添加房间预订日历 （Adding Room Booking Calendar in WordPress Post or Page）