Coder Social home page Coder Social logo

Menu items do not update about wp-appkit HOT 6 OPEN

MBoberski avatar MBoberski commented on July 30, 2024
Menu items do not update

from wp-appkit.

Comments (6)

blupu avatar blupu commented on July 30, 2024

Hi, I don't reproduce your issue, so let's dig a little bit to find what's wrong. (Some questions are basic but sometimes silly things are causing the problem.)

  • Did you save your app aftet adding items?
  • What are the components corresponding to the new items?
  • What OS are you compiling for?

One thing that may help you is to look at the web service data (Synchronization metabox -> Show me web service data button).

from wp-appkit.

MBoberski avatar MBoberski commented on July 30, 2024

Yes I saved the app.
New items are only category links and pages.
I compile it for Android

Web service shows correct data.

from wp-appkit.

blupu avatar blupu commented on July 30, 2024

OK - It should be a problem on the app side. What app's theme do you use?

from wp-appkit.

MBoberski avatar MBoberski commented on July 30, 2024

Default android one.

from wp-appkit.

mleroi avatar mleroi commented on July 30, 2024

Hi,
If you confirm that you see correct menu items in the Web Service Data under the "navigation" entry, then the problem most likely comes from app side.
When you preview your app in the browser, can you open developer tools (F12), go to Console tab and enter the following 2 commands:

TemplateTags = require('core/theme-tpl-tags');
TemplateTags.getMenuItems();

Does this display correct menu items?

from wp-appkit.

MBoberski avatar MBoberski commented on July 30, 2024

I decided to write own api and app so I removed plugin. But I will reisntal it and test at the weekend :)

from wp-appkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.