Skip to content

Commit

Permalink
Reposition social media settings group
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetrakern committed Oct 17, 2024
1 parent 40c1ad0 commit 27f25a1
Showing 1 changed file with 72 additions and 72 deletions.
144 changes: 72 additions & 72 deletions includes/functions/settings/_settings_page_general.php
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,78 @@
</div>
</div>

<div class="fictioneer-card">
<div class="fictioneer-card__wrapper">
<h3 class="fictioneer-card__header"><?php _e( 'Social Media' ); ?></h3>
<div class="fictioneer-card__content">

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_facebook_share',
__( 'Disable Facebook share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_twitter_share',
__( 'Disable Twitter share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_tumblr_share',
__( 'Disable Tumblr share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_reddit_share',
__( 'Disable Reddit share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_mastodon_share',
__( 'Disable Mastodon share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_telegram_share',
__( 'Disable Telegram share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_whatsapp_share',
__( 'Disable Whatsapp share button', 'fictioneer' )
);
?>
</div>

</div>
</div>
</div>

<div class="fictioneer-card">
<div class="fictioneer-card__wrapper">
<h3 class="fictioneer-card__header"><?php _e( 'Performance', 'fictioneer' ); ?></h3>
Expand Down Expand Up @@ -1630,78 +1702,6 @@
</div>
</div>

<div class="fictioneer-card">
<div class="fictioneer-card__wrapper">
<h3 class="fictioneer-card__header"><?php _e( 'Social Media' ); ?></h3>
<div class="fictioneer-card__content">

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_facebook_share',
__( 'Disable Facebook share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_twitter_share',
__( 'Disable Twitter share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_tumblr_share',
__( 'Disable Tumblr share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_reddit_share',
__( 'Disable Reddit share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_mastodon_share',
__( 'Disable Mastodon share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_telegram_share',
__( 'Disable Telegram share button', 'fictioneer' )
);
?>
</div>

<div class="fictioneer-card__row">
<?php
fictioneer_settings_label_checkbox(
'fictioneer_disable_whatsapp_share',
__( 'Disable Whatsapp share button', 'fictioneer' )
);
?>
</div>

</div>
</div>
</div>

<?php do_action( 'fictioneer_admin_settings_general' ); ?>

<div class="fictioneer-card">
Expand Down

0 comments on commit 27f25a1

Please sign in to comment.