Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Adjust “disable theme” label #85

Merged
merged 1 commit into from
Jan 22, 2021
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Eager to try out the Headless Framework? Here's how you can get started:
- **Smart content redirects**
- Automatically redirects content from the WP site to the front-end site to minimize site visitors’ confusion and avoid SEO penalties for duplicate content
- Redirects hyperlinks inserted into posts’ content to the front-end site
- **Removal of WP themes**
- Prevents confusion around the active theme
- **Disable WP theme admin pages**
- Prevents access to admin pages that have no effect on the headless front-end appearance, such as Appearance → Themes.
- **Ability to define custom menus in a GUI**
- **Additional data exposed through WPGraphQL**
- Block stylesheets
Expand Down
2 changes: 1 addition & 1 deletion plugins/wpe-headless/includes/settings/callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function wpe_headless_display_enable_disable_fields() {
<fieldset>
<label for="disable_theme">
<input type="checkbox" id="disable_theme" name="wpe_headless[disable_theme]" value="1" <?php checked( $disable_theme ); ?> />
<?php esc_html_e( 'Disable WordPress theme functionality', 'wpe-headless' ); ?>
<?php esc_html_e( 'Disable WordPress theme admin pages', 'wpe-headless' ); ?>
</label>
<br />

Expand Down