Skip to content
Merged
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
12 changes: 6 additions & 6 deletions includes/views/settings-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
exit;
}

$status_messages = array(
$tetapi_status_messages = array(
'started' => __( 'Verification started — add the DNS record or wait a moment for the well-known file, then click Check.', 'tetapi' ),
'verified' => __( 'Domain ownership verified.', 'tetapi' ),
'not_yet' => __( 'Not verified yet — the DNS record or well-known file was not found. Try again in a minute.', 'tetapi' ),
Expand All @@ -20,9 +20,9 @@
<div class="wrap tetapi-settings">
<h1><?php esc_html_e( 'TETA+PI', 'tetapi' ); ?></h1>

<?php if ( $status_msg && isset( $status_messages[ $status_msg ] ) ) : ?>
<?php if ( $status_msg && isset( $tetapi_status_messages[ $status_msg ] ) ) : ?>
<div class="notice <?php echo 'verified' === $status_msg ? 'notice-success' : 'notice-info'; ?>">
<p><?php echo esc_html( $status_messages[ $status_msg ] ); ?></p>
<p><?php echo esc_html( $tetapi_status_messages[ $status_msg ] ); ?></p>
</div>
<?php endif; ?>

Expand Down Expand Up @@ -54,9 +54,9 @@
<?php else : ?>
<select id="tetapi_entity_id" name="tetapi_entity_id">
<option value=""><?php esc_html_e( '— choose —', 'tetapi' ); ?></option>
<?php foreach ( $businesses as $business ) : ?>
<option value="<?php echo esc_attr( $business['id'] ); ?>" <?php selected( $entity_id, $business['id'] ); ?>>
<?php echo esc_html( $business['name'] ); ?>
<?php foreach ( $businesses as $tetapi_business ) : ?>
<option value="<?php echo esc_attr( $tetapi_business['id'] ); ?>" <?php selected( $entity_id, $tetapi_business['id'] ); ?>>
<?php echo esc_html( $tetapi_business['name'] ); ?>
</option>
<?php endforeach; ?>
</select>
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,16 @@ site.

1. Settings > TETA+PI — connect your entity with a personal API key.
2. Domain ownership verification status and controls.
3. The TETA+PI trust badge, rendered via shortcode.
3. The TETA+PI trust badge, rendered via the `[tetapi_badge]` shortcode on a page.
4. The "TETA+PI Badge" widget added to a sidebar.

== Changelog ==

= 1.0.0 =
* Initial release: settings/connect page, domain ownership verification,
badge shortcode + widget, Premium module teasers + free promo-code redeem.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
Binary file added screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading