The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
922 views

How to transfer changes from test environment to live site?

As with most other software it's safer to try new plugins, configuration options or template changes in a separate testing environment, see e.g. WordPress local development environment. Most ...
0
votes
1answer
625 views

Setting a post's category

I'm creating new categories with galleries taxonomy : $wpdb->insert("wpem_terms", array( 'name'=>'Custom Category', 'slug'=>'customcategory', 'term_group'=>0, )); //id of ...
0
votes
1answer
107 views

Gathering all Custom Post Type posts in to array/object the proper way

It's Friday, it's late, I've probably done this before in the work I've done before, but I'm drawing a blank. What is the best way to stay within the Wordpress framework and collect a list of your ...
0
votes
3answers
238 views

Different development environments (Mac & Windows)

I am trying to synchronize development between a Windows user (WAMP) and a Mac user (Regular Apache). Windows User (me) Since I use IIS I need my port 80 so I have changed the ports on WAMP to :666. ...
3
votes
6answers
631 views

Most Flawless Way To Transfer from Dev to Prod [duplicate]

Possible Duplicate: Easily Move a WordPress Install from Development to Production? So I've been working with WordPress for a while now and I usually develop locally and then upload ...
7
votes
3answers
2k views

WordPress local development environment

Everything on WordPress is primed for a production server, and hardly mentions info on development stuff. I want to setup a WordPress blog locally so that its good and ready before it goes live. Are ...
6
votes
2answers
256 views

Creating Unique Post URLs for A/B Testing… Is this even possible?

I want to create a WordPress plugin that allows me to do A/B testing for WordPress standard posts, but I can't use the Shrimptest plugin because I need a spin: Since I'm ultimately testing ...
3
votes
3answers
511 views

How do you add pages on a staging server, and then move them over to production

Here is just one of a couple of scenarios where this could come up. Let's say you add a plugin on your development server, which requires a wordpress page to do its magic. There are a couple of ...
20
votes
5answers
2k views

Should all plugins be encapsulated in a Class?

When developing a plugin should the functions be grouped together into a Class to avoid namespace conflicts? Does using classes create performance overheads for PHP? If there is a performance hit, ...
3
votes
1answer
211 views

Force core to use .dev JavaScript files

I was wondering if there's some constant telling WordPress not to use the minified versions of scripts but instead load .dev ones. Already tried define('SCRIPT_DEBUG', true); but it only turned off ...
1
vote
2answers
256 views

Multiple Instances sharing the same database in a development environment

I'm working with a team of developers on a new site and we've experienced an issue. All of have a local install (under SVN) of WP 3.1.3 running on our machines, but we're all connected to the same ...
3
votes
1answer
1k views

Getting a stack trace when an error occurs?

I was told to "get a stack trace" when an error occurs in my WordPress installation. How do I do this? This is meant to be an easy place to refer others to. Please list plugins, configuration ...
1
vote
1answer
2k views

One WordPress install serving multiple virtual hosts

I have a number of WordPress-enabled sites setup as virtual hosts under XAMPP on a Windows 7 development server. An example virtual host is as follows: <VirtualHost *:80> ServerName ...
1
vote
2answers
1k views

Setting up WordPress playground and deploying to production server?

I would like to have WordPress on my local OS X machine to test out different themes, content, etc and then deploy it on to the production Linux server. I'm using WordPress for my website and ...
0
votes
2answers
388 views

Can a plugin deactivate and delete itself once installed and activated?

I have a unique plugin whose purpose is to set up a new WordPress site with a theme, default widgets, default plugins, custom menus, pages, posts, etc. The plugin does everything it needs to do when ...
3
votes
3answers
263 views

Which freelance sites are recommended to find WordPress developers/programmers, etc

I've been using drupal for a few years and it's overkill. I want to pay someone to migrate my content (blog posts and pages) over to wordpress without spending more than is necessary. Is there a ...
2
votes
1answer
168 views

On Install, which code sets the 'home' option?

I'm just doing some wordpress development and wondered for a brand new install, which code within core is generating the first value that get's filled into the home option? I'm looking for the code ...
2
votes
1answer
638 views

How might I setup a development server (local) and a test/production server (remote)

I am thinking, how might I setup a development server locally then when done, upload and sync files + data to test/production server? I think options like siteurl and home in wp_options database table ...
2
votes
3answers
4k views

Maintaining synced staging/production WP sites

This is a more general question about WP website best practices. An issue I encounter with many of my clients is maintaining two identical WP installs (staging and production). They insist on seeing ...
3
votes
3answers
1k views

Using development versions of jQuery, TinyMCE, …?

Is there a plugin or another easy way to get debug versions of the external Javascript libraries? ("External" because they were not written by the WordPress team, not because they come from Google or ...
1
vote
4answers
394 views

Find and replace domain name on the fly?

Please read this carefully as it is not what you might be expecting. I'm building my site in a development sub domain. I don't want to have to go through the complications of running find and ...
3
votes
6answers
208 views

Win7 Dev Environment

I have Win7 32-bit Professional and I want to start learning to program and skin WordPress. My hosts will likely be LAMP, so I was going to run Win versions of those tools locally. Should I just get a ...
1
vote
1answer
714 views

How to import WP XML file automatically on installation?

I'd like the user to install WP and have the default content loaded automatically but i don't want to have to write in in PHP in the wp_install_defaults(); I'd much rather export an xml file each time ...
2
votes
1answer
1k views

Adding custom Javascript to the head tag in Admin

I am writing a plugin for the back end but I need to add javascript that is created in a for loop to the head of the page. How do i do this? Steve
5
votes
1answer
747 views

Highlight custom widgets in the admin area?

I have created some custom widgets for my client to use, but I want to make them stand out amidst the fifteen or so standard widgets in the admin area. How can I do this? I have solved this problem ...
7
votes
3answers
2k views

Limit widget to certain sidebar?

I have multiple "sidebars", but not all of them are the same size. Not all widgets fit in all sidebars (for example, I have a "footer sidebar" where the client can place custom widgets, but they are ...
4
votes
1answer
4k views

How do you get formatted content of a post using the WordPress API?

I tried using <?php $my_id = 7; $post_id_7 = get_post($my_id); echo $post_id_7->post_content; ?> based on the documentation here. The article I'm trying to retrieve has Short Code, ...
3
votes
2answers
283 views

How can you develop on a live WordPress installation that is using W3 Total Cache? [closed]

Or to make it easier: you just want to disable the caching in order to see your changes in realtime. Any solution that would allow you to disable caching based on IP, logged user or cookie will be ...
23
votes
4answers
9k views

Database synchronization between dev/staging and production

I have a problem with WP database synchronization between development and production and I am wondering how other people solving it. I am aware about this question but it doesn't really cover the ...
4
votes
4answers
344 views

How to best setup for development for a two person bi-coastal team?

I'm working with another team member and they are reside in a different US State. We are working to convert an existing static e-commerce site to a Wordpress site. I want to have a DEV install of ...
4
votes
3answers
785 views

What are the ways to use WordPress as a user generated content site

What are the methods to create a user-generated-content website? I know each has his own favorite way to do that, please elaborate on your own method, how to implement it and the pros/cons. (This is ...
4
votes
1answer
171 views

Splitting an Evolving Site into Multiple Sites, or Maintaining as One Site?

To Separate or Not to Separate...That is the Question? I currently have what I believe is a mistake in my site architecture. I initially built my two lines of business into the same site. ...
6
votes
3answers
979 views

Wordpress 3 MU for a development/stage/production site

Just wondering if people have any thoughts around the best way to setup Wordpress 3 to use for development, staging and production. I currently have an install that I just use for dev, before moving ...
2
votes
4answers
396 views

GPL and plugins

The Plugin developer center says "Your plugin must be GPLv2 Compatible.". But I found that the Topsy plugin is under GPLv3. http://www.gnu.org/licenses/rms-why-gplv3.html states that GPLv2 and GPLv3 ...
135
votes
23answers
43k views

How to: Easily Move a WordPress Install from Development to Production?

I do development on one box and use a second for production. Right now I just dump the database and then do a find a replace for the URL changes; then copy over the files and import the new SQL. Are ...