{"id":195517,"date":"2024-05-29T13:15:22","date_gmt":"2024-05-29T13:15:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/db-website-settings\/"},"modified":"2025-12-08T15:02:16","modified_gmt":"2025-12-08T15:02:16","slug":"db-website-settings","status":"publish","type":"plugin","link":"https:\/\/su.wordpress.org\/plugins\/db-website-settings\/","author":15218032,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"3.0.1","stable_tag":"3.0.1","tested":"6.9.4","requires":"4.6","requires_php":"8.0","requires_plugins":null,"header_name":"Bisteinoff Global Contact Manager","header_author":"Denis Bisteinov","header_description":"The plugin is used for the basic website settings","assets_banners_color":"","last_updated":"2025-12-08 15:02:16","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/bisteinoff.com","header_plugin_uri":"https:\/\/github.com\/bisteinoff\/db-website-settings","header_author_uri":"https:\/\/bisteinoff.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1201,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"bisteinoff","date":"2024-05-29 13:15:10"},"2.10":{"tag":"2.10","author":"bisteinoff","date":"2025-02-08 15:02:51"},"2.11":{"tag":"2.11","author":"bisteinoff","date":"2025-03-26 01:47:23"},"2.11.1":{"tag":"2.11.1","author":"bisteinoff","date":"2025-03-26 02:22:05"},"2.7":{"tag":"2.7","author":"bisteinoff","date":"2024-05-29 14:40:09"},"2.7.2":{"tag":"2.7.2","author":"bisteinoff","date":"2024-09-14 23:22:02"},"2.8":{"tag":"2.8","author":"bisteinoff","date":"2024-09-15 00:11:18"},"2.8.1":{"tag":"2.8.1","author":"bisteinoff","date":"2024-10-08 17:07:02"},"2.8.2":{"tag":"2.8.2","author":"bisteinoff","date":"2024-10-09 16:04:59"},"2.9":{"tag":"2.9","author":"bisteinoff","date":"2025-01-14 23:55:29"},"3.0":{"tag":"3.0","author":"bisteinoff","date":"2025-12-08 12:26:16"},"3.0.1":{"tag":"3.0.1","author":"bisteinoff","date":"2025-12-08 15:02:16"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3094615,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","2.10","2.11","2.11.1","2.7","2.7.2","2.8","2.8.1","2.8.2","2.9","3.0","3.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[267,2644,357,9171,3160],"plugin_category":[41,43],"plugin_contributors":[227131],"plugin_business_model":[],"class_list":["post-195517","plugin","type-plugin","status-publish","hentry","plugin_tags-email","plugin_tags-phone","plugin_tags-shortcodes","plugin_tags-telegram","plugin_tags-whatsapp","plugin_category-communication","plugin_category-customization","plugin_contributors-bisteinoff","plugin_committers-bisteinoff"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/db-website-settings\/assets\/icon.svg?rev=3094615","icon":"https:\/\/ps.w.org\/db-website-settings\/assets\/icon.svg?rev=3094615","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>A simple, powerful way to manage all your website's contact details from one place. Add phone numbers, emails, addresses, WhatsApp and Telegram links, then insert them anywhere using shortcodes. Update a contact once in the settings panel and it updates instantly across your entire site.<\/p>\n\n<h4>Shortcode Reference<\/h4>\n\n<p><strong>New Shortcode Format (Recommended):<\/strong><\/p>\n\n<p>Starting with version 3.0, we recommend using the new shortcode format:<\/p>\n\n<p><strong>Phone number<\/strong>\n* <code>[bisteinoff_phone]<\/code> - insert the phone number as text\n* <code>[bisteinoff_phone_link]<\/code> - insert the phone number as clickable link\n* <code>[bisteinoff_phone_href]<\/code> - insert the href parameter (tel:) for custom implementations<\/p>\n\n<p><strong>E-mail<\/strong>\n* <code>[bisteinoff_email]<\/code> - insert the e-mail as text\n* <code>[bisteinoff_email_link]<\/code> - insert the e-mail as clickable mailto link\n* <code>[bisteinoff_email_href]<\/code> - insert the href parameter (mailto:) for custom implementations<\/p>\n\n<p><strong>WhatsApp<\/strong>\n* <code>[bisteinoff_whatsapp]<\/code> - insert the WhatsApp number as text\n* <code>[bisteinoff_whatsapp_link]<\/code> - insert the WhatsApp number as clickable chat link\n* <code>[bisteinoff_whatsapp_href]<\/code> - insert the href parameter for custom implementations<\/p>\n\n<p><strong>Telegram<\/strong>\n* <code>[bisteinoff_telegram]<\/code> - insert the Telegram username as text with @\n* <code>[bisteinoff_telegram_link]<\/code> - insert the Telegram username as clickable link\n* <code>[bisteinoff_telegram_href]<\/code> - insert the href parameter for custom implementations<\/p>\n\n<p><strong>Address<\/strong>\n* <code>[bisteinoff_address]<\/code> - insert the address as text\n* <code>[bisteinoff_address_link]<\/code> - insert the address as link to Google Maps search\n* <code>[bisteinoff_address_href]<\/code> - insert the href parameter for custom implementations<\/p>\n\n<p><strong>Multiple Contacts:<\/strong>\nFor additional contacts of the same type, add the number: <code>[bisteinoff_phone2]<\/code>, <code>[bisteinoff_phone3]<\/code>, etc.<\/p>\n\n\n\n<p><strong>Legacy Shortcode Format (Still Supported):<\/strong><\/p>\n\n<p>The old shortcode format continues to work for backward compatibility:<\/p>\n\n<p><strong>Phone number<\/strong>\n* <code>[db-phone]<\/code> - insert the phone number as text\n* <code>[db-phone-link]<\/code> - insert the phone number as link\n* <code>[db-phone-href]<\/code> - insert the href parameter of the phone number (tel:)<\/p>\n\n<p><strong>E-mail<\/strong>\n* <code>[db-email]<\/code> - insert the e-mail as text\n* <code>[db-email-link]<\/code> - insert the e-mail as link\n* <code>[db-email-href]<\/code> - insert the e-mail the href parameter of email (mailto:)<\/p>\n\n<p><strong>WhatsApp<\/strong>\n* <code>[db-whatsapp]<\/code> - insert the WhatsApp number as text\n* <code>[db-whatsapp-link]<\/code> - insert the WhatsApp number as link\n* <code>[db-whatsapp-href]<\/code> - insert the href parameter of the WhatsApp number<\/p>\n\n<p><strong>Telegram<\/strong>\n* <code>[db-telegram]<\/code> - insert the Telegram number as text\n* <code>[db-telegram-link]<\/code> - insert the Telegram number as link\n* <code>[db-telegram-href]<\/code> - insert the href parameter of the Telegram number<\/p>\n\n<p><strong>Address<\/strong>\n* <code>[db-address]<\/code> - insert the address as text\n* <code>[db-address-link]<\/code> - insert the address as link to Google Maps search\n* <code>[db-address-href]<\/code> - insert the href parameter of Google Maps search link of the address<\/p>\n\n<p><strong>Note:<\/strong> Legacy shortcodes will continue to work at least until February 16, 2027, but we recommend updating to the new format.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload db-website-settings folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to Contact Manager in the admin menu to add your contact information<\/li>\n<li>Use shortcodes anywhere in your content to display contact details<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20is%20it%20useful%20for%20my%20website%3F'><h3>Why is it useful for my website?<\/h3><\/dt>\n<dd><p>You can use shortcodes for phone number, WhatsApp, Telegram, e-mail and address, and insert them where needed. If once you need to change them, they will be changed automatically everywhere, where you had inserted them using the shortcodes.<\/p><\/dd>\n<dt id='can%20i%20set%20several%20phone%20numbers%20or%20e-mails%3F'><h3>Can I set several phone numbers or e-mails?<\/h3><\/dt>\n<dd><p>Yes, you can add as many contacts as you need. For the 2nd contact of the same type and further, a number will be added automatically. For example, <code>[bisteinoff_phone2]<\/code> or <code>[bisteinoff_phone2_link]<\/code>.<\/p>\n\n<p>You do not have to worry about the way how the shortcodes are formed. You will find them on the Settings page where you add the contacts.<\/p><\/dd>\n<dt id='can%20i%20show%20phone%20number%2C%20e-mail%2C%20whatsapp%20and%20telegram%20as%20a%20link%3F'><h3>Can I show phone number, e-mail, WhatsApp and Telegram as a link?<\/h3><\/dt>\n<dd><p>Yes, you should use the corresponding shortcode with <code>_link<\/code> suffix. You will easily understand which one. To the right of each shortcode on the settings page you will see an example of how it will appear on your pages.<\/p><\/dd>\n<dt id='what%20happens%20when%20i%20update%20to%20version%203.0%3F'><h3>What happens when I update to version 3.0?<\/h3><\/dt>\n<dd><p><strong>For regular users:<\/strong> Nothing changes! The plugin will automatically migrate all your settings. All your existing shortcodes continue to work exactly as before.<\/p>\n\n<p><strong>For developers with custom integrations:<\/strong> Version 3.0 introduces a complete code refactoring with modern PHP classes and namespaces. If you have custom code that references this plugin's classes or methods, please review the migration information below.<\/p><\/dd>\n<dt id='migration%20to%20v.3.0%20-%20information%20for%20developers'><h3>Migration to v.3.0 - Information for Developers<\/h3><\/dt>\n<dd><p>If you have custom code that integrates with this plugin, please note these changes:<\/p>\n\n<p><strong>Checking for deprecation notices:<\/strong>\nAll deprecated elements will trigger <code>_doing_it_wrong()<\/code> notices when <code>WP_DEBUG<\/code> is enabled:\n    define('WP_DEBUG', true);<\/p>\n\n<p><strong>Recommended shortcode format:<\/strong>\n* New format: <code>[bisteinoff_phone]<\/code>, <code>[bisteinoff_email_link]<\/code>, <code>[bisteinoff_whatsapp2_href]<\/code>\n* Old format (still works): <code>[db-phone]<\/code>, <code>[db-email-link]<\/code>, <code>[db-whatsapp2-href]<\/code><\/p>\n\n<p>Note: We recommend updating to the new format. Legacy shortcodes will continue to work at least until February 16, 2027.<\/p>\n\n<p><strong>Changed option storage:<\/strong>\n* Old: Multiple separate options (<code>db_settings_phone_0<\/code>, <code>db_settings_email_0<\/code>, etc.)\n* New: Single option <code>bisteinoff_plugin_contact_data<\/code> with structured array<\/p>\n\n<p>Note: Options are migrated automatically. Old option names are removed from the database after successful migration.<\/p>\n\n<p><strong>Changed constants:<\/strong>\n* <code>DB_WEBSITE_SETTINGS_PLUGIN_VERSION<\/code> \u2192 <code>BISTEINOFF_PLUGIN_CONTACT_VERSION<\/code><\/p>\n\n<p>Note: Old constant remains defined for backward compatibility.<\/p>\n\n<p><strong>Changed classes:<\/strong>\n* <code>DB_SETTINGS_WebsiteSettings<\/code> \u2192 Use <code>\\Bisteinoff\\Plugin\\ContactSettings\\Loader<\/code> instead<\/p>\n\n<p><strong>New namespace:<\/strong>\n* All classes now use namespace <code>\\Bisteinoff\\Plugin\\ContactSettings<\/code><\/p>\n\n<p><strong>Action required:<\/strong>\nIf you have custom code, update it to use the new naming conventions. All deprecated elements may be removed in further versions after Feb 16th, 2027.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>3.0<\/h4>\n\n<ul>\n<li><strong>MAJOR UPDATE: Complete code refactoring with modern PHP architecture<\/strong><\/li>\n<li>Compatible with WordPress 6.9<\/li>\n<li>Compatible with WordPress Theme Bisteinoff 2.4+<\/li>\n<li>Compatible with PHP 8.0+<\/li>\n<li>The plugin name is changed from 'DB Edit All Contacts on 1 Settings Page' to 'Bisteinoff Global Contact Manager'<\/li>\n<li>Feature: Modern PHP namespaces (<code>Bisteinoff\\Plugin<\/code>) to prevent conflicts with other plugins<\/li>\n<li>Feature: Seamless integration with Bisteinoff WordPress themes and plugins<\/li>\n<li>Feature: Efficient class-based architecture with lazy loading<\/li>\n<li>Feature: Automatic migration system for settings and options<\/li>\n<li>Feature: Optimized data storage - single option instead of multiple separate options<\/li>\n<li>Feature: New shortcode format <code>[bisteinoff_phone]<\/code>, <code>[bisteinoff_email_link]<\/code>, etc.<\/li>\n<li><strong>Backward Compatibility:<\/strong> All old shortcodes work exactly as before (<code>[db-phone]<\/code>, <code>[db-email-link]<\/code>, etc.)<\/li>\n<li><strong>Backward Compatibility:<\/strong> All old class, method and function names preserved until at least February 16, 2027<\/li>\n<li><strong>Backward Compatibility:<\/strong> Old constant name <code>DB_WEBSITE_SETTINGS_PLUGIN_VERSION<\/code> preserved<\/li>\n<li><strong>Backward Compatibility:<\/strong> Options automatically migrated from old to new names<\/li>\n<li><strong>For Developers:<\/strong> See FAQ section \"Migration to v.3.0\" for detailed technical information<\/li>\n<\/ul>\n\n<h4>2.11<\/h4>\n\n<ul>\n<li>Feature: Add new contact option: Address.<\/li>\n<li>Fix: Display the N-th contact even if the previous one was removed.<\/li>\n<\/ul>\n\n<h4>2.10<\/h4>\n\n<ul>\n<li>Feature: Add script to dynamically change shortcode preview in admin panel.<\/li>\n<li>Fix: Change the protocol of the Telegram link from tg:\/\/ to https:\/\/ and set the corresponding format.<\/li>\n<li>Fix: Reload page right after saving the data to display the new data while using the shortcodes.<\/li>\n<\/ul>\n\n<h4>2.9<\/h4>\n\n<ul>\n<li>The plugin name is changed from 'DB Website Settings' to 'DB Edit All Contacts on 1 Settings Page'<\/li>\n<li>Compatible with Wordpress 6.7<\/li>\n<li>Security issues<\/li>\n<\/ul>\n\n<h4>2.8<\/h4>\n\n<ul>\n<li>New shortcode <code>[db-email-href]<\/code>\n&gt; <strong>Attention!<\/strong> If you have earlier used <code>mailto:[db-email]<\/code> you need replace it with <code>mailto:[db-email-href]<\/code><\/li>\n<\/ul>\n\n<h4>2.7<\/h4>\n\n<ul>\n<li>Optimization of the code of the plugin<\/li>\n<\/ul>\n\n<h4>2.6<\/h4>\n\n<ul>\n<li>Fixed direction for right-to-left (RTL) languages<\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<ul>\n<li>Security issues<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>The possibility to add several telegram chats<\/li>\n<li>Security issues<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Security issues<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Security issues<\/li>\n<li>Shortcode for phone link<\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Fixed a bug: form not shown at some circumstances<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Multisite compatibility<\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>The possibility to add several phone numbers, whatsapp chats, e-mails<\/li>\n<li>Compatible with GlotPress<\/li>\n<li>Code optimized, CSS\/JS minified<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>New options<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Centralize your website\u2019s contact details in one place and insert them anywhere using shortcodes. Update once \u2014 sync everywhere.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/195517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=195517"}],"author":[{"embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/bisteinoff"}],"wp:attachment":[{"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=195517"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=195517"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=195517"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=195517"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=195517"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/su.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=195517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}