Show one post or page (Single Post or Page block)
Build Your App · Документация AppPresser
Show one post or page (Single Post or Page block)
Эта статья ещё не переведена, поэтому показана на английском.
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: Show one post or one page from your WordPress website inside your app. Use it for a welcome message or an About page.
Before you start
- Connect your app to your WordPress website. See Connect your WordPress site and turn on Features.
- Publish the post or page on your website.
- Find the ID number of that post or page. An ID is the number WordPress gives each post and page. See Find the ID below.
Add the block
- In the left menu, under Customization, click Custom Pages.
- Click the name of the page you want to change. To make a new page instead, click Add New Page, type a title, keep Page Builder selected and click Create Page.
- Below the last block on the page, click Add Block.
In Search blocks…, type Single Post or Page, then click the block. It is added to the bottom of the page.
Under Type, choose Post or Page.
Under ID, type the ID number.
- Click Save Changes at the top of the editor.
- To see a new page in the App Preview, add it to a menu. See Add a page to your app menu.
Find the ID
- In your WordPress admin, click Posts or Pages.
- Click the title to open it for editing.
- Look at the web address at the top of your browser. Find the part that says post= followed by a number. That number is the ID. For example, in post=224 the ID is 224.
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 the block shows on your page in the App Preview.
Next step
Show your events (Events block)
Related articles
Это было полезно?
Результаты обновляются по мере ввода. Нажмите «/», чтобы перейти к поиску.
Не нашли ответ?
Наша служба поддержки поможет с настройкой, сборками и вопросами о магазинах приложений.



