ampersand problem with wordpress categories

I have an array of categories, some with an & i.e. events & entertainment. My script imports these categories and gets the ID of each using its name. i.e.: $cat_id =...

How to include $wpdb in wordpress plugin?

I've been developing for some time on a plugin in wordpress, but one problem keeps bugging me. I want to export a database-table as an excel file and therefor i need access to the global...

Wordpress keeps redirecting to install-php after migration

Here's my situation. I have followed the exact instructions on wordpress codex page about moving a site to another server. Here are the step's i have taken. Export a copy of my database Make a...

wordpress /woo commerce import script regularly calling wp-config.php causing super slow processing

I have written a product import application for many open-source shopping carts. The core of the application is used for all carts, then I have used a separate class for importing products to the...

After migration of WordPress website I can't access the admin (white page)

I am trying to move a WordPress site from my local server to the online server. The problem is that, after the migration, if I try to open the administration page (wp-admin) I only obtain a white...

Import data from HTML table to DataTable in C#

I wanted to import some data from HTML table (here is a link http://road2paris.com/wp-content/themes/roadtoparis/api/generated_table_august.html) and display first 16 people in DataGridView in my...

Remove duplicate products with same sku in woocommerce

I have used wp all import http://wordpress.org/plugins/woocommerce-xml-csv-product-import/ to import products from a XML file, but it has created duplicate products with same SKU. how can i delete...

Wordpress Importer showing blank page after clicking the Upload File and Import button

I have been trying to import an .xml file from my old WordPress to a new one. I have the following settings in php.ini: upload_max_filesize = 64M post_max_size = 90M memory_limit = 128M But when...

How to change post meta for all products on product add in WooCommerce?

So I am using woocommerce and am using a plugin called WP-All-Import to import a database of products into my Quickbooks connected e-commerce platform. Now I need to change the meta "_sync_status"...

"mycreatedwpsite.example.com is currently unable to handle this request. 500."

I have developed a site on WordPress.org locally on my computer. And I wanted to launch the site online. SO. I purchased a GoDaddy Domain. I purchased Bluehost hosting. And wanted to transfer the...

#1045 - Access denied for user 'root'@'localhost' (using password: YES) MAMP MySQL access denied

I'm trying to copy a live WordPress site to my local server. I went to import the database from the live site through MAMP, and I received an error message when trying to connect to...

Installing A Custom Composer Package from GitLab

I've created a simple test wordpress plugin. The plugin consists of a single php file (kreplach.php) and a composer.json: kreplach.php <?php /* Plugin Name: kreplach Plugin URI:...

Wordpress importer error: max execution time 60 seconds

I am trying to import a Wordpress theme unit test xml with default wordpress importer plugin. I get following error: Fatal error: Maximum execution time of 60 seconds exceeded in...

How to send email from WordPress (contact forms) in Docker container?

I have a little issue with Wordpress image, will be thankful for any help. I have existing database, which I import with dump. My Mysql Dockerfile listing below: FROM mariadb:10.1.20 COPY...

Hide "out of stock" products with custom meta data In Woocommerce

I'm working on a WooCommerce webshop at the moment and I've added a custom meta field named external_stock where WP All Import imports the stock that is available at our supplier for all of our...

How to install PyAudio 0.2.11 Fedora

I want to use the SpeechRecognition library for Python, but when I try to run a program that uses the microphone, which I intend to do, I get the error "PyAudio 0.2.11 or later is required (found...

Using Wordpress CLI image on Kubernetes

We have a custom docker image based on the official wordpress image that holds a custom theme that we are developing. We have CI/CD on this project using Gitlab CI and deploying branches on a...

WP All Import Pro: Polylang compatibility

I'm trying to import data from an Excel sheet into WordPress with the Pro version of WP All Import. We are using Polylang for multi language support. I wonder how to manage importing the content...

Nuxt JS load components depending on API response

I'm building a nuxt app to consume the wp rest API. In my fetch method I fetch information about needed components. I can't figure out how to then import all the components and render them. I've...

how to migrate live wordpress site to my localhost with or without plugin

I couldn't trace the issue while migrating. I am using XAMPP server in local machine and I have tried to export live site and then import it by "all in one wp migration" plugin but I got "theme...

Why can't import backup site WordPress? Plugin All-in-one migration

I can't import in new localhost site my previous site which is on server? I am exported .wpress file and now I want to import. I using All-in-one plugin and toxedo plugin for maximum upload file...

gatsby-source-graphql + ACF fields not showing up

I'm wondering why my ACF fields are not showing up in my gatsby app using the gatsby-source-graphql plugin? My ACF fields show up when I use the WP plugin: WP GraphiQL, but not when I run my...

Issues trying to use mmh3 in jupiter notebook

I'm trying to use import and use mmh3 for hashing however I get errors when I try to do so. These are the error i get: Collecting mmh3 Using cached mmh3-2.5.1.tar.gz (9.8 kB) Building wheels...

remove_submenu_page('woocommerce', 'wc-admin'); function not removing dashboard

I have created a new role in WordPress for WooCommerce. The only thing I require this role to see is: WooCommerce --> Orders Only Users - All Submenus WP All Import - All Submenus except for...

How to get HTML of each paragraph of a Word document with Office JS

I have MS Word documents where the table of contents, built using title 1 to title 4, is a hierarchy of more than 100 items. I want to use Office JS to develop an add-in to import these documents...

Bulk import products into Woocommerce using WP WC CLI

I'm trying to add 1000's of products into my woocommerce store using wp wc cli via my datasource which will give me the data in the following JSON format: { "name": "Product Name 1", ...

Wordpress ACF plugin blank screen

i use advance custom field for add post from users on home screen , after user click on submit button ,The text is recorded in the database and wordpress but user redirected to a blank page with...

Use "Create React App" inside a WordPress plugin

I'd like to develop a plugin, where the admin frontend (e.g. wp-admin pages) is rendered with React. I'm using create-react-app for developing the app in a subfolder. For loading the React App...

client_max_body_size directive is not working (?) on Dokku Wordpress app

Problem: I've created a Wordpress app on Dokku v0.23.0 (on a DO Ubuntu 18 vps), and I cannot upload any file bigger than 2MB. Steps already checked client_max_body_size 900M; is set in my...

How to download a pdf file and attach it with a custom field in WP All Import Plugin?

I am importing woo-commerce (1000) products from csv file. There is an option to download images and attach an image with custom fields. Can anyone help to import pdf files and attach pdf in...