The development tag has no wiki summary.
0
votes
1answer
16 views
Best place to call xdebug helper functions?
Right now I place the following code wherever I expect something to go wrong.
/** xdebug helper */
error_reporting(E_ERROR);
ini_set("display_errors", 1);
ini_set("html_errors", 1);
...
0
votes
0answers
32 views
Plugin frontend with themes
I'm developing a calendar plugin and i need to show my content like a page, how i integrate my plugin file with themes?
I created a index.php file in my plugin directory and load the get_header() ...
0
votes
1answer
22 views
What's the most minimal way in which a page can be hooked into WP?
I do a fair bit with custom API's on WordPress-based sites, typically by creating page templates.
However, creating a custom page template, then creating a WP Page that utilizes it is kind of a pain ...
0
votes
0answers
25 views
With a plugin, or without a plugin, that is the question [closed]
I've been reading a lot of posts on wordpress.stackexchange.com lately. Heres a very common interaction between original poster(OP) and responder(R).
OP: Hey, I want to be able to do X on my site. Im ...
0
votes
0answers
21 views
Question About Developing a website [closed]
i don't have any experience in creating websites and i want to build an online translation agency Website.
one of my problems is that i want to create a user system (is it right?) which in there ...
0
votes
1answer
64 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
1answer
55 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
1answer
34 views
Plugin code will not work properly inside a class [closed]
I've written a simple bit of code (cobbled together from various tutorials around the web) that creates a simple meta-box (called 'Subheading') and removes the custom fields from the admin area.
It ...
0
votes
1answer
44 views
Navigation link to specific user page
I asked this question and got a great reply - Associate Page with User - so I can now associate a post with a specific user as required.
What I want to do is include in the main site navigation a ...
0
votes
0answers
127 views
Good examples/resources for using a drop down for filtering jquery isotope? [closed]
I'm working on a plugin that uses jquery isotope and I've also built a widget that will handle the filtering using terms and taxonomies. What I would like is to have a drop down of terms of a taxonomy ...
0
votes
2answers
76 views
Associate Page with User
We currently have a setup where anyone can register as a user and their own 'page' gets created manually by admin. We need a menu option to be something like 'View Your Page' and direct a user to ...
0
votes
1answer
94 views
Multisite development environment
I have a domain-based multisite with domain mapping. Until now I've been developing locally with
my hosts file setup to handle all sites through localhost
a flag in my wp-config.php, indicating ...
0
votes
0answers
50 views
Main menu changed when go to any inner page except home page [closed]
I am using wordpress for my hosting website. Which is currently in testing mode.
Everything is working fine for me except one thing .
When i go to any inner page except main page then main menu ...
0
votes
0answers
11 views
How to develop on wordpress with multiple environments? [duplicate]
Possible Duplicate:
Developing, Testing and Releasing
I have a team of developers, each has it's own machine.
I have a QA environment, I have a training environment and of ...
0
votes
2answers
107 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:
...
1
vote
1answer
39 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
123 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.
...
2
votes
3answers
82 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" ...
0
votes
2answers
27 views
Can't create new CPTs when menu hidden
I am adding a large number of custom post types and taxonomies so it is often visually clearer if I DO NOT have them all added to the admin menu's top level. Instead I would prefer to add them under ...
5
votes
3answers
580 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 ...
5
votes
4answers
948 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 ...
-1
votes
3answers
117 views
do_shortcodes() isn't working
I'm making a homepage template for my theme and I want to call a plugin, namely royalslider.
Surely
do_shortcode('[gallery id= "1"]');
Should do the trick?
6
votes
2answers
303 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 ...
3
votes
1answer
441 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 ...
3
votes
1answer
309 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 ...
4
votes
2answers
131 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 ...
0
votes
3answers
171 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 ...
2
votes
3answers
329 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 ...
1
vote
1answer
27 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 ...
0
votes
2answers
349 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
200 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
2answers
97 views
What type of developers to hire for outsourced development? [closed]
I'm trying to build a minimum viable product SaaS website as a proof of concept, and wanted to know what type of developers I should be looking for if using an outsourcing website like odesk / vworker ...
0
votes
1answer
73 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
186 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.
...
2
votes
6answers
360 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 ...
4
votes
3answers
1k 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
208 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 ...
2
votes
3answers
419 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 ...
15
votes
5answers
880 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
161 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
180 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
434 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
682 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
727 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
222 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 ...
2
votes
3answers
204 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
156 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 ...
1
vote
1answer
541 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 ...
0
votes
2answers
1k 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
684 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 ...
