该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Autostock

描述

AutoStock is “Work-in-progress” for websites that are used for car dealers. I plan on adding additional functionality
that allows for motorcycles, caravans, motor-homes and boats shortly.

This plugin creates custom content types for motor vehicle with taxonomies for makes, models and features.
IMPORTANT – Note that your
hosting server must be running minimum of PHP 5.4 as the code includes namespaces.

You should be able to use this plugin as a custom post type for vehicle sales. (See the screenshots)

I have decided not to incorporate any image gallery as we have access to hundreds, if not thousands through the WordPress Repository.
I am using the built in WordPress Gallery to manage images for each vehicle and a simple plugin to add a light box plugin (Lightbox Galleries EWSEL).

If you feel this plugin is useful and you would like me to continue developing it please consider a small donation 🙂

This plugin is far from finished as I intend to add some additional features.

Please contact me if you have any request or features that would be useful.

Latest builds ( unstable ) can be taken from my github account dollardad->autostock

屏幕截图

  • Setup vehicle options, vehicle year range and kilometres vs Miles.
  • Vehicle makes, features and types are categories ( so we can use them for indexing), here you can load some defaults.
  • Add new car just like any other post/page. Enter in the vehicle details which can be displayed via your theme.
  • Select vehicle features, which are categories so you can add/edit them like any other category.
  • In the body add vehicle description and images. You can optionally use one of the many hundreds of plugins to create a gallery or use the built in WordPress gallery library.
  • Some countries require you to display fuel economy information (I have copied the New Zealand badge from the government website).
  • Add vehicle make, model and badge, here I have used three levels as I intended to use these later in my indexing.
  • Manage your categories just like any other.

安装

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit your settings/permalinks and reload if the new custom post type is not displaying.

常见问题

Where is the image upload function

I have not added any custom image or gallery function as we have so many, hundreds if not thousands to choose from it would seem wrong to limit this plugin by a single imaage/gallery option.
With my demo site I amd using the built in WordPress gallery and I’ve added the Lightbox Galleries EWSEL plugin to give me a simple light box.

评价

阅读所有5条评价

贡献者及开发者

「Autostock」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Autostock」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.4

  • Added PHP compare to stop plugin being loaded into site with php less than 5.3.6

1.0.3

  • Added Vehicle Details and Features category to post type

1.0.2

  • Added custom car features to car post types as taxonomy with checkboxes.

1.0.1

  • Added settings options and taxonomy for makes and models