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
5 changes: 5 additions & 0 deletions .changeset/update-settings-links.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@faustwp/wordpress-plugin": patch
---

fix[faustwp]: update documentation links in settings page to use current URL structure
6 changes: 3 additions & 3 deletions plugins/faustwp/includes/settings/callbacks.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function frontend_url_notice() {
printf(
/* translators: Link text */
esc_html__( 'See the %1$s Getting Started Documentation%2$s for more details.', 'faustwp' ),
'<a href="https://faustjs.org/docs/getting-started" target="_blank" rel="noopener noreferrer">',
'<a href="https://faustjs.org/docs/how-to/basic-setup" target="_blank" rel="noopener noreferrer">',
'</a>'
);
?>
Expand Down Expand Up @@ -396,7 +396,7 @@ function confirm_regenerate_key( event ) {
printf(
/* translators: %s: Documentation URL. */
wp_kses_post( __( 'This key is used to enable <a href="%s" target="_blank" rel="noopener noreferrer">headless post previews</a> and make authenticated GraphQL requests for schema generation.', 'faustwp' ) ),
'https://faustjs.org/guide/how-to-setup-post-and-page-previews'
'https://faustjs.org/docs/how-to/post-previews'
);
?>
</p>
Expand Down Expand Up @@ -442,7 +442,7 @@ function display_enable_disable_fields() {
printf(
/* translators: %s: Documentation URL. */
wp_kses_post( __( 'Learn more about <a href="%s" target="_blank" rel="noopener noreferrer">features</a>.', 'faustwp' ) ),
'https://faustjs.org/docs/faustwp/settings'
'https://faustjs.org/docs/how-to/basic-setup'
);
?>
</p>
Expand Down
12 changes: 6 additions & 6 deletions plugins/faustwp/includes/settings/views/headless-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,18 @@
<?php endif; ?>
<section>
<h4><?php esc_html_e( 'Create Your Headless App', 'faustwp' ); ?></h4>
<p><a href="https://faustjs.org/docs/next/getting-started" target="_blank" rel="noopener noreferrer">Follow our quick start guide</a>.</p>
<p><a href="https://faustjs.org/docs/how-to/basic-setup" target="_blank" rel="noopener noreferrer">Follow our quick start guide</a>.</p>
</section>
</div>
<div class="box docs">
<h3>Faust.js Documentation</h3>
<section>
<ul>
<li><a href="https://faustjs.org/guide/how-to-use-the-faust-example-project" target="_blank" rel="noopener noreferrer">In-depth Tutorial</a></li>
<li><a href="https://faustjs.org/tutorial/get-started-with-faust" target="_blank" rel="noopener noreferrer">Quick Start</a></li>
<li><a href="https://faustjs.org/guide/how-to-use-apollo-in-faust" target="_blank" rel="noopener noreferrer">Fetching Data</a></li>
<li><a href="https://faustjs.org/guide/how-to-setup-post-and-page-previews" target="_blank" rel="noopener noreferrer">Previews</a></li>
<li><a href="https://faustjs.org/guide/how-to-handle-authentication" target="_blank" rel="noopener noreferrer">Authentication</a></li>
<li><a href="https://faustjs.org/docs/tutorial/learn-faust" target="_blank" rel="noopener noreferrer">In-depth Tutorial</a></li>
<li><a href="https://faustjs.org/docs/tutorial/learn-faust" target="_blank" rel="noopener noreferrer">Quick Start</a></li>
<li><a href="https://faustjs.org/docs/how-to/query-data-in-the-browser" target="_blank" rel="noopener noreferrer">Fetching Data</a></li>
<li><a href="https://faustjs.org/docs/how-to/post-previews" target="_blank" rel="noopener noreferrer">Previews</a></li>
<li><a href="https://faustjs.org/docs/how-to/authentication" target="_blank" rel="noopener noreferrer">Authentication</a></li>
</ul>
<p><a class="button-primary" href="https://github.com/wpengine/faustjs/" target="_blank" rel="noopener noreferrer">Faust on GitHub</a></p>
</section>
Expand Down
Loading