wordpress

Styling Select box with jQuery in WordPress

Just trying to style a select box on a WordPress project with jQuery using this plugin. http://plugins.jquery.com/project/stylish-select-box/ jQuery(document).ready(function(){ // select box styles jQuery('#genre-dropdown').sSelect(); }); When I call it on the select box it displays two copies of .newListSelected (the stylab...

Custom taxonomy as HTML class

I have a custom taxonomy that needs a different colour applied to each term inside. I figured I could grab the slug of the taxonomy and put it in a class. Unfortunately I've been defeated with every try. I've tried a few things with get terms to no avail. Sample of what I'd like <div class="<?php echo $myCustomClass; ?>">the custom tax...

Programatically installing & activating Wordpress plugins

Is it possible, somehow to programmatically install plugins? So I can send my client one file they unpack, go to some installplugins.php file and that installs + activates them? Only way I found for doing that is really rancid lowlevel; I'm hoping someone here knows better methods. ...

Hello Everyone. I am not a programmer but i just needed help with this wordpress plugin

Hello everyone.. I have a blog and i wanted to add to it 'About the Author' bio below each and every post. I was given this code and it does partially work but it has some flows (For example, there is not thumbnail/gravatar image with the bio as it was told me it is supposed to). Please check it out and tweak it if needed. Thanks a MILLI...

Where can i translate wordpress sentences/word ?

Hello, in my french version of wordpress, i have some untranslated string such as "Posted By" "Comments" "leave a reply" ... "name" Where can i translate such strings please ? Thanks ...

creating url shortner inside wordpress

hello, i am trying to make short url or even pretty URLs inside my wordpress. suppose, i have a the_content filter that finds all external links inside post content, it needs to return short or pretty urls relative to my site URL. external url: stackoverflow.com/questions/ask pretty url: myblog.com/xyxd making url is not ...

Special Layout of Items in Wordpress Loop

I'm working on a wordpress theme, and I have a rather unique structure that I need to output the results from the Loop into. The output can be simplified to the following: <div class="row"> <div class="entry-1"> /* details from first iteration of The Loop */ </div> <div class="entry-2"> /* details from second iteration of ...

Does sIFR generate code for an UL or LI somewhere? Can't get rid of bullets.

Hey guys, I'm using the wp-sIFR WordPress Plugin. Everything works great less trying to sIFR items in an or . No matter what I try to change (and I've been through all of the plugin files) - my CSS, etc., I just cannot seem to remove the bullets and or change the line spacing of my . So I want to first ask before I spend another 8 h...

Twitter API Call Failing Intermittently

I'm using PHP to display the most recent tweet from a user. This is in Wordpress. This works most of the time - but sometimes, I get this error: file_get_contents(http://api.twitter.com/1/statuses/user_timeline/[username].json) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in [...]...

Amazon Link Enhancer javascript error jQuery(link).amazonPopoverTrigger is not a function

I installed the Amazon Associates Link Enhancer on my website so that when users hover links on my site it pops up a preview from amazon... unfortunately this no longer seems to be working. I am now getting the error jQuery(link).amazonPopoverTrigger is not a function I thought it was because I replaced my comments with Disqus but w...

Wordpress function to send an email

I'm creating a wordpress plugin and I was wondering if wordpress has any function in its library to send emails? ...

How to share an instance across several php files a-la-Wordpress?

Greetings Everyone, I'm currently using Wordpress as my CMS and leveraging Facebook's Graph API for the user account/registration "stuff". My question is how do I use Facebook's PHP SDK (found here: http://github.com/facebook/php-sdk/), when Wordpress compiles several php files to output a single webpage? In other words, Wordpress' te...

How To Style Each WordPress Category Page Differently?

I am redesigning a blog, but they want me to style all category pages very differently. Layout and Colors. Further on they want me to design different post pages differently as well. For eg: they have a videos category, and on a video post they don't want the sidebar and want to center the video like theater mode. Is that level of custom...

How can I extend this function to check if the current custom post type is in descendent category

I use the following function to check whether the viewed post is in a descendant category of the given ID. How can i extend the function to also check if the current viewed "custom post type" is in a descendant category of the given ID? I use this function to set a menu item to "active". The function is: /** * Tests if any of a pos...

Convert this .htaccess cache to nginx rewrite rules

Hey, I'm looking for getting this .htaccess file converted to NginX rewrite rules. It's generated by the wordpress-plugin version of CSS-JS-Booster Any help would be greatly appreciated :) #CSS-JS-Booster Start################################################# #Turn ETagging off FileETag none #Turn ETagging on for MHTML-file <FilesMatc...

How can i create a link to specific gallery or album in nextgen wordpress ?

I need to create manual links for my albums and galleries in wordpress which i am using nextgen gallery plugin is there anyway to use nextgen codes inside my template ? ...

WordPress 3: WPML + Magic Fields integration

I'm suspecting that Magic Fields is not working together with WPML with the latest release of WP. In the WPML menu setting "Translation Synchronization" I get a message saying "WPML doesn't know how to translate this plugin." about MF. The problem comes to when I try and translate a post that uses custom fields - the new post decides to ...

Wordpress plugin for multi level navigation menu's

In drupal, we have http://drupal.org/project/nice_menus to create navigation menu's with multiple levels. Does such a plugin exist for wordpress 3? ...

Does WordPress expose a base URL in its JavaScript by default?

Usually when building sites I add something like this var config = { basePath: '<?php echo BASE_PATH; ?>' } Simply so with my static JavaScript files I can do AJAX requests like var request = config.basePath + 'ajax/get-something'; Does WordPress have a similar variable available to its JavaScript files by default, assuming I a...

List authors with paging and avatar sorted by nicename in wordpress

As the title says I am looking for a way to display authors in a way so I can use pagination for the results and split them over several pages. Much like a normal post query where I can use posts_per_page=5&paged=$paged ...