wordpress

I'm starting a blog and i'm in the process of choosing where should i host it. For now i want a free solution like Blogger or Wordpress.com. The problem i'm facing is that i want to use files i have in a S3 bucket in my blog but none of the blog solutions i found supports any kind of server code, which means that in order to use S3 query string authentication i would have to put vulnerable information in the client. For obvious reasons i don't want to do that. So, i'm looking for
I want to select with sql latest post from one category,I know how to select latest post from all category but dont know how to JOIN tables.Can someone help me with this,and explain a little. My sql statement. SELECT id,post_title,post_date FROM wp_posts ORDER BY post_date ASC How to select from one category,I'm trying some code,looking INNER JOIN examples,but it doesnt work,help please. Going by I'd say you want to join through to wp_terms using appropriate join conditions
I am developing a plugin for an MU site. The MU site has about a few hundred blogs, but there are three types of blogs and they are named as: blogname/sportstype1 blogname/sportstype2 blogname/sportstype3 blogname/celebritytype1 blogname/celebritytype2 etc. I need to make two functions, one for type1, and the other function for the rest (type2/3). I have a function I made, wanted to ask is this the right/best way to do this: $whatistype = <?php get_bloginfo('site_url');
What is the activate theme function in Wordpress? I have found switch_theme but not sure if that is the right function. Is there an activate_theme function that can be used in plugins and for development? switch_theme does the same.
I've config'ed a WP blog (now at 3.0) to provide full RSS feeds. Yet WP insists on producing excerpt RSS feeds. What could cause this? How does WP produce an RSS feed? (i.e. what functions get called, what gets filtered, what hooks run, etc.) It could be several reasons. Most likely either a. A plugin the manipulates your RSS feed. Do you have one such installed? b. Some manipulating code in your theme's "functions.php" file... Could you check either of those out, or go a bit
I'm currently developing a custom theme for a client of mine. What I want to do is retrieve all the attachments (= images) in the installation via wp_getposts (http://codex.wordpress.org/Function_Reference/get_posts). That code would be: $attachments = get_posts('post_type=attachment&numberposts=-1'); foreach ($attachments as $att) .... and so on I then do some stuff to the images to finally create an image slideshow with the images from the pages. Now the tricky part, I want
I made the mistake of creating a site in a folder on a test domain and now I want to redirect any traffic to that URL to the new one. For instance I have: http://subdomain.example.com/blog and I want it to go to a complete new domain. Any help is appreciated. Thanks, Matt In the htaccess file to redirect to a completely new domain you could do something like this: Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L]
Ok so I think I'm going nuts. I've got 2 blogs running Wordpress 3. Both use the same theme. Nothing has been drastically modified in either one, but the one is displaying as it should and the other is missing various styles and functionality. I know the cause of the problem - a 404 error on the one site for two resources. These resources are PHP files stored in the theme's directory in both installations - one is used as a CSS file and the other a Javascript file. But in the one they
Please note, this is not a theme or so issue. The categories are not showing in the admin panel, however it denotes that there is 6 categories. They are also visible in the databse. Recently something happened with the hosting and any php move_upload functions started giving error about missing tmp path, so i created a local php.ini file to point to the right tmp folder home/user/tmp and that solved the issue this however seems to be linked, i tried setting these in
I'm writing a wordpress plugin, and using this script to resize images: Timthumb This script uses absolute paths, but I can't get it to work for me; I've triple-checked all my paths but still nothing. Here is my code: $plugin_dir_name = "my-plugin"; $pathTimThumb = WP_PLUGIN_URL . '/' . $plugin_dir_name . '/timthumb.php'; $pathToUpload = WP_CONTENT_URL.'/uploads/'.$plugin_dir_name; $hImg = 150; $wImg = 150; .... $myImage = '<img class="thumb"
How can I add a radio button in my wordpress widget form? I have been able to add input fields that gets saved and works fine. But I am having trouble with radiobuttons. Anyone? This is my code for input field: <p><label for="<?php echo $this->get_field_id('id'); ?>"><?php _e('Video ID:'); ?> <input class="widefat" id="<?php echo $this->get_field_id('id'); ?>" name="<?php echo $this->get_field_name('id'); ?>"
All I am trying to do is to add two Posts in a wordpress Static home page. Such as the one in the following picture. I can't seem to find any option in the admin part of wordpress, and there is only one content box to post things. How do I get two or more? Thank You. You have to edit your template files if your theme doesn't have such a custom option. I suggest you to check this