End of Year Sale: 30% off your first year on annual plans. Use code AP5-30-OFF See plans

Add a page to your app menu

Build Your App · AppPresser 文件

Add a page to your app menu

本文尚未翻譯,因此以英文顯示。

Your app journey: step 4 of 9, Add pages and features. New here? Read Start here: build your app with AppPresser first.

What you'll do: Add a new page to one of your app menus so people can open it. A new page does not show in your app until you do this. The example page has two blocks: one post and a list of your post categories.

Before you start

Make the page

  1. In the left menu, under Customization, click Custom Pages.
  2. Click Add New Page. A window titled Add New Page opens.
  3. In Title, type a title. Under Page Type, keep Page Builder selected, then click Create Page.
  4. Click Add Block, then click the Single Post or Page block.

    A new page in the editor with the Single Post or Page block and its empty Type and ID boxes

  5. Under Type, choose Post or Page.

    The Type list open in the Single Post or Page block, showing Post and Page

  6. In ID, type the post's ID number. See Show one post or page (Single Post or Page block) to learn how to find it.

    The Single Post or Page block with Type set to Post and a post ID typed in the ID box

  7. Click Add Block again, then click the WordPress Post Category List block. Its settings can stay as they are.

    The WordPress Post Category List block added under the Single Post or Page block, with its Post Type, Customize Categories and Display settings

    Both blocks on the page in the editor, with the Save Changes button at the top right

  8. Click Save Changes at the top of the editor.

Add the page to a menu

  1. In the page editor, click Add to Menu. A window opens.
  2. Under Menu, choose a menu. For example, choose your auxiliary (extra links) menu to list the page under More, or your tabs menu to add a tab at the bottom of the app.
  3. Under Position, click the item the page should go before. If you skip this, it goes at the end.
  4. If you want, type or browse for an icon under Menu Icon.
  5. Click Add to Menu.

The Add to Menu window with the Menu list, Menu Icon, Extra Classes, the Position list of menu items and the Add to Menu button

Open the page in the preview

  1. In the App Preview, click More, or click the new tab.
  2. Click your page.

The More menu in the App Preview with the new Single and Category Test page listed under Podcasts and Our Website

The category list shows a box for each category.

The new page in the App Preview showing categories such as Behind the Music, Community, Merch and News

Click a category to see its posts.

The Tour category open in the App Preview, listing its posts with pictures

Tips

Tips

  • To move a block, drag it by its handle (the dots on the left). Click the arrow to fold it closed.
  • To copy a block, click the Duplicate icon.
  • To turn a setting on or off, click the switch itself, not the words next to it.
  • After you save, open the page in the App Preview and check your changes.

Careful: The trash icon removes a block right away. Check before you click.

You're done when your new page opens from the menu in the App Preview.

Next step

Add a heading (Title block)

這篇文章對您有幫助嗎?

沒有找到?

我們的支援團隊可協助解決設定、建置和應用程式商店相關問題。