Table of Contents

How to use WordPress Media addons?

  1. The first step, We are required to turn off the Ionic Emulator, on your Command Prompt / Terminal (NodeJS) press Ctrl + C button on keyboard.
  2. Create a new page, for example I will give the name Galleries. This is the page that will be targeted for automatic coding.
    1. Go to Pages menu
    2. Then click New Page button
    3. Write the text of page title with the name: Galleries and the other entries just leave it blank or default
    4. Then click Save Changes button
  3. Next, We will connect the menu to that page
    1. Go to Menus menu
    2. In the section of General, New Item field type 1 value
    3. Then click Add New Item button
    4. New item will appear at the bottom by the name: New Item X and then click Down Arrow button
    5. Next, click Edit button
    6. Then We will edit the properties of the menu: Type: Goto Internal Link, Variable: empty/blank, Label: Galleries and Page: Galleries (galleries) and for others fields are keep default
    7. And click the save change button
  4. Well, we will continue using the addons feature
    1. Go to Add-Ons menu
    2. Then click Choose button in WordPress Media box
    3. Then complete the following fields:
      • Overwrite The Page, make sure you select the page that will be used to target the code that will be created, this will result in the old code being overwritten, so we will select Gelleries page.
      • Page Title, Is the title of the page that will be made, I wrote Galleries.
      • WordPress URL, is the main link of your WordPress
      • Media Type, select the type of media to be displayed
      • Filter By, You can filter content displayed based on search, include, exclude or author
      • Filter Value, the filter value that will be used
      • Type Layout, choose the layout you want
      • Goto Page, if there is a link on the layout page, it will go to the page selected
    4. Finally click Save Changes button.
  5. Now, You have to update native plugins that are needed by your ionic project, to see instructions and the list of plugins needed go to the Native Plugins menu, You can install it using using your Command Prompt / Terminal (NodeJS)
  6. Finally, you can run your ionic emulator.

Last edit: 2019-02-08 07:22:25

Comment

For any question about products, please contact email support is: info@ihsana.com and info@ihsana.net
img