-2
votes
1answer
14 views

Wrapping code in an if block

Breadcrumb trail shows on all pages, except I need to remove it from the homepage. Here's my code so fare. <?php if( !is_front_page ):?> <div class="breadcrumbs" style="position:absolute; ...
-1
votes
1answer
25 views

What can I do to customize a widget provided with this plugin? from where have I to start?

I am using this WordPress plugin to create an immage gallery: http://wordpress.org/plugins/easy-media-gallery/ This plugin provide a single widget inside it and I would customize some litle function ...
0
votes
0answers
64 views

How to redirect users to their profile after they successfully edit their profile

I am using the buddypress plugin for wordpress and would like to make a little change... I was wondering, if there was a way I could redirect users to their profile page after they save the edits to ...
-2
votes
1answer
394 views

Difference between add_filter and apply_filters

I have searched for a suitable explanation of the difference between add_filter() and apply_filters() in here but couldn't find one. Can anyone tell me what information or logic to consider before ...
0
votes
1answer
84 views

How to handle a Wordpress blog with articles in different languages?

Most multilanguage plugins have the approach to provide each post in different languages. In that case, qTranslate or WPML are good plugins. But in my case, articles have one language and instead of ...
0
votes
1answer
56 views

Need Help Creating a Multi-Step, Video-Guided Enrollment Site

I have a distinct idea, and the beginnings of some ideas of how to implement it, but I find myself already spiraling off into research tangents and side-paths that can't possibly be healthy, so I ...
0
votes
0answers
59 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
77 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
2answers
31 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 ...
-1
votes
3answers
266 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?
0
votes
3answers
398 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
1answer
102 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 ...
6
votes
2answers
248 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 ...
18
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, ...
1
vote
2answers
238 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
2answers
291 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
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
4answers
368 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 ...