Questions tagged [development-strategy]
The development-strategy tag has no usage guidance.
65
questions
0
votes
0
answers
11
views
How to code a wordpress page properly? Dashboard or unique Theme files or alternative?
At the moment I want to do individual pages which will display results fetched from an api (each page has an individual api key) from an external site.
Later I want to add a plugin where you can enter ...
0
votes
2
answers
57
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 ...
0
votes
1
answer
24
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 ?
...
0
votes
2
answers
32
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 ...
0
votes
0
answers
16
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 ...
1
vote
0
answers
26
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 ...
0
votes
1
answer
67
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 ...
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 ...
0
votes
0
answers
797
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 ...
0
votes
2
answers
106
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 ...
0
votes
1
answer
30
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
0
votes
0
answers
38
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 ...
0
votes
1
answer
23
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 ...
2
votes
2
answers
84
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 ...
0
votes
2
answers
98
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 ...
1
vote
1
answer
349
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 ...
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 ...
0
votes
1
answer
30
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
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 ...
1
vote
1
answer
44
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
1
answer
649
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 ...
0
votes
0
answers
31
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 ...
1
vote
0
answers
33
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
1
answer
470
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
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 ...
0
votes
2
answers
2k
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.
...
0
votes
1
answer
161
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 ...
0
votes
2
answers
361
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 ...
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....
4
votes
1
answer
3k
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 ...
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 ...
-1
votes
1
answer
76
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 ...
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
1
vote
1
answer
85
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 ...
2
votes
1
answer
175
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,...
0
votes
1
answer
74
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 & ...
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 ...
1
vote
0
answers
55
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 ...
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 ...
1
vote
0
answers
127
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
4
answers
1k
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 ...
4
votes
2
answers
184
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.
1
vote
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 ...
0
votes
1
answer
131
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 ...
0
votes
3
answers
49
views
How to do big modifications to live site?
How do you make large site wide modifications to your live site without bringing it down?
I don't have a team of web designers and will be doing this solo. But still need to keep the site up and ...
0
votes
1
answer
1k
views
Localhost wordpress access remote db wordpress website
I install wordpress on localhost.
2
votes
1
answer
4k
views
How to retrieve an image from a post and display it before excerpt of a post? [duplicate]
I'm customizing a WordPress template and I would implement the following behavior in the excerpt posts visualization in my homepage:
If a post contains images (one or more), in the homepage post ...
0
votes
1
answer
645
views
SymmetricDS in dev + prod workflow?
Has anyone leveraged SymmetricDS in their development and production efforts so as to keep the environments synchronized?
We have a number of WordPress sites that need to be kept in synch. In our ...
0
votes
2
answers
59
views
Getting posts by taxonomy
I want to get a set of posts from a CPT based on a taxonomy term being present. I thought I'd use WP's get_posts() function:
$results = get_posts(array $options);
This function works fine when I ...
104
votes
5
answers
68k
views
Best way to initiate a class in a WP plugin?
I've created a plugin, and of course being me, I wanted to go with a nice OO approach. Now what I've been doing is to create this class and then just below create an instance of this class:
class ...