wordpress-plugin

How to create a custom post type in home page?

I have an custom home page in my site. I want to add 3 custom post ares to update images, text and links. How it can be done in wordpress 3.1? ...

Display wordpress comments before the plugins?

Hi, I want to display the wp comments right after the post, but before the plugins content. What I have tried so far: in single-products.php file, the original code is: <?php the_content(); ?> <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages','eStore').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> ...

Question regarding register_deactivation_hook in Wordpress

Following some examples, I have a function that gets triggered on the 'register_deactivation_hook'. This functions drops the DB created on activation. My question is: Is it good practice to DROP the table on de-activation? I might want to de-activate it to test something and it would be annoying to loose all my data in that table. ...

How can I avoid jQuery scripts being loaded multiple times?

On my site, I load jQuery UI script using the following code: wp_enqueue_script('nf-jquery-ui','http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js') In my plugin I use the following code: wp_enqueue_script('wp_filebrowser-jqueryui','http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js') The result is tha...

How can i create subdomain for wordpress ??

can i create subdomain /subsite for wordpress blog ...

WordPress Rating System

I am new to wordpress, and this is the first time i have built my own custom theme, and website using it. I need a plugin that would allow my customers to rate our services, input there names, and email address' and from there show the administration and possibly the customers as well what they think of us. It isn't so much of a polling...

Where do I edit output code to mark-up an image url?

Hello, I have a wordpress site with these two image gallery plugins: http://wordpress.org/extend/plugins/nextgen-gallery/ http://wordpress.org/extend/plugins/nextgen-smooth-gallery/ I want to add some extra markup(for a resizer php) to the image urls, but can't find where in the plugin code to do it. What should I be looking for? Yo...

Wordpress - Same images attached to multiple posts

Is this possible? I have my images which are attached to different posts. I translated my site in 2 languages and just want to attach the same image to three different posts (english and 2 other languages). ...

Upload or delete WP plugins without a FTP account?

Is there a way to upload or delete plugins in WordPress without having a ftp account or credentials? I would like to manage them through the WordPress interface. ...

Does stackoverflow's pretty print engine and editor exist as plugin to wordpress?

Hi, I really like the editor and the pretty print functionality in stackoverflow and wonder if there exist a plugin in to use the editor and pretty print functionality in wordpress? The simplicity and the look is at least as good as any other plugin I tried. ...

Deter direct access to files (mp3) but yet allow flash player to play songs (htaccess/php)

I know it's practically impossible to not allow a user to download an mp3 file with all the various methods out there. But I'm stuck in a situation where i need to make things slightly more private/secure for my customers. Here's my problem, I'm currently using this flash mp3 player http://www.flabell.com/flash/Flash-Mp3-Player-29 to st...

Add ellipsis to end of truncated string in WordPress plugin

I'm trying to add an ellipsis to the end of the truncated strings this php function produces. It's part of a Wordpress plugin. But alas, I'm just learning php.... I've tried printing the ellipsis right before the ending html tag near the end of the function, like this $truncate .= '... </' . $tag . '>'; but no luck. Any ideas? It must...

Advanced dynamic WordPress custom meta boxes

Hello all, I'm in the process of creating a plugin which creates several custom post types (CPT) (all of which work just fine). Some of these CPTs require a 'custom write panel' which basically means that it has a set of custom meta boxes rather than the bog-standard 'edit' box you get with your posts or pages. One of these CPTs requir...

Wordpress and FeedBurner Error

Hi, I used to use FeedSmith FeedBurner Plugin for my wordpress. Today, suddenly, my feeds are giving following errors under each Post Title. I recently upgrade to WP 3.0.1 but has been a week. Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Array' was given in /home/na...

jQuery GalleryView Wordpress Plugin is giving me "is not a function" error

I'm attempting to use NextGen Gallery plugin with the new jquery slideshow plugin GalleryView. These are supposed to work lovely together. NGG works on my site if I just go with the default Flash player but that's not going to work for me. So I installed the new GalleryView plugin and put the short code as needed but as you can see on t...

how can I setURL friendly urls in wordpress

Hello guys How can I set SEO friendl urls like http://bodyharmonynutrition.com/eating-a-heart-healthy-diet/ in my site ? Thanks a lot for your time ...

Wordpress widget how to only display sub-categories based on selected Parent Category?

Hi gurus, I was wondering if anybody know hows to modify the existing category widget to only display the categories within the selected parent category. Example: If my categories are structured like: Computers Laptops Desktops Software Electronics Cameras Audio/Video If a somebody is viewing posts in the Computers category I wo...

uservoice/getsatisfaction like plugin for wordpress

Hello, I am looking for a getsatisfaction / uservoice like plugin for wordpress. I am looking for something simple (I do not need too many features) but that will be free and hosted with my website. Do you know something like this? Thanks in advance for your help, Regards, ...

wordpress 3.x+ calendar

I am helping a company that handles events. They tend to publish all their posts forward dated. by default the wordpress calendar only display up to today How do I overwrite it so it shows all the posts, even the forward dated ones? ...

Hide Pages from certain "Contributor/Editor/Etc..."

Hi there, curious if there's a WP plugin that lets me control what Pages certain admin Users (not front-end) can edit. Thanks in advance, -g ...