wordpress

Wordpress database access in mobile applications

Hi I am new to wordpress and I want to create an interface for being able to access my database hosted on wordpress in my mobile applications - particularly iPhone and Android. As these do not directly access SQL databases and would need routines on the server-side for being able to do so, what would be the best way for me to go about ...

debugging "register_activation_hook" in WordPress [closed]

Originally posted on the WordPress forums but no-one answered... so I'll try my luck here... Hi all, I'm trying to learn to write a WordPress plugin by setting myself a goal of witting a user generated glossary plugin after I asked people on Twitter what would be useful (well I may as well use my learning experience to be useful for mo...

How to make Multilevel Drop down navigation in wordpress theme ?

I need same menu like on this site http://www.salesforce.com/aloha.jsp in wordpress theme. Multilevel dropdown mouse hover. is anybody know and trick, techniques or wp-plugin todo samelike this. ...

Store form data in MySQL with jQuery.ajax

Edit: I found the soluton for getting the correct URL. Se the solution in this thread. Hi, I'm having problems prosessing a form so that I can save it's data in my MySQL database. I'm using Wordpress as CMS. I've used this example: http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form I'm pretty sure that the source of my p...

<br /> tags appearing in textarea output

I have an input form with two textareas allowing a user to type in words separated by commas in each. <form action="http://www.example.com/output.php" method="post"> <table border="0"> <tr> <td> <h3 class="title">Prefix</h3> <textarea cols="34" rows="8" name="cat[]"></textarea></td> <td> <h3 class="title">Suffix</h3> <textarea cols="34"...

Why is my jQuery script not triggering in Wordpress?

I have tested the below script on a demo page which is not using any CMS. The script is located in the index.php file and works just fine. <form method="get" action=""> <input id="label_search" type="text" value="" maxlength="40" name="inputText"/> </form> <script type="text/javascript"> var options = { script:"includes/autos...

How can I include silverlight content in wordpress?

I tried to include silverlight content in my blog post. But wordpress is striping out many tags. Even I tried using 'text only editor' of wordpress, but of no avail. ...

How to display a list of wordpress authors in a dropdown, with a link to the author template?

I'm looking for a way to display the authors of a wordpress blog as a dropdown menu, with an on change event that redirects the user to the author page, which lists all the previous posts written by that user. Is there a way to do that? ...

Replace author url with different one (wordpress)

There are 3 authors in our company blog, each author has own site url in profile settings: Mike - http://mike.com Gelens - http://gelens.com Admin - http://site.com/company/ the links for profiles are: http://site.com/author/Mike/ http://site.com/author/Gelens/ http://site.com/author/Admin/ I need to replace a link to Admin's page,...

Eastern Arabic Numerals in Wordpress

Any ideas how to configure Wordpress to get the date and page numbers in Eastern Arabic Numerals? These are 0660 up till 0669 in UTF-8. I am talking about getting those numbers ٠١٢٣٤٥٦٧٨٩ replace those 0123456789. I am using Wordpress 2.7. ...

How can I force Java's HttpClient to accept invalid cookies?

I'm working on a script that logs into WordPress, however, HttpClient's cookie policy identifies the cookies set by WordPress to be invalid: May 17, 2009 12:07:43 PM org.apache.commons.httpclient.HttpMethodBase processCookieHeaders WARNING: Cookie rejected: "$Version=0; wordpress_dce2080bc042b2e639e4f5b3b704aa43=admin%7C1243786064%7C4c5...

Best way to get post info into variables without displaying them in Wordpress

I am writing a Wordpress plugin and need to go through a number of posts, grab the data from them (for the most part title, permalink, and content), and apply processing to them without displaying them on the page. What I've looked at: I've looked at get_posts() for getting the posts, and then getting title via the_title(), content v...

Wordpress get_the_tag_list($ID) help

Hi Guys, I am making a new wordpress template and I want to just get, in text format, the list of tags associated with a post. I am using get_the_tag_list($id) But the problem is that it returns the URL as well as the text. Is there any way to just get the "text" of tags attached to a post seperated by a comma ? i.e. "tag1, tag2, tag...

Wordpress Template get_the_tags() help

Hi Guys, I am using this code to get the tags in my wordpress posts for a theme `<?php $posttags = get_the_tags(); if ($posttags) { foreach ($posttags as $tag) { $tagnames[count($tagnames)] = $tag->name; } $comma_separated_tagnames = implode(", ", $tagnames); print_r($comma_separated_tagnames); } ?>` The PROBLEM is that ...

Horizontal menu in WP default theme

I'm setting up a simple webpage using Wordpress. You can watch it at www.unistore.se. My question is: How can I include a horizontal menu just below the header? I would like to be able to create new links in the menu with the "New page"-function in the wordpress admin. Thanks! ...

Easy Way to Find Images Used in a Wordpress Post?

Is there anything in the wordpress APIs which will show me a list of images used in a post? Or do I need to look through the content of the post to find this? ...

Wordpress blog + Google AdSense

Hi All, These days i am writing something in my blog. so yesterday i submitted it to GoogleAdSense. they approved my account. upto this very good. But, if i paste the html/javascript code in my post content wordpress is removing it. is there a way to display ads in my wordpress blog..:(( my blog is http://nareshbojja.wordpress.com th...

Nginx (as front end to Apache) to serve WP Super Cache static files

Hi all, I am currently working on my Wordpress blog, which is hosted on a VPS.NET VPS with Nginx as front end to Apache to serve static files, while Apache takes care of the PHP in FastCGI. This seems to be working great, however I haven't yet managed to have Nginx serve WP-SuperCache files as well, which I would like for maximum perform...

WordPress plugin: finding the <!--more--> in the_content

I'm writing a WordPress plugin that filters the_content, and I'd like to make use of the <!--more--> tag, but it appears that it has been stripped out by the time it reaches me. This appears to be not a filter, but a function of the way WordPress works. I could of course resort to reloading the already-loaded content from the database, ...

How can I prevent a main menu item with sub items from being clickable in Wordpress?

Here is my site: http://wake9.com/blogs/norcal-merced-wakesurfing-competition-2009/. Notice the menu item "Photos and Results". Hover over it and you will see sub menu items. I want to be able to click on the sub-menu items but the main menu item shouldn't be a page or be clickable. The only way i could get this item on the menu was to ...