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

Show one post or page (Single Post or Page block)

Build Your App · AppPresser Docs

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

  1. In the left menu, under Customization, click Custom Pages.
  2. 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.
  3. Below the last block on the page, click Add Block.
  4. In Search blocks…, type Single Post or Page, then click the block. It is added to the bottom of the page.

    The Single Post or Page block just added to a page, with 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. Under ID, type the ID number.

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

  7. Click Save Changes at the top of the editor.
  8. 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

  1. In your WordPress admin, click Posts or Pages.
  2. Click the title to open it for editing.
  3. 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)

এটি কি সহায়ক ছিল?

খুঁজে পাচ্ছেন না?

আমাদের সাপোর্ট টিম সেটআপ, বিল্ড ও app store সংক্রান্ত প্রশ্নে সাহায্য করতে পারে।