Linux 软件免费装
Banner图

Alternative Site Settings

开发者
更新时间 2025年11月27日 20:02
PHP版本: 7.2 及以上
WordPress版本: 6.8.3
版权: GPLv2 or later
版权网址: 版权信息

标签

settings contact forms duplicate post cookie banner custom records

下载

1.1.3 1.1.5 1.2.2 1.0.1 1.1.0 1.1.1 1.1.2 1.1.4 1.2.0 1.2.1

详情介绍:

A plugin for managing website settings, including feedback forms, post duplicator, cookie banners, personalized SEO fields for pages and posts, reviews, and contacts. The "Alternative Site Settings" plugin was originally conceived as a starter feature set for further development of a single project. As a result, it has been optimized and can be used for small, standard projects, such as landing pages or business cards. Since version 1.2.0, the plugin includes cookie banner functionality. The plugin includes the following features: 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 site settings start page -> tab "Cookie Banner" - full page screenshot.
  • 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 Contact Forms Settings Page -> tab "Additional settings".
  • Admin Panel -> ASS Plugin REVIES Page.
  • Admin Panel -> ASS Plugin REVIES Page -> Reply to review.
  • Frontend -> REVIES Page (TAMA WP Theme).
  • ASS Plugin Contact Forms Settings Page -> tab "Additional settings".
  • Admin Panel -> ASS Plugin site settings start page -> tab "Main settings" -> Setting for Loadable footer section.
  • Output Loadable footer section in the footer of the Twenty Seventeen block theme.

常见问题:

How contact forms are displayed in a theme?

During plugin activation, the cf-style.css and cf-script.js files are copied to the “css” and “js” directories located in the “assets” directory of the active theme, respectively. The cf-style.css file do not overwrite existing file - 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 title="Request a call back"] - 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 do I insert a button into the policy text to call a cookie banner?

  • To insert a button into the text, the following shortcode is provided: [ass_cookie_consent]
  • To change the text on the button, the shortcode has a title parameter: [ass_cookie_consent title='New text']

What is this Loadable footer section of the website?

The footer section allows you to create a ready-made website footer with essential content, such as:

  • Company logo,
  • Footer menu,
  • Copyright,
  • Contact form button,
  • Block with contact information and map.

How to include a footer section to the theme?

You can insert a section into a classic theme using the altss_the_footer_section() function: To insert a footer section into a block theme, you can use the shortcode [ass_footer_section]; Do not forget to check on the checkbox on the first settings tab!

Does the plugin use its own hooks?

Yes, the plugin uses its own hooks. This version has two:

  • altss_map_settings_section_show
  • altss_admin_after_map_settings_section Both hooks are used in the admin panel to control the display of settings in the "Data for displaying the map" section in case an additional map plugin needs to be written. For example, a plugin for connecting the Yandex Maps widget is already available on our GitHub.

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.2.2 Fixed an issue with the display of the "Data for SEO promotion" metabox depending on the position of the "check the box to enable META & SEO functionality" checkbox. The "Data for SEO promotion" meta box has been moved to the sidebar in the Gutenberg editor. This meta box remains unchanged in the Classic Editor. 1.2.1 Fixed a bug with an empty title meta tag. The captions for the button color fields in the cookie banner settings in the admin panel have been corrected. Added missing Russian translation strings. 1.2.0 Version 1.2.0 adds a lot of interesting features: 1.1.5 For the altss_cform_generator() function, a 7th optional parameter, $height, has been added. It allows you to set the initial height of the editor field. Minimum values: 50 for the newvisual mode and 100 for other modes. 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