wordpress

Wordpress multilanguage plugin

I have a blog on Wordpress in which I need to serve contents in several different languages. I don't want to translate the articles, I just want to have some in each of the languages and just have a way of switching between them. I was looking for a wordpress plugin that allows such functionality but so far I found only xLanguage but it'...

WordPress: How to display only posts that are in a certain category?

Hi, I'm pretty new to WordPress but have spent some 50 odd hours studying up on it, trying things out and such and have the feeling I got a pretty good handle on it now.. However the one thing I simply cannot get working is to have a page spit out a list of posts of a certain category. Here is my example: http://dev.jannisgundermann.c...

Widgets inside Zend Framework - Where should they go?

I've been working with Zend Framework (using Doctrine as the ORM) for quite a while now, and done a few projects with it. In a few upcoming projects I am requiring the need for widgets similar to how Wordpress does them. You have a post/page, which could look like: Subscribe to my newsletter: [subscribe/] View my events [events limit=...

WordPress: How can I add extra classes via variables when using body_class()?

Hi, I am trying to add some dynamically (based on the URI) created class names into the standard body_class() statement. The wordpress codex mentions to put the class into the brackets while using the body_class('add-class-here') however I have 2 variables that I need to echo out inside the body class="" so I tried doing it as follows...

How to make my own while Loop just like Wordpress Loop?

Hi all programmer... im new here and new in PHP too.. Just wondering how to make my own flexible loop just like in Wordpress... Note im not talking about wordpress.. I want to implement it on myown PHP application... let's look back in WP, there is a code something like this: while (have_post() : thepost())// .. bla bla... echo the_t...

Remove gap in wordpress posts in IE

I'm using a modified version of Modern Clix by Rodrigo Galindez on my website, and I've encountered a problem with gaps on top of every one of my posts in IE. The gap is the size of my left-hand sidebar and doesn't appear in firefox. Ex.: http://martiningolf.dk/?page%5Fid=273 If anyone knows how to solve this problem, It'd make me hap...

wordpress add comment like stackoverflow

i have posted this link ages ago regarding wordpress: http://stackoverflow.com/questions/196993/wordpress-having-comments-inline-ajax-like-in-stackoverflow and i think that i maybe didn't describe my request properly as each of the given solutions dont actually do what i am looking for: I would like it when i click on "Add Comment" un...

Wordpress Hooks

Hi, How does wordpress implement hooks internally? ...

Wordpress: Removing posts in "The Loop" using filters

After reading the Wordpress documentation, I realized you can remove posts from the index using filters inside "The Loop", e.g.: <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- The following tests if the current post is in category 3. --> <?php if (in_category('3')) continue; ?> <!-- display normal post --> <?...

Display code in WordPress

Hi, I found some threads regarding this issue on SO, but so far nothing mentioned there helped me. I want to display C# and XAML Code in Wordpress. I, unsuccessfully, tried using the following plugins: Google Syntax Highlighter for WordPress WP-Syntax Code Auto Escape When writing a new article, I go to the "HTML-View" where I trie...

WordPress Plugin Issues

I learned how to create a plugin on WordPress a while ago. However, WordPress changed everything around and I'm trying to create the same plugin using the new WordPress format. I've read several things, but tried to jump right in by modifying the WordPress Text Field plugin (one of my goals with redoing the plugin was to make it usable m...

Filtering and routing twitter messages

I normally use twitter both as a communication chat and as a short blog service. On my wordpress blog, I import the twitter messages timeline from one twitter account (specific for the blog-visible messages). For communication and chatting, I use another twitter account. Having two account is a solution, but my geeky nature would prefer...

How can I update my permalink structure in wordpress?

This is the old url of my blog (wp 2.2) http://myblog.com/category-name/post-name ex. http://myblog.com/shoes/i-like-shoes and Im trying to change it to http://myblog.com/post-id/post-name.html ex. http://myblog.com/717/this-is-my-first-post.html Im moving my content from wp2.2 to wp2.8 and i want to change all the categories for the...

Howto use the has_filter wordpress function with an object based callback

I have several plugins, all of which are based on using objects to hold the plugin. In one plugin class named "test_plugin" I have: apply_filter('wp_list_pages', array(&$this, 'wp_list_pages')); I would like to use the has_filter function in one plugin to try to detect the presence of the other plugin. I cant find any examples of th...

No feed output when working with Friendfeed and Wordpress API?

This is probably a Wordpress issue more than a Friendfeed issue but could be either. I have tried to debug with Firebug, wP_DEBUG, and error_log() but no issues have appeared. I'm trying to initalize a set of ajax-powered feeds (using Friendfeed API) in the middle sidebar on various Wordpress category pages using a conditional statement...

How to Sort Wordpress Posts Horizontally, Calling by Category

I am using the following code to try and display posts from only a certain category horizontally in three rows. I have the horizontal display issue figured out (using css) but with the following code it displays all posts and not posts from specific category. <?php query_posts('showposts=5'); ?> <?php query_posts('cat=7'); ?> <?php $pos...

Wordpress And Zend

Hey all, I am wanting to do stuff with the Google Data API, the contacts specifically. The easist method i have found so far is using Zend. The problem I am having is adding the Zend framework. Does anyone know how to do this with WordPress? Thanks ...

Intergrate wordpress blog with joomla website.

Hi, I have a website which I developed in joomla...... and a blog in wordpress.... Now I want to integrate that blog with my Joomla website....... without using wrappers or CorePHP component..... Is there any way to do this???? Thnx in advance ...

Redirect GET data from a page using POST to another page

Hi I have a php srcript that receives GET data and I want to redirect the data from GET to another page in wordpress using POST. It's that possible, and how? Thank's for the help. ...

Get WordPress Post ID from Post title

Hi all, I have an issue with a custom WordPress theme I'm developing. It's a bit convoluted, but essentially, what I need to do is get a Post Id by it's Post Title. In pseudo-code it would ideally be something like: title = "foo"; post_id = get_post_id_where_title_is(title); The title mentioned is a static reference not being pulled ...