The tag has no wiki summary.

learn more… | top users | synonyms

121
votes
22answers
27k 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 ...
19
votes
4answers
6k 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 ...
16
votes
5answers
1k 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, ...
8
votes
1answer
117 views

How can I make updates to a site, on a development copy, but then move updates back without overriding live site's evolving database?

I've tried to be as descriptive in the title as possible, and I know this question has been asked in before in various forms but I could not find good answer to it and it's are to imagine that no one ...
7
votes
5answers
3k views

WordPress SEO by Yoast: Hide Meta boxes in posts for non-admins

I have multi-author website and I am not very comfortable for allowing all members to enter SEO details in the posts they are publishing. I would like this would be visible only to Administrator of ...
7
votes
3answers
1k 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 ...
7
votes
2answers
450 views

How can I make a WordPress database portable and url independent?

Issue I am about to embark on some WordPress development in a multi person team environment. (3 or more people working on the same codebase at a time, each developing locally) With other CMSes we ...
6
votes
4answers
2k views

Is there a flowchart for wordpress loading sequence?

So like wp must load series of files from, index.php -> ... -> wp-header.php -> ... ->functions.php ...and so on upon execution. Also there must be a similar flowchart for functions ...
6
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
244 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 ...
6
votes
3answers
947 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 ...
5
votes
1answer
703 views

How to Handle Distributed Development Workflow

I'm trying to come up with a workflow for two (right now) people. One of whom will be doing theme work and another who will be writing content. We are not co-located are will not be anytime soon. The ...
5
votes
2answers
149 views

Template for individual post designs

I browsed through the suggested posts, and couldn't find anything that was exactly answering my question. I apologize in advance if I'm reposting something obvious here, but there you have it. I want ...
5
votes
1answer
64 views

WordPress objects class reference

In WordPress we have several objects defined through classes that are enough documented. These are the WP_Query, WPDB, WP_Post and other. There are other objects however that are actually created at ...
4
votes
4answers
312 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
1answer
561 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 ...
4
votes
3answers
642 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
158 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. ...
3
votes
2answers
261 views

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

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 ...
3
votes
1answer
193 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 ...
3
votes
6answers
203 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 ...
3
votes
1answer
2k 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
1answer
495 views

Best way to develop multisite and deploy on another server?

I have no previous experience in developing multisites so be easy on me. I´m familiar with developing and launching single sites though. I´m looking for the smoothest way to build a multisite for my ...
3
votes
3answers
504 views

Version Control: Entire site or just pieces?

I've been using git to track changes in the plugins and themes I've developed for different sites. Each plugin or theme has their own repository in whichever local install of WordPress I happen to be ...
3
votes
3answers
228 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 ...
3
votes
3answers
480 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 ...
3
votes
3answers
868 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 ...
3
votes
6answers
489 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 ...
2
votes
4answers
356 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 ...
2
votes
1answer
166 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
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
2
votes
3answers
115 views

Nuance in adding CPT and TAX to a submenu

I have a lot of CPT's and custom TAXs and decided to put them into a few submenus. That worked just fine. I'll explain how I did that in a moment but the problem is that when you choose a "new term" ...
2
votes
2answers
2k 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 ...
2
votes
1answer
593 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 ...
1
vote
4answers
304 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 ...
1
vote
2answers
906 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 ...
1
vote
1answer
67 views

How does WordPress determine which multisite the user is on from the URL?

What is the file and line where WordPress determines which multi-site the user is on from the URL? I've been looking through the code all afternoon and can't figure out where it turns ...
1
vote
1answer
472 views

Merging Wordpress posts from different databases

I have development and production versions of my website (on the same hosting). I want to easily synchronize the content between these versions. On the production website, content is updated daily. ...
1
vote
1answer
29 views

Enumerating over a category of links

I need to show a list of links, similar to what "Bookmarks" widget does. But Bookmarks widget is not suitable, because I need to display links (with removed "http://") instead of titles and also ...
1
vote
2answers
574 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 ...
1
vote
1answer
1k 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
1answer
556 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 ...
1
vote
2answers
228 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 ...
0
votes
1answer
47 views

How to correctly add JQuery in a WP theme?

I am pretty new in WordPress and I have the following doubt: I have to include JQuery into a theme and I am doing in this way: I create the following function into functions.php theme file and I add ...
0
votes
2answers
363 views

Force user to login in home page

I have a custom login form working properly on my home view. Nice. But what I want is when user try to view some page, be redirected to my home view instead of wp-login. Im trying to do this way: ...
0
votes
3answers
31 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
3answers
341 views

WordPress network: set themes and plugins for new blog

How can I enable specific themes and plugins for new blogs that have been created with wpmu_create_blog? I'd like to set the themes and plugins in code rather than having a person manually set them in ...
0
votes
2answers
267 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 ...
0
votes
1answer
26 views

How to replace settings in WordPress plugin from a theme

I created an array with some default settings in a plugin, and want to allow it to be replaced from functions.php in a theme without using stored data (eg. add_option). I want this to be just a hook ...
0
votes
1answer
22 views

Custom Content Type with No Page View

I am trying to define a custom content type, more exactly I want to create some controls in a content type for a slider that I will show on the home page custom template. What I would like to know ...