| 开发者 | maradigma |
|---|---|
| 更新时间 | 2026年11月27日 18:00 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/, or install the plugin through the WordPress administration area.Yes. An active Maradigma account and valid API credentials are required for the connected catalog, availability, pricing, and booking features.
Yes. The plugin registers a dedicated boat post type and can create or update synchronized boat pages. Administrators can choose how generated layouts and boat data are updated.
Yes. Add the fleet listing shortcode to a page, post, or compatible builder element:
[maradigma_boats]
The shortcode supports filters, sorting, pagination, configurable filter placement, and editable boat-card templates. A complete shortcode reference is included in docs/MARADIGMA_SHORTCODES.md.
For a home page or landing section, [maradigma_boats_carousel featured="1"] shows the same cards in a carousel that loads its boats in batches as visitors move through it.
Yes. The plugin provides a full single-boat shortcode and field-specific shortcodes.
Examples:
[maradigma_boat slug="my-boat-slug"]
[maradigma_boat_title]
[maradigma_boat_booking]
The plugin provides native Gutenberg blocks, dedicated Elementor widgets, and WPBakery elements for fleet listings and individual boat content. It also provides editable master layouts that can be propagated to synchronized boat pages.
Yes, when WooCommerce is installed and active. Public WooCommerce products can be linked to Maradigma boats and used as boat-detail pages. The integration does not replace WooCommerce checkout and does not modify WooCommerce system pages such as Cart, Checkout, or My Account.
Yes. The plugin includes compatibility layers for WPML and Polylang and can synchronize language-specific boat pages and metadata according to the active multilingual configuration.
Yes. When Yoast SEO or Rank Math is installed and active, each sync fills the SEO title and description of the boat pages from the SEO templates in the plugin settings, and keeps the canonical URL on the boat's current address. Titles and descriptions edited by hand in the SEO plugin are kept. Rank Math variables such as %sep% can be used in the templates.
Yes. The boat base slug setting accepts the {{destination}} and {{boat_type}} placeholders. For example, es:{{destination}}/alquiler-{{boat_type}},en:{{destination}}/boat-rental-{{boat_type}} generates localized paths such as /mallorca/alquiler-yate/boat-slug/ and /ibiza/alquiler-lancha/boat-slug/. The values are synchronized from the connected Maradigma account. Re-synchronize existing boats after enabling this route format.
No. The supported frontend libraries distributed with the plugin are bundled locally. Boat media returned by the connected Maradigma account may still be displayed from Maradigma-provided URLs.
maradigma_boat_page_languages filter.lang parameter), and the boat pages open under those addresses.calendar_can_render alongside booking_can_render to distinguish instant booking, requests with a calendar, and requests without a calendar.max_width for bleed="full". On wider screens the view of cards stays centered at that width and the cards before and after it peek in from the sides.arrows="chevron", thin arrows without a background beside the first and last card of the view. They only show while the screen leaves them room there and never cover the cards.gap_mobile and gap_tablet for a different space between cards on phones and tablets.shadow_space, track_class and slide_class, so a theme's own card list styles and hover effects (a card that lifts, a panel under it) apply to the carousel with room to show.bleed="full" value for the boats carousel: the carousel takes the whole width of the screen, as in a full-width section. From 768px the cards of one view fill the screen from edge to edge; on phones the first card keeps the margin of the content. bleed="1" still keeps the first card aligned with the content.bleed="1": the row of cards no longer passes the edge of the screen by a pixel when the carousel sits at a fractional position, which could give the page a horizontal scrollbar.bleed="1" attribute for the boats carousel: in a full-width section the row of cards reaches both edges of the screen while the first card stays aligned with the content. It is off by default; leave it off in columns or next to a sidebar.[maradigma_boats_carousel] shortcode: a carousel of boat cards for home pages and landing sections. It takes the same selection as [maradigma_boats] (featured boats with featured="1", a portfolio with portfolio="UUID", a boat type, a destination…) and the same card templates. The page only renders the first batch of boats; the next batches load while the visitor moves through the carousel, so a long selection does not slow down the page. It is a native scroller with scroll snap that works with swipe and keyboard, needs no carousel library, and its cards per view, gap, batch size and maximum number of boats are set with attributes. See docs/MARADIGMA_SHORTCODES.md.manage_options capability, such as editors. Administrators and the public site were not affected./yachten/, /motorboot/, /schlauchboote/, /katamaran/, /segelboote/, /superyachten/, /wasserspielzeug/) instead of the Spanish names (/yates/, /lanchas/…). Standard boat types always use the fixed localized slug of their type ID, so existing boat pages get the right URL without a new sync, and the old URLs redirect with a 301 to the new ones.compile-translations.php --all generates them.{{booking_has_rent_online}} always returning 0 in boat cards. The Maradigma API only sends the online-booking answer with the boat detail, not with the rows of a listing, which is what cards are built from. When the answer is missing, the token now applies the same rule as the API: an own boat accepts online booking, a boat of an external owner needs an iCal calendar, and a shared boat of another member needs instant booking. {{booking_can_render}} and the "Instant booking" badge are unchanged.portfolio="UUID") and the listing shows only the published boats of that portfolio, in the portfolio's order. The other filters (dates, price, type, destination…), the card template and the pagination keep working, and "Specific boats" narrows the portfolio further. An empty, removed, foreign or invalid portfolio shows no boats instead of falling back to the whole fleet. Only the portfolio UUID is accepted; old numeric portfolio values are rejected and must be replaced by choosing the portfolio again.destination or boat_base_port in filters_ui_fields (or in the "More filters" drawer) and visitors get a searchable selector. Both lists are built from your own boats — with the number of boats in each place — so they only offer places that return results.md_* parameter it sends, the real default values, the search attributes of the listing (including base port and skipper), and examples that use length, cabins, skipper and online booking. The fields were already there; the documentation buried them.allow_url_filters="1"): the slider took the visitor's own values as its ends, so the range could not be widened again except with "Reset"./wp-json/maradigma/v1/boats/{id}) from answering visitors with internal data. On request it returned the boat owner's record (e-mail, tax id), the accounting data and, on every call, the commission and the private calendar (iCal) address of the boat. It now returns only the customer-facing fields the booking modal needs. The shop cart address also returns only the fields the booking flow reads, and is no longer cached by intermediaries./wp-json/maradigma/v1/booking address, which forwarded the "booking without payment" call of the API.tags="3,7" attribute still filters by tag ID.port="<place name>" attribute of [maradigma_boats] instead of searching the name as text, which returned nothing: use destination="1704" (or port="port:12") to limit a listing to a place.featured="1", and to show featured boats first move them to the top of your fleet order in Maradigma.boat_licence_required="0" are the boats that require a licence), the text search only looks at model, trade name, builder and reference (not places), and the attributes the API ignores are now marked as such.destination shortcode attribute limits a listing to them. Combined with the boat type, it gives one page per boat type in each destination, and it stays applied when visitors filter or paginate./boats/ fallback when routing data is incomplete.{{destination}} and {{boat_type}} placeholders.From, day, and Charter use the bundled gettext translations.MARADIGMA_PLUGIN_DEBUG constant.{{destination}} route placeholder.service_destination to the supported single-boat API expansions.