Skip to content

Commit

Permalink
fixed create quiz button visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Nov 26, 2024
1 parent b28834b commit 1a5d5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php/admin/admin-dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function qsm_generate_dashboard_page() {
<h4 class="qsm-dashboard-card-title"><?php esc_html_e( 'Create a Quiz', 'quiz-master-next' ); ?></h4>
<p class="qsm-dashboard-card-description"><?php esc_html_e( 'Unleash your creativity and engage your audience by designing interactive quizzes with QSM.', 'quiz-master-next' ); ?></p>
<div class="qsm-dashboard-card-buttons">
<a class="button button-secondary load-quiz-wizard hide-if-no-customize <?php echo esc_attr( $classesname2 );?>" href="javascript:void(0)" data-formType="0"><?php esc_html_e( 'Create a Quiz', 'quiz-master-next' ) ?></a>
<a class="button button-secondary load-quiz-wizard <?php echo esc_attr( $classesname2 );?>" href="javascript:void(0)" data-formType="0"><?php esc_html_e( 'Create a Quiz', 'quiz-master-next' ) ?></a>
</div>
</div>
</div>
Expand All @@ -165,7 +165,7 @@ function qsm_generate_dashboard_page() {
<h4 class="qsm-dashboard-card-title"><?php esc_html_e( 'Create a Survey', 'quiz-master-next' ); ?></h4>
<p class="qsm-dashboard-card-description"><?php esc_html_e( 'Create amazing surveys, QSM plugin allows you to design and implement engaging surveys effortlessly.', 'quiz-master-next' ); ?></p>
<div class="qsm-dashboard-card-buttons">
<a class="button button-secondary load-quiz-wizard hide-if-no-customize" href="javascript:void(0)" data-formType="1"><?php esc_html_e( 'Create a Survey', 'quiz-master-next' ) ?></a>
<a class="button button-secondary load-quiz-wizard <?php echo esc_attr( $classesname2 );?>" href="javascript:void(0)" data-formType="1"><?php esc_html_e( 'Create a Survey', 'quiz-master-next' ) ?></a>
</div>
</div>
</div>
Expand Down

0 comments on commit 1a5d5fa

Please sign in to comment.