Skip to main content

Questions tagged [wordpress]

open source content management system running on PHP and MySQL, and often used as a blog engine.

Filter by
Sorted by
Tagged with
0 votes
0 answers
1k views

Best way to check for truthy values in PHP?

In PHP, there are several ways to check whether a value is true, or similar: true === $v, only works for bool true == $v || !!$v, works with int and string, but a non empty array can also be ...
Gabriel Smoljar's user avatar
-1 votes
1 answer
643 views

Adapter pattern for formatting third party API responses

I've been refactoring some of my procedural code to OOP, and I'm wondering if using the adapter pattern is overkill in this case. Basically, I created a Order class. All class properties are a field ...
Matheus's user avatar
  • 11
0 votes
2 answers
374 views

How to measure the benefit of replacing big parts of the HTML DOM vs doing a new fresh request?

I am looking for a method to measure the time difference between: the time it takes to load and completely reach TTI for example.com/page-B given that example.com/page-A is loaded. the time it takes ...
Álvaro Franz's user avatar
0 votes
1 answer
36 views

Sould I .gitignore build output for a WordPress plugin?

Our builds are not binary by nature of WordPress PHP/JS, merely combined and minified. But they can be re-created by any developer easily and I feel like they shouldn't be version controlled but I ...
Firsh - justifiedgrid.com's user avatar
-4 votes
1 answer
45 views

How would I authenticating a Software Plugin with Username/Password using REST?

I'm developing my first Python plugin for a 3D application. What I'm looking to do I would like users who've purchased a subscription to the plugin from my Wordpress/WooCommerce web site to log in ...
Dr. Pontchartrain's user avatar
2 votes
0 answers
49 views

Wordpress and git, (using WPE), how do you incorporate database changes into the workflow?

We use WordPressEngine and want to have multiple developers and multiple branches using git. One challenge is how do we incorporate the database into the workflow? Should we take a sql dump and ...
Jason Lough's user avatar
-3 votes
1 answer
81 views

Why it is the good to use WordPress instead of creating one from scratch? [closed]

why every startup and every big company uses #wordpress ? what is the benefit of using it ? fast management , easy to use , customization instead of creating one with html , css , js and back-end (...
xx22111's user avatar
  • 11
3 votes
0 answers
84 views

What're the necessary considerations when developing Cron Jobs (Scheduled Tasks)

I'm working on a website that has a section that shows the company's stock details and investor-related data. This data is retrieved through scheduled SOAP API calls. I created two scheduled tasks ...
7asobate-'s user avatar
1 vote
1 answer
109 views

Using framework (WordPress) functions in layered architecture

I'm building an app with the usual layers like presentation, application, infrastructure. Right now, I have been using WordPress functions in both my controllers and repositories. I figured that ...
Hans's user avatar
  • 416
-1 votes
1 answer
46 views

Working On Remote Errors in a Variety of Environments Without FTP or SSH Access

BACKGROUND: I've been developing in PHP for two years - self taught, and beyond the most basic editing, really just a year and a half - but my experience is limited to a small number of environments. ...
Carl Elder's user avatar
7 votes
5 answers
1k views

php CMS from scratch vs open source

Problem: We have to develop a CMS for our sites. The sites are kind of different, but they have common parts. We need to use our external user system and permissions, the menus are different for each ...
rungurean's user avatar
0 votes
2 answers
216 views

When dealing with user-generated content, is it always better to just use a CMS like WordPress?

I am a web developer who is planning to build a web application which requires user-generated input, with that input presented somewhat like a blog in the sense that there is an article with pictures, ...
James A's user avatar
  • 157
1 vote
0 answers
92 views

Website that only loads content on modal windows (ajax)

I'm working with a client that only loves Wordpress, so I have to create a theme. The idea of my client is to have an interactive background (meaning there's no other content but the background, the ...
Jay's user avatar
  • 29
3 votes
0 answers
2k views

Realizing pagination for merged array from multiple data sources (APIs)

I'm improving a WordPress theme with PHP. The theme contains a gallery section which loads data from the Flickr API. Now the client wants to display Flickr galleries as well as "local" galleries ...
Julian F. Weinert's user avatar
1 vote
1 answer
285 views

Development workflow for a team: local to live (with GIT)

We're trying to put together a workflow for Wordpress development which turns out to be pretty complicated with lots of elements. Is there a way to streamline this or filling in the gaps? We ...
Rob's user avatar
  • 119
5 votes
4 answers
784 views

What Type of Report or Documentation to Expect from my Programmers

First, I am not a programmer nor do I have any programming experience. I am an entrepreneur that had a website idea and hired programmers to custom build it. It has been going on for the last one year ...
Mr Ley's user avatar
  • 59
-1 votes
2 answers
876 views

Yoda conditions: if you use more than one language? [closed]

Ive started coding for Wordpress and the coding standards recommend using Yoda conditions. if ( true == $the_force ) { $victorious = you_will( $be ); } But I also do some Android development, ...
ed-ta's user avatar
  • 117
0 votes
2 answers
1k views

Can someone else copyright my wordpress plugin if I don't own any copyright for it?

Assuming I have a plugin hosted on wordpress.org, can someone else just take my plugin and copyright it? Can they take the name of my plugin and copyright or trademark it (assuming I do not have it ...
software's user avatar
  • 101
0 votes
1 answer
437 views

Software piracy and GPL [duplicate]

Consider the case below: A Wordpress plugin must be GPL since Wordpress itself is GPL There are some plugin authors selling premium WordPress plugins, and assume the authors are okay with the GPL ...
user34401's user avatar
  • 781
0 votes
1 answer
81 views

Required clarification about GPL licence for creating extensions of GPL software

I asked a question and received quite good answers. I read all answers and other sources about my question. I concluded that if I write my code and distribute it to my clients for a free under my own ...
Sharan Hayer's user avatar
0 votes
2 answers
217 views

Parameters Stored as Sessions - Pros / Cons?

Some background on my system: I have 1 query with multiple pages. There are filtering parameters on the left of the page which $_POSTs on submission. The posted parameters will change the query at ...
Howdy_McGee's user avatar
0 votes
1 answer
234 views

Is a development environment required for small projects? [closed]

I won a bid on Elance and was had a request to fix some css and html issues with a WordPress site. How do I make changes to the document without working on the live site? Do you set up a development ...
user114236's user avatar
19 votes
6 answers
2k views

Old programmer disappeared. About to hire another programmer. How do I approach this? [closed]

After spending over one year working on a social network project for me using WordPress and BuddyPress, my programmer has disappeared, even though he got paid every single week, for the whole period. ...
pocto's user avatar
  • 317
0 votes
2 answers
547 views

LIcense Issues Of Publishing A WordPress Theme, Built With Roots Theme, At Themeforest

I want to develop a WordPress theme using Roots theme framework and then sell it on themeforest.net. Roots theme license allows me to sell the theme as per its founder's discussion with some guy on ...
user100904's user avatar
3 votes
1 answer
2k views

Building a WordPress-like filter system

This question is purely hypothetical. I use WordPress a lot and know the filter structure from an implementation point of view. I'm now wondering what's the best way to implement such a structure (not ...
user avatar
5 votes
8 answers
776 views

How can I give my client "full access" to their PHP application's MySQL database?

I am building a PHP application for a client and I'm seriously considering WordPress or a simple framework that will allow me to quickly build out features like forums, etc. However, the client is ...
Micah Bolen's user avatar
2 votes
2 answers
241 views

Storing and analyzing rock climbing difficulty

I'm working on a WordPress plugin to manage rock climbing data, and I need to think of a way to store rock climbing grades from all of the different systems in a unified way. There are many different ...
Eric Pauley's user avatar
5 votes
3 answers
612 views

CTO has left — codebase is a huge kludge, any advice on how to manage/handle/damage control? [closed]

I began work at a company 2 months ago as a PHP developer. I stepped in to somewhat of a kludge, but I've yet to find a company that isn't... The development stable is currently two developers (...
user801745's user avatar
3 votes
2 answers
1k views

How Can I Improve my Workflow?

So I design and develop websites myself, mostly in WordPress. Once I'm happy with the site on my local server, I upload it and its database to the web server and let the client make whatever changes ...
user avatar
1 vote
1 answer
259 views

When writing tests for a WordPress plugin, should i run them inside WordPress or in a normal browser?

I have started using BDD for a WordPress plugin i'm working on and i'm rewriting the js codebase to do tests. I've encountered a few problems but i'm going steady now, i was wondering if i had the ...
Nicola Peluchetti's user avatar
3 votes
2 answers
313 views

Is there a decent way to maintain development of wordpress sites using the same base?

We've been churning out wordpress sites for a while, and we'd like to keep a base repository that can be used when starting a new project, as well as updating existing sites with changes to the ...
Joakim Johansson's user avatar
1 vote
4 answers
153 views

Depend on built technology, or build your own [duplicate]

Possible Duplicate: How to decide between using an existing eCommerce solution and building your own? I am starting a ecomm business and my site idea is pretty similar in functionality to ETSY. I ...
liz's user avatar
  • 11
1 vote
1 answer
2k views

Framework for developing front-end with back-end as REST

Currently I'm developing the back-end of a PHP application using Recess Framework. I'm almost done and I now need to do the front-end. I have many alternatives and I prefer a CMS. The alternatives in ...
Noor's user avatar
  • 557
23 votes
9 answers
15k views

Should I build my own CMS or rely on a pre-built one? [closed]

Related: As a beginning programmer, should I favor building my own libraries over using 3rd-party libraries? As an intermediate to advanced level PHP web-developer and a young one at that (15yrs.), ...
Alex Bennett's user avatar
3 votes
4 answers
373 views

What is the best way for an experienced developer to work on a WordPress blog

I'm beginning to work on my first WordPress blog, however I've noticed most tutorials just have you do modifications (such as theme changes, installing plugins) on the production site. This worries me ...
David Miani's user avatar
3 votes
3 answers
759 views

Why do Wordpress & Drupal serialize the DB data?

I've recently went through manually editing some tables on a Wordpress website. I've also had some experience with database internationalization so I know that serializing is not the best (IMO) ...
Asaf's user avatar
  • 375
24 votes
3 answers
5k views

When (and when not) to use Wordpress? [closed]

For the sake of simplicity, my question is focused specifically on Wordpress instead of focusing on all Content Management Systems including Joomla, Drupal, Concrete5, or you-name-it. Wordpress is ...
HK1's user avatar
  • 807