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.

0
votes
0answers
16 views

WordPress with Web3Js

I am coming from a Node.Js environment and recently tried WordPress for fun. I have been able to create dAPPS with Node.Js by using ethereum's Web3.js and by connecting to an INFURA node. I am able ...
-1
votes
0answers
20 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 ...
1
vote
0answers
11 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
12 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. ...
1
vote
1answer
19 views

My plugin wants to update another plugin

I am having issues when I view my installed plugin page, it's telling me there is a new version available. If I click the view version or view details links, it shows a completely different plugin ...
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( ...
1
vote
1answer
42 views

Can I develop a WordPress site without a domain?

I currently have a wix.com website and want to make the switch to WordPress. I'm really confused about how I do this or whether I can? But in the meantime, I want to start building my site (as I am ...
0
votes
0answers
13 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
6 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
2answers
50 views

Img alt tag showing different value then entered

I have a WordPress website "https://drgadyabramson.com" I am optimizing the website for better ranking. But the problem is Yoast SEO showing me that "The images on this page do not have alt attributes ...
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
38 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
25 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
45 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 ...
2
votes
1answer
312 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 ...
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
63 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 ...
2
votes
1answer
73 views

How do I unlock a post programmatically?

I can use wp_set_post_lock to temporarily lock a post so that only I can edit it. I can use wp_refresh_post_lock to refresh that lock. I can use wp_check_post_lock to check whether a post is locked. ...
0
votes
2answers
53 views

Wordpress Staging Site

Problem: I do not want to develop (new features) of a wordpress site on production. So I set up an staging server where the same installation of wordpress is running on. So while I develop on the ...
1
vote
2answers
41 views

Best way to start becoming a wordpress developer

It's my mission this year to become a wordpress developer. I've been using wordpress for years as a frontside user but I now want to be able to develop wordpress sites from themes to functionality and ...
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
1answer
28 views

When should I not use WordPress? [closed]

I am fairly new at writing code and have been working mainly with React. Recently, I have been reading a lot about WordPress and it seems like this is actually the best option currently out there for ...
1
vote
2answers
37 views

Theme Development Admin Area [closed]

I think I start to develope themes now (after using WordPress for years now). I have a question: How can I integrate a custom dashboard like this I found here: Thank you for your help. Greetings ...
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
2answers
1k views

Wordpress delete cookie

First sorry for my bad english, i'm french. I need to make my website GDPR Friendly, so for this I use the plugin 'RGPD' who give me the possibility to check or uncheck multiples types of cookies. ...
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
109 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
164 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 ...
6
votes
1answer
495 views

Running Gutenberg React in Development Mode

Is there a way to enable WordPress to run the non-minified version of React while developing Gutenberg blocks? I am receiving an error from React while learning to create Gutenberg blocks. react-dom....
0
votes
1answer
13 views

Dev and prod on the same database- dev version active for IOS

I'm looking at a problem on a WordPress site I didn't build and the company that did are no longer operating. The site is fairly basic with no user membership this etc etc. The site holds all its ...
0
votes
2answers
305 views

Possible to put header-{your_custom_template}.php in subdirectory?

I just learned that it is possible to create differtent header.php files in your theme by creating a new File and calling it something like: header-myname.php. To call, i would use the header ...
0
votes
1answer
343 views

Minimize and Uglify WordPress Plugin Files

Intro When developing a gulp.js project, it is typical to have the following directory structure PROJECT_NAME | ---------- dist <------------ contains library to be released | ----...
2
votes
1answer
113 views

WordPress how to override function adjacent_posts_rel_link_wp_head() in link-template.php the correct way

I'm quite new to WordPress development. I'm using WordPress 4.9.2. I'm currently working on the following issue. I have several blog categories which have no relation to each other. For example "Our ...
1
vote
1answer
312 views

Custom Post Type | Fatal Error on register_post_type()

I am trying to develop my first Wordpress plugin using OOP by following a guide. I have followed word for word so far yet I am struggling with an issue that I am unable to rewrite what I imagine will ...
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 ...
1
vote
0answers
30 views

education system [closed]

i have a project that i need to build, the basic concept of the project is there is a student, teacher management system students and teachers can register on our website students can view subjects ...
0
votes
2answers
68 views

Remove year from title

In several post titles I have "years" (eg: "Lorem ipsum - 2018"), it's not a problem. But in another part of the blog I call these titles in PHP: $shortitle = wp_html_excerpt( get_the_title(), 23, '.....
0
votes
1answer
63 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
19 views

How to create a plugin that includes all the other plugins?

Is there a way to create a plugin which include others plugins? Obviously I will take care of updating all the plugins included in mine. I haven't found any info about it. Basically I want to package ...
2
votes
1answer
671 views

Created Widget Not Showing up on Admin Panel

I am following a tutorial on wordpress dev, and I try to create a basic widget from the plugin, So I have put those three files in my plugin directory: main plugin file (zero.php): <?php /* ...
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
1answer
167 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
2answers
75 views

Use staging media files on development site in WordPress

For some of my larger WordPress sites, I would like to avoid having to copy all the media files from the live site to the development site, but instead point the development site to use the media ...
0
votes
1answer
402 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
2answers
42 views

Unable to access WP test site

I am trying to set up a test site to make some changes to my live site. I followed all steps ( create subdomain,copy WP files, import database, change wp-config, edit site+URL entries in DB tables). ...
0
votes
1answer
43 views

How could I verify whole WP directory before/after working with a freelancer? [closed]

How could I take a "snapshot" of the current state of my WordPress site, then grant Admin access to a freelancer, and finally, check they only changed the files they are hired to fix? (no back door ...
0
votes
1answer
468 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
52 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 ...