|
316 | 316 | 'tools.php'
|
317 | 317 | ) . '</p>' .
|
318 | 318 | '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
319 |
| - '<p>' . __( '<a href="https://wordpress.org/support/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' . |
320 |
| - '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' |
| 319 | + '<p>' . __( '<a href="https://wordpress.org/documentation/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' . |
| 320 | + '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' |
321 | 321 | );
|
322 | 322 | } elseif ( 'page' === $post_type ) {
|
323 | 323 | $about_pages = '<p>' . __( 'Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the “Parent” of the other, creating a group of pages.' ) . '</p>' .
|
|
333 | 333 |
|
334 | 334 | get_current_screen()->set_help_sidebar(
|
335 | 335 | '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
336 |
| - '<p>' . __( '<a href="https://wordpress.org/support/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' . |
337 |
| - '<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' . |
338 |
| - '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' |
| 336 | + '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' . |
| 337 | + '<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' . |
| 338 | + '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' |
339 | 339 | );
|
340 | 340 | } elseif ( 'attachment' === $post_type ) {
|
341 | 341 | get_current_screen()->add_help_tab(
|
|
352 | 352 |
|
353 | 353 | get_current_screen()->set_help_sidebar(
|
354 | 354 | '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
|
355 |
| - '<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' . |
356 |
| - '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' |
| 355 | + '<p>' . __( '<a href="https://wordpress.org/documentation/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' . |
| 356 | + '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' |
357 | 357 | );
|
358 | 358 | }
|
359 | 359 |
|
360 | 360 | if ( 'post' === $post_type || 'page' === $post_type ) {
|
361 | 361 | $inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the “Create a new gallery” button.' ) . '</p>';
|
362 |
| - $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/support/article/embeds/">Learn more about embeds</a>.' ) . '</p>'; |
| 362 | + $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/documentation/article/embeds/">Learn more about embeds</a>.' ) . '</p>'; |
363 | 363 |
|
364 | 364 | get_current_screen()->add_help_tab(
|
365 | 365 | array(
|
|
377 | 377 | '</li>';
|
378 | 378 |
|
379 | 379 | if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) {
|
380 |
| - $publish_box .= '<li>' . __( '<strong>Format</strong> — Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/support/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>'; |
| 380 | + $publish_box .= '<li>' . __( '<strong>Format</strong> — Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/documentation/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>'; |
381 | 381 | }
|
382 | 382 |
|
383 | 383 | if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) {
|
|
0 commit comments