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

Closes #4541 Update tutorials categories and add new videos #4545

Merged
merged 2 commits into from
Dec 2, 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
2 changes: 1 addition & 1 deletion assets/css/wpr-admin.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/scss/components/_tutorials.scss
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.wpr-tutorials-section {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}

div.wpr-tutorial-item {
width: calc( 96% / 3 );
margin-bottom: 10px;
margin-right: 1%;
}

.wpr-tutorial-link {
Expand Down
15 changes: 9 additions & 6 deletions views/settings/page-sections/tutorials.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,23 @@
'fj42vucf99' => __( 'Finding the Best Settings for Your Site', 'rocket' ),
'z1qxl7s2zn' => __( 'How to Check if WP Rocket is Caching Your Site', 'rocket' ),
'j042jylrre' => __( 'How to Measure the Speed of Your Site', 'rocket' ),
'803tlui8oi' => __( 'How Preloading Works', 'rocket' ),
],
],
[
'title' => __( 'File Optimization', 'rocket' ),
'title' => __( 'Passing the Core Web vitals', 'rocket' ),
'tutorials' => [
'frwm2xrksl' => __( 'Troubleshooting Display Issues with File Optimization', 'rocket' ),
'95z0cb0yxb' => __( 'How to Find the Right JavaScript to Exclude', 'rocket' ),
'9m1zg8p5wc' => __( 'How External Content Slows Your Site', 'rocket' ),
'fj7gs031q6' => __( 'How to improve LCP with WP Rocket', 'rocket' ),
iCaspar marked this conversation as resolved.
Show resolved Hide resolved
'krqb7ckugp' => __( 'How to improve FID with WP Rocket', 'rocket' ),
'5wrdzcmj90' => __( 'How to improve CLS with WP Rocket', 'rocket' ),
],
],
[
'title' => __( 'Preload', 'rocket' ),
'title' => __( 'Troubleshooting', 'rocket' ),
'tutorials' => [
'803tlui8oi' => __( 'How Preloading Works', 'rocket' ),
'frwm2xrksl' => __( 'Troubleshooting Display Issues with File Optimization', 'rocket' ),
'95z0cb0yxb' => __( 'How to Find the Right JavaScript to Exclude', 'rocket' ),
'9m1zg8p5wc' => __( 'How External Content Slows Your Site', 'rocket' ),
],
],
[
Expand Down