wordpress

Get articles through RSS from Wordpress with JavaScript

Is there a way to get recent articles using JavaScript from Wordpress blog? I need to show some content from the blog easy way on a static page so I think JavaScript would be fine for this. ...

How to display archive from one saturday next saturday range,Wordpress

In my wordpress home page, i am displaying the archives using the function wp_get_archives('type=weekly&format=html') and it outputs like * July 19, 2010–July 25, 2010 * July 12, 2010–July 18, 2010 ie starting from monday to next monday.How can i change this from saturday to next saturday ...

How to create custom forms for custom content type in wordpress?

Hi.. Is there any way to create forms for a particular content type and submit it form the site itself. I have 2 content types created in my Wordpress and I want to create a form to post to a particular content type. Also is it possible to create the form as a page in wordpress? regards - dj ...

WordPress: Move blog to page

Hello, i need to move my WordPress Blog Entries to a page. I've installed WordPress to subfolder (http://example.com/canada/) and currently i access my Blog entries with following URL: http://example.com/canada/hello-world/ But i would like to call my Blog entries like this: http://example.com/canada/blog/hello-world. I know i can ch...

Using one Wordpress install that gives different domains for article pages

The situation today I currently have x standalone news sites each with their own domain (news.sitename.co.uk, news.sitename.com, news.sitename.com.au etc). The journalist uses one custom built CMS to publish articles to specific domains. A reader on one domain can only view on that domain what has been published to that domain. Finally,...

Problem of integrating Wordpress with CakePHP

I have an application in which I have implemented a site with CakePHP and also give facility of Wordpress blog. It is running great on my local server. But when I am trying to upload it on my staging server, its url doesn't work... Is anyone else has faced this problem ? Thanks in advance. ...

Creating a custom function to replace one in WordPress

Hi Guys, I'm using WordPress 3.0 and the 'the_post_thumbnail' function to resize my images. The problem is that the function doesn't resize to exact dimensions when you don't specify a square image. // Works fine add_image_size('my-image-size',100, 100, true); // Image is only resized to width or height, not both add_image_size('my-i...

Help with htaccess and two Wordpress instances.

I have an old legacy application, written in php. It's going to be replaced by two Wordpress instances, one being the website itself and the other being a blog (I have to use them separated as two instances). So I'm going to have a dir for this old version, a dir for the site and a dir for the blog. This is my situation now: Suppose my...

Do I need to validate uploaded files (PHP) if they are not going to be stored on the server?

I have a wordpress theme with an options page. I have included a basic export/import options feature. The export feature allows the users to download the options to a text .dat file and store them on their own computer. The import options button reads a .dat file and overwrites the current options in the database. Then the file is delete...

How to add plugins to the WordPress repository?

I'm trying to add my plugin to the WordPress Repository so that users can just search for on the admin panel and then install. I've filled the plugin form from wordpress.org with a title, description and I don`t know which URL I need to provide. This URL can be from GITHUB with the files? Or something else? Also, I need to know how l...

Possible to add a read more link in an RSS Feed?

This may be a weird or stupid question, but I have the following code (http://pastebin.com/PTFtqkvs) and I want to place a simple "read more" link after the description which links to the the article in the rSS feed - however whatever I do isn't working. Is it even possible to add this option and still conform to the rSS guidelines? This...

What chr(int).chr(int) decompositions do these 4 letters have? Ș, ș, Ț, ț

I really need to get WordPress to "sanitize" them and replace them with S, s, T, t when it creates post slugs. I know the code for this is in wp-includes/formatting.php and it's the "remove_accents" function, but I can't for the life of me figure how these letters decompose into chr(int).chr(int), and I would really love to find out sin...

how do I programically create a page in WordPress if it doesn’t exist already?

how do I programically create a page in WordPress if it doesn’t exist already? ...

Sendmail and gnupg

I am looking for a way to configure wordpress on my RHEL4 machine to send out email notifications using gnupg (sendmail). Can anyone point me in the right direction? ...

WordPress: Multiple conditional statements not working

I'm trying a simple multiple conditional statement which should work fine with PHP but WordPress says no. What am I missing? <?php if (is_page('sample1') || is_page('sample2') || is_page('sample3') || is_page('sample4')) { ?> include this <?php } else { ?> include this instead <?php } ?> ...

WordPress - How do I display the total number of comments from an entry?

I am displaying WordPress content on a static HTML page, which is outside of the WordPress content. It is working very nicely and I just need one more element to complete the set. I am using this code: <?php while (have_posts()): the_post(); ?> <h5><?php the_title(); ?></h5> <p class="blog-info"><?php the_time('m'); ?>.<?php the_ti...

Create drop down menu of Posts from Category in Wordpress

Hey guys I'm working on this site www.annapogossova.com for a friend. Currently the menu navigation is running through Pages i've created each gallery in. When it comes time to expand the site - I want it to be fairly dynamic so that each gallery page/post is added to the drop down menu automatically and she doesn't have to edit the ...

Twitter login with giya plugin (for wordpress)

I have successfully installed gigya plugin in my wordpress.It is working fine for facebook but not for Twitter.Twitter was working fine yesteryday and I have login from one user. right now I can only login from that user. whenever i login from new twitter user it show "Unknown error." ...

Configuring Sphinx to index a dynamic set of tables

I'm in the process of setting up a new WordPress 3.0 multisite instance and would like to use Sphinx on the database server to power search for the primary website. Ideally, this primary site would offer the ability to search against its content (posts, pages, comments, member profiles, activity updates, etc.) as well as all of the other...

How to use Visual Studio for WordPress development?

Does anyone use Visual Studio to do WordPress development? If so, how do you do it? ...