Title: Hospedajes España &#8211; HOSTPN
Author: Félix Martínez
Published: <strong>2025 年 6 月 16 日</strong>
Last modified: 2026 年 7 月 3 日

---

搜尋外掛

![](https://ps.w.org/hostpn/assets/banner-772x250.png?rev=3312593)

![](https://ps.w.org/hostpn/assets/icon-256x256.png?rev=3312593)

# Hospedajes España – HOSTPN

 由 [Félix Martínez](https://profiles.wordpress.org/felixmartinez/) 開發

[下載](https://downloads.wordpress.org/plugin/hostpn.1.0.80.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/hostpn/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/hostpn/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/hostpn/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/hostpn/#developers)

 [技術支援](https://wordpress.org/support/plugin/hostpn/)

## 外掛說明

The Hospedajes España – HOSTPN application has been created to allow the sending
of the information required by Royal Decree 933/2021, of October 26, which establishes
the documentary and information registration obligations of natural or legal persons
who carry out lodging and motor vehicle rental activities.

### Credits

This plugin stands on the shoulders of giants

Owl Carousel v2.3.4
 Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/
OwlCarousel2/blob/master/LICENSE Copyright 2013-2018 David Deutsch https://owlcarousel2.
github.io/OwlCarousel2/ https://github.com/OwlCarousel2/OwlCarousel2/blob/develop/
dist/owl.carousel.js

Trumbowyg v2.27.3 – A lightweight WYSIWYG editor
 alex-d.github.io/Trumbowyg/ License
MIT – Author : Alexandre Demode (Alex-D) https://github.com/Alex-D/Trumbowyg/blob/
develop/src/ui/sass/trumbowyg.scss https://github.com/Alex-D/Trumbowyg/blob/develop/
src/ui/sass/trumbowyg.scss https://github.com/Alex-D/Trumbowyg/blob/develop/src/
trumbowyg.js

## 適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

 *   HOSTPN Carousel

## 安裝方式

 1. Upload `hostpn.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常見問題集

### How do I install the Hospedajes España – HOSTPN plugin?

To install the Hospedajes España – HOSTPN plugin, you can either upload the plugin
files to the /wp-content/plugins/hostpn directory, or install the plugin through
the WordPress plugins screen directly. After uploading, activate the plugin through
the ‘Plugins’ screen in WordPress.

### Can I customize the look and feel of my listings?

Yes, you can customize the appearance of your listings by modifying the CSS styles
provided in the plugin. Additionally, you can enqueue your own custom styles to 
override the default plugin styles.

### Where can I find the uncompressed source code for the plugin’s JavaScript and CSS files?

You can find the uncompressed source code for the JavaScript and CSS files in the
src directory of the plugin. You can also visit our GitHub repository for the complete
source code.

### How do I add a new Custom Post Type to my site?

To add a new Custom Post Type, go to the ‘Apartment / Part of Traveller / Guest’
section in the WordPress dashboard and click on ‘Add New’. Fill in the required 
details for your Custom Post Type, including any custom fields provided by the plugin.
Once you’re done, click ‘Publish’ to make the Custom Post Type live on your site.

### Can I use this plugin with any WordPress theme?

Yes, the Hospedajes España – HOSTPN plugin is designed to be compatible with any
WordPress theme. However, some themes may require additional customization to ensure
the plugin’s styles integrate seamlessly.

### Is the plugin translation-ready?

Yes, the Hospedajes España – HOSTPN plugin is fully translation-ready. You can use
translation plugins such as Loco Translate to translate the plugin into your desired
language.

### How do I update the plugin?

You can update the plugin through the WordPress plugins screen just like any other
plugin. When a new version is available, you will see an update notification, and
you can click ‘Update Now’ to install the latest version.

### How do I backup my Custom Post Types before updating the plugin?

To backup your Custom Post Types, you can export your posts and custom post types
from the WordPress Tools > Export menu. Choose the ‘Host’ post type and download
the export file. You can import this file later if needed.

### How do I add ratings and reviews to my Custom Post Types?

The plugin don’t include a built-in ratings and reviews system yet. You can integrate
third-party plugins that offer these features or customize the plugin to include
them.

### How do I optimize my Custom Post Types for SEO?

To optimize your Custom Post Types for SEO, ensure that you use relevant keywords
in your host titles, descriptions, and content. You can also use SEO plugins like
Yoast SEO to further enhance your host posts’ search engine visibility.

### How do I get support for the Hospedajes España – HOSTPN plugin?

For support, you can visit the plugin’s support forum on the WordPress.org website
or contact the plugin author directly through our contact information info@padresenlanube.
com.

### Is the plugin compatible with the latest version of WordPress?

The Hospedajes España – HOSTPN plugin is tested with the latest version of WordPress.
However, it is always a good practice to check for any compatibility issues before
updating WordPress or the plugin.

### How do I uninstall the plugin?

To uninstall the plugin, go to the ‘Plugins’ screen in WordPress, find the Hospedajes
España – HOSTPN plugin, and click ‘Deactivate’. After deactivating, you can click‘
Delete’ to remove the plugin and its files from your site. Note that this will not
delete your custom post types, but you should back up your data before uninstalling
any plugin.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Hospedajes España – HOSTPN〉的開發相關工作。

參與者

 *   [ Félix Martínez ](https://profiles.wordpress.org/felixmartinez/)
 *   [ hamlet237 ](https://profiles.wordpress.org/hamlet237/)

[將〈Hospedajes España – HOSTPN〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/hostpn)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/hostpn/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/hostpn/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/hostpn/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/hostpn/)。

## 變更記錄

#### 1.0.2

Remove README.md file and update README.txt to reflect version 1.0.2.
 Enhance address
field maxlength for guest and user input forms from 20 to 40 characters for better
data handling. Improve AJAX handling and nonce verification for enhanced security
and consistency across the codebase. Restore .gitignore file Add accommodation, 
guest, and part search functionality with unified JavaScript handling. Enhance CSS
for search input styling and transitions. Update PHP files to include search components
in post type templates. Update version to 1.0.2, enhance AJAX response handling 
in JavaScript for improved error management and HTML content processing. Refactor
form input structure in PHP for better consistency and readability, including the
addition of a new input display wrapper method. Remove hostpn.zip file and update
AJAX handling in JavaScript and PHP files for improved nonce usage and sanitization.
Refactor form input structure for accommodations, guests, and parts, ensuring consistency
and enhanced security across the codebase. Revert version number to 1.0.0 in hostpn.
php and class-hostpn.php. Update AJAX handling in class-hostpn-ajax and class-hostpn-
ajax-nopriv to sanitize input keys for improved security and consistency. Refactor
README.txt for clarity on listing customization and update terminology from ‘host’
to ‘Custom Post Type’. Enhance nonce verification in AJAX handling across multiple
classes to improve security. Update JavaScript and PHP files for consistency in 
nonce usage and improve code readability. Update README.txt to reflect plugin requirements
and terminology changes, including version requirement update to 3.5, and replace
references from ‘recipe’ to ‘host’ throughout the document for consistency. Update
version to 1.0.2, enhance form input structure with improved readability, and enforce
maxlength attribute for address fields. Refactor script registration methods for
accommodations, guests, and parts to ensure proper loading and printing of scripts.
Rename plugin from ‘Hospedajes España – WPH’ to ‘Hospedajes España – HOSTPN’, update
related references, and remove unused assets. Adjust initialization to use ‘init’
hook. Update language files and ensure consistency in function naming across the
codebase. Refactor user references from ‘wph’ to ‘pn’ across JavaScript and PHP 
files, updating class names, selectors, and function names for consistency. Adjusted
form handling and popup integration. Update guest and part post types to order by
post date in descending order; modify popup template comments for clarity. WPH to
PN

#### 1.0.0

Hello hostings world!

## 中繼資料

 *  版本 **1.0.80**
 *  最後更新 **2 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 3.5 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0.4**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/hostpn/)
 * 標籤:
 * [check-in](https://tw.wordpress.org/plugins/tags/check-in/)[Hosting](https://tw.wordpress.org/plugins/tags/hosting/)
   [spain](https://tw.wordpress.org/plugins/tags/spain/)
 *  [進階檢視](https://tw.wordpress.org/plugins/hostpn/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/hostpn/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/hostpn/reviews/)

## 參與者

 *   [ Félix Martínez ](https://profiles.wordpress.org/felixmartinez/)
 *   [ hamlet237 ](https://profiles.wordpress.org/hamlet237/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/hostpn/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://padresenlanube.com/)