diff --git a/README.md b/README.md
index 691c77a..21eef5d 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# pods-beaver-themer
+# pods-beaver-builder-themer-add-on
**Integration of Beaver Themer and Pods**
Details: https://github.com/pods-framework/pods/issues/4004
@@ -16,7 +16,7 @@ Big Thank you to @Jonathan!
* [Beaver Themer](http://pods.io/beaver-themer/) 1.0+
Check out [pods.io](http://pods.io/) for our User Guide, Forums, and other resources to help you develop with Pods.
-Please report bugs or request featured on [GitHub](https://github.com/pods-framework/pods-beaver-themer/issues)
+Please report bugs or request featured on [GitHub](https://github.com/pods-framework/pods-beaver-builder-themer-add-on/issues)
Generally you can use the shortcode `[pods field='your_field']` anywhere ( every text/url/html field ) it's basically the same as with `[wpbb ...]`
Things like`[pods field='your_field._img.thumbnail']` work fine see http://pods.io/docs/build/using-magic-tags/ for more options!
diff --git a/classes/class-pods-beaver-page-data.php b/classes/class-pods-beaver-page-data.php
index 303ee44..9678230 100644
--- a/classes/class-pods-beaver-page-data.php
+++ b/classes/class-pods-beaver-page-data.php
@@ -24,7 +24,7 @@ final class PodsBeaverPageData {
public static function init() {
FLPageData::add_group( 'pods', array(
- 'label' => __( 'Pods', 'pods-beaver-themer' ),
+ 'label' => __( 'Pods', 'pods-beaver-builder-themer-add-on' ),
) );
}
@@ -383,14 +383,14 @@ public static function pods_get_fields( $field_options = array() ) {
if ( 'fl-theme-layout' === $pod_name ) {
$fields = array(
- '' => __( 'No fields found (Check Preview / Location)', 'pods-beaver-themer' ),
+ '' => __( 'No fields found (Check Preview / Location)', 'pods-beaver-builder-themer-add-on' ),
);
} else {
$fields = self::recurse_pod_fields( $pod_name, $field_options );
if ( empty( $fields ) ) {
$fields = array(
- '' => sprintf( __( 'No fields found for pod "%s"', 'pods-beaver-themer' ), $pod_name ),
+ '' => sprintf( __( 'No fields found for pod "%s"', 'pods-beaver-builder-themer-add-on' ), $pod_name ),
);
}
}
@@ -482,7 +482,7 @@ public static function pods_get_templates() {
$all_templates = (array) pods_api()->load_templates( array() );
$templates = array(
- 'custom' => __( 'Magic Tag', 'pods-beaver-themer' ),
+ 'custom' => __( 'Magic Tag', 'pods-beaver-builder-themer-add-on' ),
);
foreach ( $all_templates as $template ) {
@@ -491,7 +491,7 @@ public static function pods_get_templates() {
if ( empty( $templates ) ) {
$templates = array(
- '' => __( 'No templates found', 'pods-beaver-themer' ),
+ '' => __( 'No templates found', 'pods-beaver-builder-themer-add-on' ),
);
}
@@ -529,13 +529,13 @@ public static function pods_get_settings_fields( $field_options = array() ) {
}
if ( empty( $options ) ) {
- $options[''] = __( 'No fields found', 'pods-beaver-themer' );
+ $options[''] = __( 'No fields found', 'pods-beaver-builder-themer-add-on' );
}
$fields = array(
'settings_field' => array(
'type' => 'select',
- 'label' => __( 'Field from Settings / Current User', 'pods-beaver-themer' ),
+ 'label' => __( 'Field from Settings / Current User', 'pods-beaver-builder-themer-add-on' ),
'options' => $options,
),
);
@@ -543,7 +543,7 @@ public static function pods_get_settings_fields( $field_options = array() ) {
if ( empty( $fields ) ) {
$fields['options'] = array(
- '' => __( 'No fields found', 'pods-beaver-themer' ),
+ '' => __( 'No fields found', 'pods-beaver-builder-themer-add-on' ),
);
}
diff --git a/includes/pods-page-data.php b/includes/pods-page-data.php
index b5a7acb..4738d73 100644
--- a/includes/pods-page-data.php
+++ b/includes/pods-page-data.php
@@ -14,7 +14,7 @@
* Pods CPT / TAX / ...
*/
$data = array(
- 'label' => __( 'Field or Related Field', 'pods-beaver-themer' ),
+ 'label' => __( 'Field or Related Field', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'string',
@@ -28,10 +28,10 @@
$form = array(
'field' => array(
'type' => 'select',
- 'label' => __( 'Field Name', 'pods-beaver-themer' ),
+ 'label' => __( 'Field Name', 'pods-beaver-builder-themer-add-on' ),
'options' => 'PodsBeaverPageData::pods_get_fields',
- 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-themer' ),
- 'description' => __( 'Based on preview location', 'pods-beaver-themer' ),
+ 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'Based on preview location', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -42,7 +42,7 @@
* Pods Templates / Magic Tag
*/
$data = array(
- 'label' => __( 'Template or Magic Tag', 'pods-beaver-themer' ),
+ 'label' => __( 'Template or Magic Tag', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'string',
@@ -55,7 +55,7 @@
$form = array(
'template' => array(
'type' => 'select',
- 'label' => __( 'Template', 'pods-beaver-themer' ),
+ 'label' => __( 'Template', 'pods-beaver-builder-themer-add-on' ),
'options' => 'PodsBeaverPageData::pods_get_templates',
'toggle' => array(
'custom' => array(
@@ -64,16 +64,16 @@
),
),
),
- 'help' => __( 'Create Templates in Pods Admin under Templates.', 'pods-beaver-themer' ),
- 'description' => '
' . __( 'See Documentaion »', 'pods-beaver-themer' ),
+ 'help' => __( 'Create Templates in Pods Admin under Templates.', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => '
' . __( 'See Documentaion »', 'pods-beaver-builder-themer-add-on' ),
),
'custom_template' => array(
'type' => 'text',
- 'label' => __( 'Magic Tags:', 'pods-beaver-themer' ),
- 'help' => __( 'Full suppoort for Magic Tags & HTML but no further shortcodes!', 'pods-beaver-themer' ),
- 'description' => __( 'See Documentaion »', 'pods-beaver-themer' ),
+ 'label' => __( 'Magic Tags:', 'pods-beaver-builder-themer-add-on' ),
+ 'help' => __( 'Full suppoort for Magic Tags & HTML but no further shortcodes!', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'See Documentaion »', 'pods-beaver-builder-themer-add-on' ),
'default' => '{@your_field}',
- 'placeholder' => __( 'HTML & Magic Tags only', 'pods-beaver-themer' ),
+ 'placeholder' => __( 'HTML & Magic Tags only', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -88,7 +88,7 @@
* Pods Settings
*/
$data = array(
- 'label' => __( 'User or Settings Fields', 'pods-beaver-themer' ),
+ 'label' => __( 'User or Settings Fields', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'string',
@@ -118,7 +118,7 @@
* Pods Photo (Image)
*/
$data = array(
- 'label' => __( 'Image: Field', 'pods-beaver-themer' ),
+ 'label' => __( 'Image: Field', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'photo',
@@ -129,19 +129,19 @@
$form = array(
'field' => array(
'type' => 'select',
- 'label' => __( 'Field Name', 'pods-beaver-themer' ),
+ 'label' => __( 'Field Name', 'pods-beaver-builder-themer-add-on' ),
'options' => 'PodsBeaverPageData::pods_get_image_fields',
- 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-themer' ),
- 'description' => __( 'Based on preview location', 'pods-beaver-themer' ),
+ 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'Based on preview location', 'pods-beaver-builder-themer-add-on' ),
),
'image_size' => array(
'type' => 'photo-sizes',
- 'label' => __( 'Image Size', 'pods-beaver-themer' ),
+ 'label' => __( 'Image Size', 'pods-beaver-builder-themer-add-on' ),
'default' => 'full-size',
),
'default_img' => array(
'type' => 'photo',
- 'label' => __( 'Default Image', 'pods-beaver-themer' ),
+ 'label' => __( 'Default Image', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -152,7 +152,7 @@
* Manual Photo Field
*/
$data = array(
- 'label' => __( 'Image: Advanced (manual)', 'pods-beaver-themer' ),
+ 'label' => __( 'Image: Advanced (manual)', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'photo'
@@ -163,19 +163,19 @@
$form = array(
'field' => array(
'type' => 'text',
- 'label' => __( 'Field Name', 'pods-beaver-themer' ),
- 'description' => __( 'Must return an ID', 'pods-beaver-themer' ),
- 'help' => __( 'Enter field name, traversal is supported.', 'pods-beaver-themer' ),
- 'placeholder' => __( 'Example: category.image_field', 'pods-beaver-themer' ),
+ 'label' => __( 'Field Name', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'Must return an ID', 'pods-beaver-builder-themer-add-on' ),
+ 'help' => __( 'Enter field name, traversal is supported.', 'pods-beaver-builder-themer-add-on' ),
+ 'placeholder' => __( 'Example: category.image_field', 'pods-beaver-builder-themer-add-on' ),
),
'image_size' => array(
'type' => 'photo-sizes',
- 'label' => __( 'Image Size', 'pods-beaver-themer' ),
+ 'label' => __( 'Image Size', 'pods-beaver-builder-themer-add-on' ),
'default' => 'full-size',
),
'default_img' => array(
'type' => 'photo',
- 'label' => __( 'Default Image', 'pods-beaver-themer' ),
+ 'label' => __( 'Default Image', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -186,7 +186,7 @@
* Pods Multiple Photos (Images)
*/
$data = array(
- 'label' => __( 'Multiple Photos (Images)', 'pods-beaver-themer' ),
+ 'label' => __( 'Multiple Photos (Images)', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'multiple-photos',
@@ -197,10 +197,10 @@
$form = array(
'field' => array(
'type' => 'select',
- 'label' => __( 'Field Name', 'pods-beaver-themer' ),
+ 'label' => __( 'Field Name', 'pods-beaver-builder-themer-add-on' ),
'options' => 'PodsBeaverPageData::pods_get_multiple_images_fields',
- 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-themer' ),
- 'description' => __( 'Based on preview location', 'pods-beaver-themer' ),
+ 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'Based on preview location', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -215,7 +215,7 @@
* Pods Settings Photo (Image)
*/
$data = array(
- 'label' => __( 'User or Settings Fields', 'pods-beaver-themer' ),
+ 'label' => __( 'User or Settings Fields', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'photo',
@@ -241,7 +241,7 @@
* Pods Settings Multiple Photos (Images)
*/
$data = array(
- 'label' => __( 'User or Settings Fields', 'pods-beaver-themer' ),
+ 'label' => __( 'User or Settings Fields', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'multiple-photos',
@@ -276,7 +276,7 @@
* Pods CPT
*/
$data = array(
- 'label' => __( 'URL Field', 'pods-beaver-themer' ),
+ 'label' => __( 'URL Field', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'url',
@@ -288,10 +288,10 @@
$form = array(
'field' => array(
'type' => 'select',
- 'label' => __( 'Field Name', 'pods-beaver-themer' ),
+ 'label' => __( 'Field Name', 'pods-beaver-builder-themer-add-on' ),
'options' => 'PodsBeaverPageData::pods_get_url_fields',
- 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-themer' ),
- 'description' => __( 'Based on preview location', 'pods-beaver-themer' ),
+ 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'Based on preview location', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -306,7 +306,7 @@
* Pods Settings / User
*/
$data = array(
- 'label' => __( 'User or Settings Fields', 'pods-beaver-themer' ),
+ 'label' => __( 'User or Settings Fields', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'url',
@@ -338,7 +338,7 @@
* Pods CPT / TAX / ...
*/
$data = array(
- 'label' => __( 'Field or Related Field', 'pods-beaver-themer' ),
+ 'label' => __( 'Field or Related Field', 'pods-beaver-builder-themer-add-on' ),
'preview_text' => 'label',
'group' => 'pods',
'type' => array(
@@ -350,10 +350,10 @@
$form = array(
'field' => array(
'type' => 'select',
- 'label' => __( 'Field Name', 'pods-beaver-themer' ),
+ 'label' => __( 'Field Name', 'pods-beaver-builder-themer-add-on' ),
'options' => 'PodsBeaverPageData::pods_get_color_fields',
- 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-themer' ),
- 'description' => __( 'Based on preview location', 'pods-beaver-themer' ),
+ 'help' => __( 'Field list is based on current "Preview as:" settings in the top left.', 'pods-beaver-builder-themer-add-on' ),
+ 'description' => __( 'Based on preview location', 'pods-beaver-builder-themer-add-on' ),
),
);
@@ -368,7 +368,7 @@
* Pods Settings
*/
$data = array(
- 'label' => __( 'User or Settings Fields', 'pods-beaver-themer' ),
+ 'label' => __( 'User or Settings Fields', 'pods-beaver-builder-themer-add-on' ),
'group' => 'pods',
'type' => array(
'color',
diff --git a/pods-beaver-themer.php b/pods-beaver-themer.php
index 8c514d2..7f21f65 100644
--- a/pods-beaver-themer.php
+++ b/pods-beaver-themer.php
@@ -1,13 +1,13 @@
%s
', - esc_html__( 'Pods Beaver Themer requires that the Pods and Beaver Builder Themer plugins be installed and activated.', 'pods-beaver-themer' ) + esc_html__( 'Pods Beaver Themer requires that the Pods and Beaver Builder Themer plugins be installed and activated.', 'pods-beaver-builder-themer-add-on' ) ); } @@ -139,15 +139,15 @@ function pods_beaver_loop_settings_before_form( $settings ) { $setting_fields = array( 'use_pods' => array( 'type' => 'select', - 'label' => __( 'Pods Content Source', 'pods-beaver-themer' ), + 'label' => __( 'Pods Content Source', 'pods-beaver-builder-themer-add-on' ), 'default' => 'no', - 'help' => __( 'Modify the custom query to use data from a pods relationship field', 'pods-beaver-themer' ), - 'description' => '