adsense

How to Use Multiple Page Layout in WordPress





1. Visit the w-admin directory of your WordPress website. Navigate to either 'Pages' or 'Posts,' depending on the type of content you want to edit. You turn content of either type into multiple pages.
2. Click the 'HTML' tab on the top of the editor box on the page or post editing screen. Place the following code where you want one page to end and another to begin:
Browsers see any code like '
' as HTML comment tags. Programmers use comment tags to leave notes for themselves and other developers in the code, but WordPress uses this particular comment to tell when to break into a new page.

3. Click the blue 'Update' button to save your changes. Open the page or post in your browser and check that the page numbers appear at the bottom of your content. If they do not, then your theme lacks the proper code to do multiple page layouts, but a simple change will fix this.
4. Navigate to 'Editor' under 'Appearance' in the WordPress dashboard. Click the index.php link under 'Templates' and find '
' or '
.' Place the following code somewhere under that line:
Save the changes to the file. Add '
' to single.php and page.php as well.

Comments

0 Responses to "How to Use Multiple Page Layout in WordPress"

Post a Comment

Popular Posts

About