Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [development]

The tag has no usage guidance.

2
votes
1answer
284 views

Is it possible to use Gutenberg on the front-end?

Now that WordPress 5 has the new Gutenberg editor, I'm interested in the possibility of using it programmatically on the front-end (for example as as a rich-text editor for bbPress). In the past I've ...
2
votes
1answer
367 views

Are there any security issues with setting the WP_INSTALLING constant to true?

Running Wordpress 4.1 on a CentOS 6.5 instance through VirtualBox as a dev server. When logged in as admin on both ssl and non-ssl sites Wordpress curl requests are taking a long time to run (45+ ...
1
vote
1answer
164 views

Work flow for multiple developers

I'm looking to streamline the development work flow for a new project that will have multiple developers involved (backend and frontend). My biggest quandary is how best to make sure all devs have ...
0
votes
1answer
22 views

I am trying to make a field show and save from quickedit screen

I have a select box with some options. It appears in the normal product edit screen with the following code. function we_skroutzxml_custom_availability() { woocommerce_wp_select( array( ...
0
votes
1answer
62 views

Customizing WooCommerce with PHP

This is my first question, sorry if it's not in the right place. I'd like to know how one can learn the basics of coding for WooCommerce with PHP (classes, hooks, ...). I'm having to search on Google ...
0
votes
1answer
396 views

dynamic image path within a javascript file

I need to dynamic the image path to my theme file within a javascript file. How would I go about this? address.forEach(function(address){ var markerGeoCoder; markerImage = {url: window....
0
votes
1answer
465 views

Merging development site with live site

Earlier this year I built a client a large website for their organization. After that site was finished and live on the web (not on our development server anymore) they wanted the company I work for ...
0
votes
1answer
51 views

How to set up a development/staging site to make major changes to the theme then update on the live site?

I made a site a few months ago without using a development or staging environment. I just updated everything on the live site, which was fine at the time because the domain wasn't public. We were ...
0
votes
1answer
20 views

PayPall Button Data Issue

I've got a PayPal button with three text fields and my customers are able to complete transactions using the button but the text field data does not appear in the transaction details. I think the ...
0
votes
1answer
362 views

After WooCommerce-Update fucntion not working anymore

I got a problem and I am realy dying on this right now. I did the WooCommerce Update up to the major 3 version and straight to 3.0.2. After completet, updated the database. So far so good. My ...
0
votes
1answer
259 views

Help! Need a different logo on my main page from my other pages

First off I am not a coder and its my first time creating a website and using word press. I am having an issue with my Logo. It is very large and only would like to use this logo and size on my main ...
0
votes
1answer
21 views

how to insert gravity newsletter subscription form in template

i have created a template. i want to insert gravity form for newsletter subscription form in the middle of the page,content will be first name,last name,email id and subscribe button.And after click ...
0
votes
1answer
3k views

how to open my existing site on mamp

I've got mamp working but can't access my site. I created the DB cheaptubes_com, a user and I successfully imported the DB. I have a copy of information_schema DB but can't find how to import it and I ...
0
votes
1answer
87 views

Move default page templates to sub directory

So I know there having custom templates in a sub-directory is a native feature introduced in 3.4. But I'm not talking about custom page templates here. I'm talking about the default page templates ...
0
votes
1answer
405 views

Is it possible Different templates of products for specific category in WooCommerce?

For example i have category Hostels & Bikes, and one template for Hostels single product template, but for category Bikes i want to have different single-product.php template, how to implement ...
0
votes
1answer
693 views

Maximum lifetime for nonce

In our project we allow users to buy a coupon ( WooCommerce product ) for some service. We save every coupon as a custom post type with all the customer data inserted during purchase. We then via ...
0
votes
1answer
57 views

How to keep a CPT stick to specific position?

I have created a CPT (esp-publicitarios) using Metabox plugin with the following code: add_filter('rwmb_meta_boxes', 'elclarin_register_meta_boxes'); function elclarin_register_meta_boxes($...
0
votes
1answer
68 views

Wordpress error on my website

Hey guys I launched a recently built website for my client and everything seemed to be working fine, but recently whenever I try to edit anything, add a new page, delete something, etc. I get a fatal ...
0
votes
1answer
110 views

Inserting categories as a hierarchical terms from frontend form

I want to insert or you may say select the pre defined categories in my custom post type from my front end form. i don't know where i am missing any code. Please help me out in this ... Below is my ...
1
vote
0answers
30 views

WooCommerce - buying as well as selling

Having looked around, I can't find an obvious answer to this one. Can WooCommerce be configured to have both products available to sell as well as products I offer to buy? I have looked at setting ...
1
vote
0answers
317 views

Creating subfolders in the media library

I'm new to WordPress. As far as I can tell, there's no built-in way to manually organize uploaded media into subfolders. There are free plugins that enable categorization, but this does not affect a ...
1
vote
0answers
328 views

Localhost to Staging to Development Dynamic WP-CONFIG

I am trying to setup 3 environments: Localhost, Staging and Development. The issue is that each environment has its own db. We want to have ONE config file which will dynamically change the Db ...
1
vote
0answers
121 views

Development environment

We have an internal project where two developers work together, each one on each local environment and they integrate their work on a small shared server. I've realized that whenever someone does ...
1
vote
0answers
737 views

How to redirect users to their profile after they successfully edit their profile

I am using the buddypress plugin for wordpress and would like to make a little change... I was wondering, if there was a way I could redirect users to their profile page after they save the edits to ...
0
votes
0answers
10 views

Woocommerce custom search

I want to build a search form on the homepage where people can search by Product Name Product Category Price range I have found a few results, but a lot of them are filters which display products. ...
0
votes
0answers
11 views

How to filter error message when requesting more product quantity than is available

I'm trying to filter the message that shows WooCommerce, when the product reservation is not allowed. The message that is displayed when you want to add in the cart more stock than is avaiblable. ...
0
votes
0answers
12 views

Can we execute a function when Gutenberg block is added?

I'm wondering if there is a way to execute a function when a certain block is added in the editor, but not each time we edit the block. As far as I know the only functions we can specify are edit and ...
0
votes
0answers
5 views

Is there a way to execute a function whenever Gutenberg Blocks are rearranged?

i'm having the following problem: I have created a grid component which uses a binary packing script (packery by metafizzy) to fit its child blocks depending on their size. To improve the editing ...
0
votes
0answers
11 views

A WP dev site that displays content from a live site's database but cannot write to wp_posts?

Is there a way to setup a Wordpress site that uses another site's database but cannot write to specific tables (like wp_posts)? Basically I'm trying to set up a testing site that I could use to test ...
0
votes
0answers
37 views

wordpressPCL user meta

I'm using the wordpressPCL library to create new users. I need to insert Meta fields as well, how should I structure this field? private static async Task InserUser() { ...
0
votes
0answers
24 views

Add fields to edit in custom widget

I'm coding my first theme. I want to have class event editable in Admin Panel as a widget. I don't know how to declare this widget in functions.php to keep my hierarchy and class names. <div class=...
0
votes
0answers
24 views

New theme development while keeping existing theme live

Due to a PHP issue I want to update my website which I built through Word Press to a new theme. Building the new site may take me a month or so I want the current one to remain live. However once I ...
0
votes
0answers
44 views

wp_editor not working in external file

I am pulling info from my Wordpress database into a dropdown. When an option is selected from the dropdown, a div is populated with a form from another page. The page gets the info from the database ...
0
votes
0answers
13 views

Groups plugin: Specific users can edit specific pages

How I can allow only specific users to edit specific pages? With code or the Groups plugin (by itthinx), Im not allowed to use another plugin. Is that possible? I ended up to this solution: ...
0
votes
0answers
59 views

Featured posts reordering without plugin - Newspaper theme

I am using Newspaper (child) theme where the 2 carousels display the 11 featured posts (first 5 in the main carousel and the following 6 in a secondary carousel). We used to use a plugin to reorder ...
0
votes
0answers
23 views

Storing video thumbnails

I need help. When I add new post with video I want to download the thumbnail of the video to wp-content/upload. I tried using wp_handle_upload() function but i am not sure if it is correct and i am ...
0
votes
0answers
13 views

Start Post Edit Page With All MetaBoxes Closed

Is there a way to have all the metaboxes start out collapsed (i.e., closed) when editing a page? Either a plugin, function, piece of javascript code?
0
votes
0answers
40 views

How to remove a cookie

First sorry for my bad english, I'm french. I have a WordPress website and I need to make it compliant for GDPR. So I need to find a way to remove cookies, I make it with google analytics but they ...
0
votes
0answers
106 views

Custom gravity form submission plugin is submitting for data twice!

So i created a custom plugin that submits an inline html form through gravity forms api. Everything works but for some reason the form is submitting twice and therefore i am getting duplicate entries. ...
0
votes
0answers
160 views

Running local copy of an old Wordpress site on MAMP

Running local copy of an old wordpress site on MAMP Hi there, I need to update some stuff on an old WP site, which I plan on doing locally. I am able to run the latest default version of Wordpress ...
0
votes
0answers
28 views

The etiquette of forking a plugin and table tag

Forgive this non technical and novice question. What's the best practice when forking a plugin? I'm a WordPress Development newbie, I've managed to fork a plugin which had not been updated for four ...
0
votes
0answers
37 views

Site migration and how to write internal links with migration in mind

Hi Hope some one doesn't mind explaining this? I'm going to work on a replacement site while keeping the old one live, two questions here: How do I fool my PC to direct to the new installation? I ...
0
votes
0answers
46 views

Why the output of an image gallery plugin is not displayed into a page of my custom theme?

I am pretty new as WordPress developer and I am going crazy with a theme developed by myself starting from 0. So, at this link you can download the entire theme so you can see in the details the ...
0
votes
0answers
56 views

One WP Database outside localhost and two connections

I would like to ask for help with this problem. I have two places where I have the same WP. 1) Test site - own domain, hosting and DB - here is stored database, so siteurl is here, example: test.com ...
0
votes
0answers
28 views

Theming Custom Plugin Page

I am creating a plugin that collects user information. It's a bunch of forms. So, the user will hit the first form page, enter data, then be redirected to the second form page, where they enter more ...
0
votes
0answers
301 views

How to show the posts list into a static page? Problems to use the loop into a static page

I have the following problem: I have to create a posts archive into a static page. So I have created this page template containing the loop to interate on my posts: <?php /** * Template Name: ...
0
votes
0answers
73 views

Why do my offline development site and online live site behave differently?

I have two versions of my site - one live, the other a development site using DeskTopServer. I work on the development site - adding / editing posts etc. and making changes to the WP database, and ...
0
votes
0answers
378 views

Setting up staging area

I typically work on live sites, no matter the scope. What is the best way to set up a staging/dev area for live wp sites? I know MAMP is the way to go, but how would this work? Would I have to ...
-1
votes
0answers
16 views

what is FS-METHOD?

1 as long as you have one (1) site www-data is Ok, but when you have more sites you should never give them the same user, regardless if using the direct FS_METHOD in your wp-config or not. Why? If ...
-1
votes
0answers
19 views

Moving a site I made in html ..Css .. javascript to wordpress

Well 8 years development after inundated university years ...hmmm then a car decided to take me out while walking ..result a head full of scars ..5 years converlessing .. but all the years coding I ...