這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Review Restaurant

描述

WP Review Restaurant is a lightweight plugin for adding restaurant reviews functionality to your WordPress site. Being shortcode based, it can work with any theme (given a bit of CSS styling) and is really simple to setup.

We are woking on completely new version of it. It is still in beta.
Restaurants Listings

We are not supporting this plugin any more.Thanks

Features

  • Add, manage, and categorise restaurant listings using the familiar WordPress UI.
  • Searchable & filterable ajax powered restaurant listings added to your pages via shortcodes.
  • Frontend forms for guests and registered users to submit & manage restaurant listings. (coming soon)
  • Allow restaurant listers to preview their listing before it goes live. The preview matches the appearance of a live restaurant listing. (coming soon)
  • Each listing can be tied to an email or website address so that foodie can send inquire to the restaurants.
  • Searches also display RSS links to allow foodie to be alerted to new restaurants matching their search.
  • Allow logged in restaurant administrators to view, edit, mark filled, or delete their active restaurant listings. (coming soon)
  • Developer friendly code — Custom Post Types, endpoints & template files.
  • Add colors to each restaurant types.

The plugin comes with several shortcodes to output restaurants in various formats.

NOTE: Currently it supports only one resturant type.

Demo:

螢幕截圖

  • screenshot-1.png
  • screenshot-2.png

安裝

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t even need to leave your web browser. To do an automatic install, log in to your WordPress admin panel, navigate to the Plugins menu and click Add New.

In the search field type “WP Review Restaurant” and click Search Plugins. Once you’ve found the plugin you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by clicking Install Now.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application.

  • Download the plugin file to your computer and unzip it
  • Using an FTP program, or your hosting control panel, upload the unzipped plugin folder to your WordPress installation’s wp-content/plugins/ directory.
  • Activate the plugin from the Plugins menu within the WordPress admin.

Getting started

Once installed:

  1. Create a page called “restaurants” and inside place the [restaurants] shortcode. This will list your restaurants.

Note when using shortcodes, if the content looks blown up/spaced out/poorly styled, edit your page and above the visual editor click on the ‘text’ tab. Then remove any ‘pre’ or ‘code’ tags wrapping your shortcode.

Template overrides

Within the plugin folder there is a ‘templates’ directory where frontend views are stored. This includes, for example, the form and form fields. These templates get loaded by plugin when it needs to display content.

Overriding templates via a theme

Template files can be overridden via your theme should you wish to customise them. To override a template, move it to yourtheme/review_restaurant/, keeping the path within ‘templates’ intact.

For example, if I wanted to override pagination.php I would move it to mytheme/review_restaurant/pagination.php and edit my theme’s version.

Please note, if these files are updated in the core plugin, you may need to update your custom version in the future to maintain compatibility. Therefore it is advised to only override the template files you need to customise.

Overriding templates through code

Plugin developers can also override templates by filtering the ‘review_restaurant_locate_template’ filter.

return apply_filters( ‘review_restaurant_locate_template’, $template, $template_name, $template_path );

Returning your own template path will override all others.

評價

2018年3月17日
Disclosure: I am the developer of this plugin. We have created new version of this plugin. https://wordpress.org/plugins/wp-restaurant-listings/ We will be maintaining this one. Please use this one. https://wpdrift.com/restaurants/ Thanks Kishore
閱讀全部4個評價

貢獻者及開發者

“WP Review Restaurant” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Review Restaurant 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.4

  • We are working on a new plugin, so dumping this version soon.

1.3

  • Added restaurant options for search and bug fix

1.2

  • Added restaurant colors options.

1.1

  • Added review count.

1.0

  • First stable release.