TransWikia.com
  1. All Categories
  2. WordPress Development

WordPress Development : Recent Questions and Answers (Page 8)

Find answers to your questions about WordPress Development or help others by answering their WordPress Development questions.

Importing CSV into database table not working?

global $wpdb;if (isset($_POST["import"])) {$fileName = $_FILES["file"]["tmp_name"];if ($_FILES["file"]["size"] > 0) { $file = fopen($fileName, "r"); while (($column = fgetcsv($file, 10000, ",")) !== FALSE) {...

Asked on 12/15/2021 by Coder Sathya

1 answer

Redirect to dashboard user once you click on Publish page

Let´s say you are in a creating a page you put the title and the content, the last step is click on "Publish" once you click on publish I want...

Asked on 12/15/2021

0 answer

Display a CPT based on a metabox selection

I am trying to display multiple post based off a custom metabox selection. I am currently using CMB2 as my framework to display the CMB within the backend. The selection...

Asked on 12/15/2021 by bigant841

1 answer

Move custom code out of theme's functions.php file

I have written code to use on a single page, but I've placed it in the theme's functions.php and created a javascript file and placed it in the theme's JS...

Asked on 12/15/2021

1 answer

advanced custom fields and contact form 7

I want to use contact form 7 shortcode in advanced custom fields I created field called shortcode with advanced custom fieldsand put the contact form 7 shortcode in it....

Asked on 12/15/2021 by social

1 answer

wp cli search and replace on --network Error reconnecting to the database

I'm getting a new Vagrant VM WordPress setup. I've downloaded my production db and I normally I go through and use a search and replace to find a production url...

Asked on 12/15/2021

0 answer

Show MySQL errors that occur when I excute $wpdb->insert()

I have the same problem as Nathan ($wpdb->last_error doesn't show the query on error), obviously, the solution to the specific case was to change the type of data to...

Asked on 12/15/2021 by Diego Valverde

1 answer

How to restrict subscriber editing other posts but read specific posts in backend

I need to allow Subscribers to edit their posts (done) and read (see in backend) posts of specific author or with specific ID (to make copies of it). I found...

Asked on 12/15/2021 by Juliana Jul

1 answer

How to search for categories and/or tags?

I have a search function on my blog. If I enter a value, say 'fruits' in the search box and it doesn't match in any of the posts but it...

Asked on 12/12/2021

2 answer

Parent page for CPT

Alright, there's been numerous topics about this, but it doesn't seem to work for me. I have one normal page, called "Resources".Then I have several Custom Post Types. One...

Asked on 12/12/2021 by Don Munter

1 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP