This commit is contained in:
Chung Pham
2020-08-20 17:31:10 +07:00
parent a2415271a9
commit 8851716ddc
34 changed files with 5463 additions and 5035 deletions

View File

@@ -1,6 +1,6 @@
<?php if ( ! opalesate_check_has_add_listing( $user_id ) ): ?>
<div class="alert alert-warning">
<p><?php esc_html_e( 'Your package has 0 left listing, you could not add any more. Please upgrade now', 'opalestate-pro' ); ?></p>
<p><a href="<?php echo opalmembership_get_membership_page_uri(); ?>" class="btn btn-primary"><?php esc_html_e( 'Click to this link to see plans', 'opalestate-pro' ); ?></a></p>
<p><?php esc_html_e( 'Your package has 0 listings left, you can\'t add any more until you upgrade your plan', 'opalestate-pro' ); ?></p>
<p><a href="<?php echo opalmembership_get_membership_page_uri(); ?>" class="btn btn-primary"><?php esc_html_e( 'Click this link to see plans', 'opalestate-pro' ); ?></a></p>
</div>
<?php endif; ?>

View File

@@ -9,8 +9,8 @@ if ( $wp_query->max_num_pages <= 1 ) {
}
$args = apply_filters( 'opalestate_pagination_args', [
'prev_text' => __( '&laquo;' ),
'next_text' => __( '&raquo;' ),
'prev_text' => __( '&laquo;', 'opalestate-pro' ),
'next_text' => __( '&raquo;', 'opalestate-pro' ),
'type' => 'list',
] );

View File

@@ -20,7 +20,7 @@ $args = array( 'position' => 'top', 'animation' => 'true' );
?>
<div class="<?php echo apply_filters('opalestate_row_container_class', 'row opal-row');?>">
<div class="col-lg-12 col-md-12">
<h6 class="pull-left"><?php esc_html_e("Share this:", "fullhouse"); ?></h6>
<h6 class="pull-left"><?php esc_html_e("Share this:", "opalestate-pro"); ?></h6>
<div class="pbr-social-share">
<div class="bo-social-icons bo-sicolor social-radius-rounded">
<?php if((bool)opalestate_options('facebook_share_blog',true)): ?>

View File

@@ -14,10 +14,11 @@ $nonce = wp_nonce_field( 'submitted-property', 'submission_action', true );
<div class="submission-heading text-center">
<?php if ( ! $post_id ) : ?>
<h1><?php esc_html_e( 'Add New Property', 'opalestate-pro' ); ?></h1>
<p><?php esc_html_e( 'Adding a property is straight forward, we are broken it down into a few steps.' ); ?></p>
<p><?php esc_html_e( 'Adding a property is straight forward, we are broken it down into a few steps.', 'opalestate-pro' ); ?></p>
<?php else : ?>
<h1><?php esc_html_e( 'Edit Property', 'opalestate-pro' ); ?></h1>
<p><?php esc_html_e( 'Edit a property is straigh forward, we are broken it down into a few steps' ); ?></p>
<p><?php esc_html_e( 'Edit a property is straight forward, we are broken it down into a few steps.', 'opalestate-pro' ); ?></p>
<?php endif; ?>
</div>

View File

@@ -42,8 +42,8 @@ $messages = opalestate_get_message_by_user( $args );
echo paginate_links( [
'base' => add_query_arg( 'cpage', '%#%' ),
'format' => '',
'prev_text' => esc_html__( '&laquo;' ),
'next_text' => esc_html__( '&raquo;' ),
'prev_text' => esc_html__( '&laquo;', 'opalestate-pro' ),
'next_text' => esc_html__( '&raquo;', 'opalestate-pro' ),
'total' => ceil( $messages['total'] / $args['items_per_page'] ),
'current' => $args['cpage'],
] );