Stack Exchange Network

Stack Exchange network consists of 174 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
12 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
1answer
9 views

How to remove “Contact Form by WPForms” dashboard widget

How to remove dashboard widget which adds WPform lite plugin (free version)? Current title of the plugin is "Contact Form by WPForms – Drag & Drop Form Builder for WordPress". There is no ...
0
votes
0answers
20 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 ...
1
vote
1answer
14 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
0answers
7 views

Groups plugin: Add date field [closed]

I am building a website for a school and I am using Groups plugin. Each group is a lesson, so I can add a student to multiple lessons-groups (the lessons that the user has passed). The question is how ...
-1
votes
1answer
18 views

how can i display data from another plugin in a new plugin? [closed]

I have the following problem. I have a plugin: Event Calendar installed in WordPress. When I add an event, the data in WordPress is stored in the database (table: wp_posts). My task is to create a new ...
0
votes
0answers
17 views

Plugin custom form displays without admin interface

I am trying to develop a plugin that runs in the admin space. It is very simple. I'm using WP_List_Table to display a list of the items in the db. That works perfect. I have an "Add" button on the ...
0
votes
0answers
13 views

Hide posts from all posts lists [duplicate]

I just start a new blog, and I want to import all my old posts. But I want to list them in a separate page (named 'Archive') and not show them in the main page, 'Recent posts', most commented and so. ...
0
votes
0answers
14 views

Target h1 on single post page - TwentySeventeen theme

I've tried the solution that worked on a post with a similar name to this - but it does not work for the h1 tag on the WordPress TwentySeventeen theme. What worked for the OP was: .postid-127 h1 ...
0
votes
2answers
41 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
38 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
21 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
35 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
12 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
416 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
26 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
10 views

Loading home page from menu bar toggles margin

I have a weird issue with the site I am making. Initially, the site loads without any issue. But after the home page loads, if I click on the HOME from the top menu bar, the video element in the top ...
0
votes
0answers
46 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
58 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 ...
5
votes
1answer
174 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
12 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
96 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
0answers
15 views

Wordpress only show popup on certain incoming link

DISCLAIMER: I'm asking this question more as a developer rather than a Wordpress developer. I have a very brief question and no code to it. I was wondering if it's possible to only show a pop-up ...
0
votes
0answers
12 views

LinkedIn Registration

I am trying to create an option for users to register with linkedin. I've gotten that much to work through a plugin, but it automatically is allowing users to login. I'd really like to have the option ...
0
votes
1answer
220 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 | ----...
3
votes
1answer
77 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 ...
0
votes
0answers
29 views

Automatically building pages subpages from categories

So, I want to build pages off a category page. Lets say I /Mobile, I want wordpress to create subcats off that for /brand, /style, /memory etc. Now with this I had a few ideas.. first being ...
1
vote
1answer
181 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
25 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
63 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
59 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
17 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
575 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
125 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
50 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
334 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
41 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
42 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
356 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
0answers
29 views

How to work on staging website without losing DB changes?

This is my issue: My company's website uses Wordpress. It is a website that includes user registration, WooCommerce, etc. I want to use a staging environment to be able to develop the website, but I ...
0
votes
1answer
46 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
4k views

woocommerce_before_calculate_totals in woocommerce 3.0

I recently made the jump from woocommerce 2.7 to 3.1 I'm having issues with the woocommerce_before_calculate_totals hook on the below function. function calculate_embossing_fee( $cart_object ) { ...
0
votes
2answers
70 views

How to create plugin in wordpress [closed]

How to create plugin in wordpress
0
votes
1answer
939 views

Order properties should not be accessed directly

This code: foreach ($order->meta_data as $row) { if ($row->key == 'tid') { $tid = $row->value; break; } } within the function function ...
2
votes
2answers
386 views

How to add usermeta to “Notice of Email Change” email message

Hoping someone can help. I am trying to change the "Notice of Email Change" text within the email you receive when updating an email address. Here is what I have so far add_filter( '...
0
votes
1answer
19 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 ...
1
vote
2answers
77 views

Debugging Technique Question re: functions.php

I needed to develop a technique to delete some data from the database. The technique will be part of a plugin at some point. For immediate results, I was editing functions.php on my local dev site, ...