开发者 | 15km |
---|---|
更新时间 | 2024年6月9日 05:16 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 6.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/page-title-splitter
directory, or install the plugin through the WordPress plugins screen directly.The modified title can be show on the website by adding one of the functions to your source code. the_split_title()
will print the title on the page and get_split_title()
will allow you to store it in a variable or print it yourself.
A Post ID can be added to either function to show a title outside of the loop or on a different page, ex. <?php the_split_title(12); ?>
.
Go to either Add/Edit a Post, Page or Custom Post Type and you will find a grey bar underneath the title text field. To the left of that bar you will see a / button, once pressed this will add a marker at the start of the title. Now by clicking on a character in the title, the marker will move to that position and that is where the page break will occur in the title. You can add as many markers as needed to the title.
Click on the marker that sits below the title text field, that marker will then highlight. Now you can click on a different character in the title text field that marker will move to that position.
Click on the marker that sits below the title text field, that marker will then highlight. If you look to the left of the grey bar underneath the text field you will see a “x”, if click on that button it will delete the marker.
Click on the marker that is currently highlighted in the grey bar underneath the title text field and it will remove the highlighted state from the marker. This will allow you to select a different marker and not worry about it moving if you click on a character in the title text field.