Linux 软件免费装
Banner图

Alternative Site Settings

开发者
更新时间 2025年7月19日 00:16
PHP版本: 7.2 及以上
WordPress版本: 6.8.2
版权: GPLv2 or later
版权网址: 版权信息

标签

reviews settings contact forms custom records disable all comments

下载

1.1.3 1.0.1 1.1.0 1.1.1 1.1.2 1.1.4

详情介绍:

The Alternative Site Settings plugin was originally intended as a starting set of functions for the further development of an individual project. As a result, it was optimized and can be used for small standard projects, such as a landing page or a business card website. The plugin contains the following functionality: Attention! The plugin is focused on working with classic themes.

屏幕截图:

  • Admin Panel -> ASS Plugin site settings start page -> tab "Main settings" - full page screenshot.
  • Admin Panel -> ASS Plugin site settings start page -> tab "Custom records".
  • Admin Panel -> ASS Plugin site settings start page -> tab "Text blocks".
  • Admin Panel -> ASS Plugin Contact Forms Settings Page -> tab "Messages from forms".
  • Admin Panel -> ASS Plugin Contact Forms Settings Page -> tab "Messages from forms" -> Modal window for viewing message details.
  • Admin Panel -> ASS Plugin Contact Forms Settings Page -> tab "Form sets" - All forms are collapsed.
  • Admin Panel -> ASS Plugin Contact Forms Settings Page -> tab "Form sets" - One of the forms is expanded.
  • Admin Panel -> ASS Plugin Contact Forms Settings Page -> tab "Form sets" -> Modal window with a set of form fields.
  • Admin Panel -> ASS Plugin Contact Forms Settings Page -> tab "Forms fields".
  • Admin Panel -> ASS Plugin REVIES Page.
  • Admin Panel -> ASS Plugin REVIES Page -> Reply to review.
  • Frontend -> REVIES Page (TAMA WP Theme).

常见问题:

How contact forms are displayed in a theme?

During plugin activation, the cf-style.tss and cf-script.js files are copied to the “css” and “js” directories located in the “assets” directory of the active theme, respectively. The files do not overwrite existing files - this is done so that you can set individual styles for forms, unique to each theme. When activating a new theme, the plugin will also have to be activated again. The display of buttons and forms is carried out either using a shortcode, or by directly registering the buttons in the header file of the theme itself. Shortcodes:

  • [ass_cform_button cfid=1] - Button shortcode
  • [ass_cform cfid=1] - Form shortcode

How are Reviews displayed on the frontend?

When the plugin is activated, a page type record is created in the posts table with the "reviews" slug and the shortcode [reviews_page] added to the post body. Also, when activating the plugin, just like in the case of contact forms, the reviews-style.tss and reviews-form.js files are copied to the “css” and “js” directories located in the “assets” directory of the active theme, respectively. Existing files are also not are overwritten, so you can also set your own review styles unique to each theme. When activating a new theme, the plugin will also have to be activated again.

How can a developer use this plugin in his individual project?

In order to start building their project, the developer simply needs to rename the plugin directory, the main plugin file and the plugin prefix (altss_). Attention! This must be done before activating the plugin. Also, additional tips and recipes for embedding code into the theme, changing functionality, etc. will be published on the page: https://github.com/tmutstudio/alternative-site-settings/blob/master/recipes_and_tips.md

更新日志:

1.1.4 Fixed a bug with displaying custom placeholder values for each field. 1.1.3 Minor inaccuracies in the code have been fixed. 1.1.2 Some other minor inaccuracies in the code have been fixed. 1.1.1 Minor inaccuracies in the code have been fixed. 1.1.0 1.0.1