Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.5.1]

#### Fixes

- Deployment issue

## [1.5.0]

### Revamp the new version

#### Fixes

- Multiple revision issues

#### Enhancement

- Introduced psr-4 model
- Reduced multiple shortcodes
- Implemented font awesome
- Added click-to-copy option

## [1.4.0]

### Updated
Expand Down
26 changes: 4 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# Business Profile Render

**Contributors:** Website Pro Team
Expand Down Expand Up @@ -62,7 +63,7 @@ Make sure to enclose the attribute name within double quotation marks (" "). Thi

### Old Shortcodes

Our "Business Profile Data" and "Business Profile Render" plugins use distinct shortcodes and operate on separate versions 1.2.0 and 1.5.0.
Our "Business Profile Data" and "Business Profile Render" plugins use distinct shortcodes and operate on separate versions 1.2.0 and 1.5.x.

| Shortcode | Description | Preview |
|--|--|--|
Expand Down Expand Up @@ -90,26 +91,7 @@ Our "Business Profile Data" and "Business Profile Render" plugins use distinct s
|`[business-profile-render-image-link-rss-url] & [business-profile-data-image-link-rss-url]`|| RSS Link
|`[business-profile-render-image-link-youtube-url] & [business-profile-data-image-link-youtube-url]`|| Youtube Link

## Developer Notes

### Requirements
| Tools | Documentation | Recomended Version |
|--|--|--|
| Node js | [Doc](https://nodejs.org/en/download/current) | 8.15.x |
| NPM | [Doc](https://www.npmjs.com/package/download) | 16.17.x |
| Composer | [Doc](https://getcomposer.org/download/) | 2.7.x |
| Gulpjs | [Doc](https://gulpjs.com/docs/en/getting-started/quick-start/) | 4.0.x |
| wp-cli | [Doc](https://make.wordpress.org/cli/handbook/guides/installing/) | Latest |

### How to install in Local environment

Before proceeding, ensure you have installed all the necessary tools mentioned above. Once done, follow the steps below:

1. Clone the plugin from the [git repository](https://github.com/vendasta/business-profile-render/) to your WordPress plugin directory. This directory is typically located at /wp-content/plugins/.
2. Replace `/wp-content/plugins/business-profile-render` with the correct path to your WordPress plugins directory if it differs.
3. After cloning the repository, navigate to your WordPress admin dashboard.
4. Go to the Plugins section.
5. Locate the "Business Profile Render" plugin in the list.
6. Click on the "Activate" link below the plugin name to activate it.
### Credits

Once activated, the plugin will be ready for use on your WordPress site.
1. Thanks [Font Awesome](https://fontawesome.com/license/free)
1 change: 1 addition & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ button.bpr_btncpy {
color: #555;
border: none;
outline: none;
background-color: #fff;
}
.bpr_copy-text button {
padding: 6px;
Expand Down
11 changes: 11 additions & 0 deletions assets/images/facebook.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/images/foursquare.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions assets/images/instagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions assets/images/linkedin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions assets/images/pinterest.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions assets/images/rss.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions assets/images/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/images/youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions business-profile-render
Submodule business-profile-render added at 8658ec
8 changes: 6 additions & 2 deletions business-profile-render.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*
Plugin Name: Business Profile Render
Description: Tool to provide utilities for displaying synchronized business profile data
Version: 1.5.0
Version: 1.5.1
Author: Website Pro Team
License: GPL v2 or later
*/
Expand All @@ -13,13 +13,17 @@

define( 'BUSINESS_PROFILE_RENDER_OPTION', 'bpr_business_profile' );
define( 'BUSINESS_PROFILE_RENDER_DEFAULT_OPTION', 'company_name' );
define( 'BUSINESS_PROFILE_RENDER_FILE', __FILE__ );

// Load Composer autoloader
require_once __DIR__ . '/vendor/autoload.php';

// Include the Updater class
require_once plugin_dir_path( __FILE__ ) . 'src/Update/Updater.php';

// Include necessary files
require_once plugin_dir_path( __FILE__ ) . 'src/Admin/AdminNotice.php';
require_once plugin_dir_path( __FILE__ ) . 'src/Deprecated/Deprecated.php';
require_once plugin_dir_path( __FILE__ ) . 'src/Blocks/GutenbergBlock.php';
require_once plugin_dir_path( __FILE__ ) . 'src/Shortcode/Shortcode.php';
require_once plugin_dir_path( __FILE__ ) . 'src/Helper/Page.php';
require_once plugin_dir_path( __FILE__ ) . 'src/Helper/Page.php';
47 changes: 47 additions & 0 deletions language/business-profile-render.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Copyright (C) 2024 Business Profile Render
# This file is distributed under the same license as the Business Profile Render package.
msgid ""
msgstr ""
"Project-Id-Version: Business Profile Render\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-05-21 19:46+0000\n"
"X-Poedit-Basepath: ..\n"
"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: *.js\n"
"X-Poedit-SourceCharset: UTF-8\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../src/Admin/AdminNotice.php:28
msgid "Please contact Website pro team"
msgstr ""

#: ../src/Blocks/GutenbergBlock.php:58
msgid "No data available"
msgstr ""

#: ../src/Helper/Page.php:51, ../src/Helper/Page.php:52
msgid "Business Profile Render"
msgstr ""

#: ../src/Helper/Page.php:74
msgid "Business Profile Settings"
msgstr ""

#: ../src/Helper/Page.php:105
msgid "No data found."
msgstr ""

#: ../src/Shortcode/Shortcode.php:29
msgid "Business profile data not found"
msgstr ""

#: ../src/Shortcode/Shortcode.php:36
msgid "Attribute not found"
msgstr ""

#: ../src/Shortcode/Shortcode.php:48
msgid "Invalid URL"
msgstr ""
Loading