wordpress-plugin

Ad targeting for individual posts in Wordpress

Hello! I've been asked to come up with a plan (and implement) a way to customize ad campaigns on an individual post basis. Some background info: Our site in question runs off of Wordpress MU 2.7, and in our theme files we include calls to our ad server to display ads etc. This is managed with our own custom ad plugin, so we can easily ...

Adding an extra database table to wordpress login procedure (custom plugin)

I am creating a plugin for wordpress that requires temporary users to be stored in a separate table to the main users (denying them certain functions such as password recovery et al). I have added some of the login functions to my plugin (get_userdata and get_user_by) as these are the functions that check the database. When I add in the ...

PHP and WordPress: Debugging

I am writing some plugins and themes for WordPress, and I finding it to debug because somehow by the time the page has loaded, $_GET, $_POST and $_REQUEST are all empty. Even with error reporting set on, I am not getting error messages either other than a blank page whenever there is a fatal error. Is there anyway to enable a 'debug mode...

Wordpress post by e-mail categorization tagging plugin?

Is there a plugin for wordpress that will parse a post-by-email post and assign it categories/tags automagically? ...

Wordpress Page order

Hey for some reason I can't get the page order to update in wordpress any ideas? http://s72956.gridserver.com/dev/ that is the page but it should look like this http://i32.tinypic.com/5aa82.png ...

Wordpress - hardcoding subscribe2 (or any other plugin) widget into template

I know how to hardcode categories, archives, etc into theme but for one of my projects i would have to hardcode some plugins widgets (especially subscribe2) and i'm not sure how to do this. I know i can add widgets via widgets menu in wp admin, but that's not what i'm trying to achieve, i'm trying to set it up permamently in theme for la...

Wordpress - automatically creating page

How to automatically create wordpress page (for example when plugin is activated)? ...

Some of sIFR Titles not showing when Flash is not installed

I'm using the wp-sIFR plugin for Wordpress and it's working beautifully except that I am having a little trouble. On this site: http://www.naturallycarolicious.com In IE and Safari on my iPhone, nothing is showing up for sidebar titles when the Flash titles are not displayed. When I deactivate the font in the wp-sifr settings, the side...

Retrieving the tags for a post from a Wordpress plugin

I'm new to Wordpress plugins, and editing someone else's to add functionality. I need to retrieve the tags for a particular post. The get post function is already in use inside the plugin and returns category information. Unfortunately nothing is returned for tags. The get the tags function appears to be most appropriate but it only ru...

Wordpress limits - system design consideration.

I am designing a system for a customer. We are thinking about using Wordpress as a main platform (instead of writing our custom software), and customize it using addons or hiring developers to write some custom modules. We need to have an ability to have some static pages, few php pages, and lot of user generated content. What limits do...

[WordPress] Need help with remove_action()

I'm trying to remove the unsightly embedded <STYLE> tag the built-in Recent Comments widget puts in my <HEAD>, but I can't seem to get the syntax right. It originally calls add_action( 'wp_head', array(&$this, 'recent_comments_style') ); to add it (in wp-includes/default-widgets.php, line 609), and I'm trying to undo it. I think it ...

Stack Overflow on IIS 6.0

Hi, I am using WAMP as localhost on my pc, and upload all data to the hosting (using IIS 6.0). I am using lightbox gallery in one post, and in the sidebar, to show recent photos from that gallery (on the sidebar). my code on the sidebar as follows: echo do_shortcode('[gallery id="66" size="large" columns="4" num="12" pagenavi="0"]'); ...

Drop Down Nav Menu (using Parent and Children Pages) in Wordpress?

I have four Parent Pages and six Children Pages tied to each Parent Page in Wordpress CMS. Is there a plugin or php and Wordpress code that will allow me to create a drop down menu so that the Children pages are the links in the drop down menu? Any help would be greatly appreciated ...

Format dates in a WordPress plugin

I'm modifying the Recent-Changes WordPress plugin to display dates. I can echo the date but can't format it; e.g., mm/dd/yyyy. I'd like the post_modified date to be in mm/dd/yyyy. I've tried-- echo '<li>'.$RecentChange->post_modified('m/d/Y'). -- but that caused the plugin to stop displaying posts, and generally broke the site. Bel...

Wordpress MU admin plugin, how to apply to new blogs?

I am trying to create a Wordpress MU admin plugin, that will insert some JavaScript code into every admin page that my users see. I created my own plugin, and activated using the "Activate Plugin Site wide" link. I have been testing with the following code, which works on existing blogs. add_action("admin_footer", 'testAdminFooterHook...

WordPress notifier - replicate built-in function whereby if update is available, an icon appears in the menu

Hello! First time here, so please be gentle. Does anyone know how to replicate the built-in functionality of WordPress whereby the admin is informed of when updates for plugins are available - i.e. when one (more more) is available, an icon appears over the plugins menu which contains the number of available updates. The plugin that I ...

Wordpress: How to include a custom field in an array (SmplePie)

Hi! Wordpress 2.8.4, Simple Pie Plugin 2.2.1 I'm having this: <?php echo SimplePieWP(array( 'http://gdata.youtube.com/feeds/base/videos?q=fifa10%20trailer&amp;client=ytapi-youtube-search&amp;alt=rss&amp;v=2' ),array('items' => '1')); ?> Instead of "fifa10" I'd like to have the value of a custom field with the key "name-of-game" in t...

Using an ajax reload with a Wordpress plugin

I am making a Wordpress plugin that provides updates in the widget section of the page - everything works fine. The one thing that doesn't is the ajax callback (using load with jquery). It appears that Wordpress is blocking direct access to the php file that I am trying to load (it is in /wp-content/plugins/myplugin). How should I be ...

how to activate wordpress plugins internally ?

Hello, I am creating a small utility which will help to rebuild install.php of wordpress. What I want to achieve is, when user will install wordpress with this customized install.php, he'll get some plugins already activated. I tried to put these lines at the end of install.php file require_once('path...\wordpress\wp-includes\plugin....

Wordpress: How to get a thumbnail post plugin to work...

I need a second opinion on something. I am trying to use the WP Post plugin as described in the following link: http://www.seoadsensethemes.com/wordpress-wp-post-thumbnail-plugin/ You will see a section toward the bottom stating that you can call the feature using the following code: $Wppt->get_post_thumbnail( $post->ID, 'post-thumbn...