Upload image to wordpress using ionic/cordova with WP REST API V2

you can plain javascript file upload for this with ionic framework. const url=”YOUR_WP_ACTION_RUL”; const form = document.querySelector(‘form’); form.addEventListener(‘submit’, e => { e.preventDefault(); const files = document.querySelector(‘[type=file]’).files; const formData = new FormData(); for (let i = 0; i < files.length; i++) { let file = files[i]; formData.append(‘files[]’, file); } fetch(url, { method: ‘POST’, body: formData }).then(response … Read more

Display posts on a map

The GPS position is saved on two post meta fields: geo_latitude and geo_longitude. You can use these meta values to draw the posts as markers on a Google Maps. For example, using Google Maps API, you could have a template like this: <h1>Posts on map</h1> <div id=”map” style=”height: 400px;”></div> <script> // init map with the … Read more

Links open when scrolling on touch devices/mobile

I could confirm on your shared site that some javascript code is causing this issue. This code may be generated by plugins used on your site so please try temporary deactivating all plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is generating it if … Read more

resize chat bar on mobile [closed]

Use Below CSS to achieve your goal, make min-width of button_bar to auto and hide the button_text @media (max-width:849px){ .meshim_widget_components_chatButton_Button .button_bar{min-width:auto;} .meshim_widget_components_chatButton_ButtonBar .button_text{display:none;} } Thanks

App in wordpress doesnt fit to mobile screen

The best approach would be as toscho said in the comments – to write your own script an make it mobile friendly from the start. But if you want a quick, temporary solution you could do something like this: <div id=”maincontainerWrapper” style=”overflow: auto;”> <div id=”maincontainer” style=”position: relative;”> … </div> </div> then your calculator app will … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)