Questions tagged [development-strategy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

WordPress Cron Job not importing products

I think this issue is related to WordPres Cron System , because the function runs fine without cron but it doesn't work as expected when run via cron , please have a look : https://wordpress.org/...
rawaha johns's user avatar
0 votes
0 answers
14 views

Are there any drawbacks to using comments as a child post type?

I am planning on making a website for users to post help requests for companies to bet on. So I will have a post type "help request" and thought of using comments for storing the price offer ...
Rihards Egle's user avatar
0 votes
1 answer
39 views

Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?

I'm in a somewhat odd development situation where I need to develop a WP site at http://dev.example.com/ and then make it live at https://example.com/. The summary is: Develop on http, publish on ...
Jeff's user avatar
  • 125
0 votes
0 answers
22 views

How to automatically load Google Fonts on pages only as they're used?

If we use 7 fonts throughout the site - is there some way we can load only the fonts necessary for a given page? We use Elementor and Astra - but it seems extremely difficult to setup more than just a ...
Slbox's user avatar
  • 109
0 votes
2 answers
22 views

Where do I build my updated website?

Where should I develop my new version of my WordPress site while my current version is live? In a subdomain of the live one? I want to work on the new site where team members can view the newest ...
QCI1's user avatar
  • 1
0 votes
1 answer
33 views

how to Update 15k products on plugin activation with meta_option

We need to update about 15.000 products with a meta_option after a plugin gets activated or after a plugin gets installed. However, our code does not execute on all products, though the plugin ...
Richard's user avatar
  • 149
3 votes
1 answer
157 views

Is there a way I can fetch the WordPress Developer Code References with an API?

I would like to fetch the WordPress functions, methods, classes, and hooks from here: https://developer.wordpress.org/ in JSON format. I know that it is a WordPress site, and that I can use WP API to ...
Aristocles's user avatar
0 votes
2 answers
125 views

Extend Wordpress Core Classes in OOP Theme?

What is the best way of using WordPress's core classes in the context of an object-oriented design? I am trying to use $wp_admin_bar to remove a couple of the default WordPress designs but I am not ...
User37849012643's user avatar
0 votes
1 answer
98 views

Select parent page and all its child page but exclude one specific child page

Hi everyone hope all is good. I need some suggestion. I need to select parent page and all its child page but exclude one specific child page. can you please tell me how can i exclude specific child ? ...
Ahsan Ramzan's user avatar
0 votes
2 answers
34 views

Including code from other themes in child themes

I'm about to build a new site based on a theme close to what I'm looking for. I understand the concepts around child theming & have read the caveats about overriding php or css files like the one ...
Rickmakeitquick's user avatar
0 votes
0 answers
25 views

wp-insert-post execute from server?

I wanted to ask for help. I am working on a project to develop a program to publish a post to many wordpress sites that aren't on a multisite network but are all on the same server. the requirements ...
Roy El Hajj's user avatar
1 vote
0 answers
28 views

Create brand-new re-designed site without affecting live site?

I've been teaching myself web development and was given the chance to completely re-design a company website. The site itself is managed on WordPress which I have no experience in. So I would like to ...
DanB's user avatar
  • 11
1 vote
1 answer
166 views

How best to keep my localhost on Http while my Remote production is on Https

I am using a plugin **Really Simple SSL** that configured to use SSL. And I use WP Migrate Pro to move my DB from local to remote. But I usually run into the problem of pulling the DB from productions ...
pensebien's user avatar
  • 141
1 vote
1 answer
32 views

Move first half of posts to one parent page, second half to the other page

there! Let's assume that we have 2 posts (Post A, Post B). They already exist and located like following example.com/post-a Now I want to create 2 separate parent pages like cat1 and cat2. How can ...
Marta Khee's user avatar
0 votes
0 answers
1k views

Creating one user access account for all the multiple sites

I am new to WordPress and ill just state the situation. We have multiple websites created independently and I need to create a single account for the subscribers for all the websites like google. I ...
Just Leave it Blank's user avatar
0 votes
2 answers
153 views

How to deal with internal links in blog while developing new site in WordPress?

I have a client for whom I'm developing a new WP site. Their current site uses DNN but due to security reasons (among others) they have chosen WordPress. As we are migrating and updating blog ...
underhook's user avatar
0 votes
1 answer
32 views

I have a lot of JavaScript erorrs after SSL someone can help me?

I have a lot of JavaScript errors after SSL. Can someone help me? (https://validator.w3.org/nu/?doc=https%3A%2F%2Ffashionbymichal.com%2Fhe%2F) Also in the console: https://prnt.sc/qmnnzh
Shlomi Ben baruch's user avatar
0 votes
0 answers
47 views

Bedrock WordPress retro-porting to standard WP installation: is this allowed?

I am dealing with something never seen before: a WordPress website where there is not standard directories, and wp-content was moved in /app, all files was moved elsewhere and all seems to work ...
Capolooper's user avatar
0 votes
1 answer
31 views

Creating duplicate Wordpress site for development reasons

How can I create a duplicate site in Wordpress running under a subdomain for development reasons, in plesk panel? Do I have to do anything for search engines to crawl of the second site? Thank you in ...
Aggz's user avatar
  • 9
2 votes
2 answers
101 views

Best practice differences in DB options and wp-config between live, staging and local WordPress environments?

I've been using staging sites for years. So I'm not asking about the necessary difference to setup a working staging site such as search replacing URLs, dev version control branches, changing table ...
James Jones's user avatar
0 votes
2 answers
181 views

I want to share local developement and staging DB — Is this very smart or very stupid?

Basically: I want my work to be meaningful and efficient. I am considering making my local development AND staging database the same thing. I would develop on my local machine but have the SQL data ...
Jussi's user avatar
  • 23
1 vote
1 answer
628 views

Get Current Menu Location inside Nav_Walker

How can I retrieve the current menu location (as registered with register_nav_menus) from inside a nav-walker class? eg: <?php class Special_Nav_Walker extends Walker_Nav_Menu { // How can ...
admcfajn's user avatar
  • 1,306
0 votes
0 answers
35 views

Gutenberg Development vs Release version?

I have a question about using Gutenberg Development version vs the release version. I am currently using the development version as it has some features still not available on release that are of ...
bldingbloks's user avatar
0 votes
1 answer
32 views

How can I start Plugin Development?

I have expertise in HYML, CSS, Basic JS and PHP so for plugin development what should I learn and where can I start plugin development? Thanks in advance
Sheraz Khan's user avatar
1 vote
2 answers
2k views

How can I capture Memberpress user info after signup [closed]

I'm currently working on a website where users can purchase subscriptions using memberpress, I want to capture the user data after the signup process is completed and the payment transaction is also ...
RBD's user avatar
  • 21
1 vote
1 answer
51 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 ...
Mitch Adams's user avatar
0 votes
1 answer
757 views

WordPress multisite - What's the ideal setup for development/staging/production environments?

Intro: I'm in the initial planning of a WordPress multisite development environment on which the agency I work for will build our client's websites. We are currently building a 'vanilla' theme and we ...
bikey77's user avatar
  • 111
0 votes
0 answers
32 views

How do I quickly move between 2 local installations and keep them in sync?

I'm a designer working on my first CMS website. I like to develop on my netbook at the coffee shop, but recently I've been starting to get into graphics heavy content stuff that would be easier to ...
Aslan French's user avatar
1 vote
0 answers
34 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 ...
PUncle's user avatar
  • 65
2 votes
1 answer
545 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 ...
Mr Pablo's user avatar
  • 123
1 vote
1 answer
2k views

Update WooCommerce product price periodically

I have been thinking about a WordPress/WooCommerce project which would sell material by weight based on an external feed of the price per Kilogram of said material; but I have a disconnect in my ...
PUncle's user avatar
  • 65
0 votes
2 answers
3k views

Is there a way to test my code quickly in WordPress environment?

When I write answers for questions on WPSE, or when I want to try a piece of short and simple code, I need a place to quickly test the results without actually doing permanent change to any file. ...
Johansson's user avatar
  • 15.1k
0 votes
1 answer
179 views

Same DB for live and dev versions

I'd like to run my test site using the live DB to test a few things before I transfer. I know I can make a copy of the DB, but then I have to keep updating it as the live site progresses. I followed ...
Lee Baz's user avatar
0 votes
2 answers
458 views

Cloning and syncing a WordPress website

I plan to bulid up a nice developer environment and for this I need to clone the actual running website to a 100% into a dev directory. I've now uploaded the same version of wordpress as on my ...
Sam's user avatar
  • 435
2 votes
2 answers
3k views

How to Work Seamlessly Between Development, Staging, and Production Sites in wordpress

am looking for a solution to stop coding like a cow boy on WordPress I want to put a versioning system (git or bitbucket) With a Development, Staging, and Production site. Something like this dev....
15eme Doctor's user avatar
4 votes
1 answer
4k views

Does Wordpress not use relative URLs?

The articles/posts I've read about migrating Wordpress between local/staging/live servers talk about having to migrating the URLs each time - is this true? Or can you simply switch Wordpress to use ...
CMSCSS's user avatar
  • 143
1 vote
1 answer
1k views

Wordpress Multisite - configuring a local development copy

I've just inherited a word press project that has been configured as a word press multi site. I typically just place the word press installation into a sub folder on my wamp server for development ...
Nebri's user avatar
  • 261
-1 votes
1 answer
87 views

Best Way to Inventory the Media Library of a 200+ Multisite Installation?

I have a multisite installation of WordPress with 200+ sites. I recently was tasked to do an inventory of each site's media library and was wondering if this could be accomplished programmatically ...
shapada's user avatar
  • 41
0 votes
1 answer
1k views

rename wordpress wp-includes folder in directory [duplicate]

how can we rename the wp-includes folder.We don't want folder name wp-includes displayed in source code
Waqas Ahmed's user avatar
1 vote
1 answer
90 views

Is It Always a Best Practice to Decouple the Frontend from the Admin Area When Developing a WordPress Application?

Is it always a best practice to decouple the admin area from the frontend portion in a WordPress application? Are there any instances when one might want to use the admin area/screen as the ...
shapada's user avatar
  • 41
2 votes
1 answer
181 views

Flexible Wordpress theme creation using themes

I'm working on a plan to build new Wordpress themes very rapidly. Though, I have some question about it's implementation. Here's the plan. Discover what the content is the client wants on their site,...
ninja08's user avatar
  • 147
0 votes
1 answer
75 views

How should I go about registering JavaScript that isn't a file? [duplicate]

For a plugin I'm creating it generates custom JavaScript that should be executed in the footer of the page. Being that it's custom JavaScript, I can't simply put it in a file and register & ...
Tom's user avatar
  • 143
0 votes
1 answer
50 views

Custom Post Types database persistance. Why not?

My background is .NET/C#/Laravel e.t.c I am beginning to like very much WP and i started educating myself on using WordPress as a development framework. I tried something very simple. Create an ...
e4rthdog's user avatar
  • 441
1 vote
0 answers
65 views

How to have yearly versions of same site with different content (like yearly conferences)?

Past year I build a site for a yearly conference event. http://reunionterapeutica.gtpbarcelona.com/ The 2015 event has done yet. Now the client wants to archive the 2015 event content in a folder or ...
nuriarai's user avatar
2 votes
1 answer
1k views

WordPress development using Docker - how to share directories? [closed]

I normally use vagrant (VVV or bedrock flavours) for local WordPress development. But I want to learn how to use Docker. I've installed it with Boot2Docker, ran Docker and learned how to pull images ...
unfulvio's user avatar
  • 1,794
1 vote
0 answers
129 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 ...
wikier's user avatar
  • 111
1 vote
4 answers
2k views

How can I update dev links for a live site?

Our scenario is a large MultiSite network, our team builds stage sites for clients by creating a new subsite on the network, so the URL for dev work and then for the client to preview is something ...
thatryan's user avatar
  • 423
4 votes
2 answers
187 views

How to edit an existing WordPress theme? [closed]

I've been hired to modify/update/change an existing WordPress theme. The site is already live, and I'm wondering how to work on the theme locally first.
user58823's user avatar
3 votes
1 answer
4k views

Why WordPress architecture is not pure object oriented and it don't use MVC pattern? [closed]

I am pretty new in WordPress and PHP development (I came from Java and C#) and I am a bit astonished about how WP is structured. Coming from Java and C# I'm used to work on totally object oriented ...
AndreaNobili's user avatar
0 votes
1 answer
138 views

Migrate php folder to Wordpress

I am redesigning a cms-less, flat file php website and developing it in WordPress. The existing website is not using a database. One directory in the php site has over 100 pages and the content needs ...
timmyg's user avatar
  • 115