wordpress

WordPress execute query

which method we are using for execute query in wordpress ...

Wordpress Php file Load

How can i load php file in the body part a wordpress blog.any built in method for that( like wp_head,wp_footer and so on) ...

wp-facebookconnect ssl

Have one page that has an ssl cert. How can I get it to point to the script and add the xd_receiver_ssl that it says on http://wiki.developers.facebook.com/index.php/Facebook_Connect_Via_SSL with this plugin installed? Is there another way? ...

WordPress: Is it possible to have "rss content" AS the "post" itself on blog.wordpress.com?

Hi, I think the title describes my qeustion perfectly. I have a blog on something.wordpress.com . I want to make a post, but the POST should be JUST rss content sourced from a feed I specify. (a) can I do that? (b) can i do that on wordpress.com or do i need to setup my own wordpress installtion? (c) is there a service somewhere that l...

WordPress: Is it possible to make one particular post always on TOP on blog.wordpress.com?

I have a blog on something.wordpress.com , I simply want one post to ALWAYS remain on top. Other posts should go in their regular order. Can someone suggest how to do that OR a theme which makes this possible/? ...

multiple wordpress installs, getting data from wp-2 while inside wp-1

I have a site with 4 wordpress installs, (no need for wp-MU) x4 databases, with each a unique username and pass... i will call these wp1=mainsite wp2=childsite wp3=childsite wp4=childsite In wp1, there is a page, with tabs, which should load recent posts from the wp2, wp3, wp4 installs, this page is using a custom template...

Wordpress Roles > Allow Editors to Edit Themes?

Can someone tell me of a way in which I can add a user to have access to my blog's admin area and manage themes without being the administrator? ...

Parent category as a mainmenu and sub category as a submenu in wordpress

Hai, I would like to have a parent category as a mainmenu in horizontal view and child categories as a submenu that corresponds to the mainmenu. For example, Parent categories as Apple, Orange and Mango Sub Category for Apple is apple1, apple2, apple3 Sub Category for Orange is orange1, orange2, orange3 Sub Category for mango is...

How long left in current session/cookie for WordPress

How would I display the current amount of time left of the cookie/session for a logged in user of WordPress? So for example if the cookie timeout is 24 hours and the user has been logged in for 2 hours then the output would be 22 hours. ...

How to install wordpress on MS SQL

I am trying to convert my wordpress site which is based on MYSQl to a MS SQL because my we have our main database through MS SQL and we are creating database driven wordpress sites. I have been able to automate all of our wordpress installation + setup through database sripts through MYSQL but all of our variables + inputs are in MS SQL...

Where are wordpress default widget files or functions located?

I'm trying to slightly modify the default wordpress tag cloud widget. I don't want to create my own widget because I literally want to adjust one small thing. I've looked through my wordpress installation but can't find the php file that contains the basic widgets. Even though I assume that they are defined in each theme, I still look...

Jquery is not working on IE8

jQuery Tabs is not working on IE8 - Working fine on FF/Safari/Chrome/ie7 For tab control, I am using Java script: - <?php wp_enqueue_script('jquery-cycle', get_bloginfo('template_directory') .'/js/jquery.cycle.js',array('jquery','jquery-ui-core','jquery-ui-tabs')); ?> in wordpress and using this jQuery("#tabs").tabs(); to ca...

Extract image from the content

I want to extract images from the_content() and want to display first images from post on index.php and want to display all images on single.php. To do this I apply a filter on the_content(): <?php /***************************************************************************** Post Summary Filter - Grap Image Thumbnails, Strip Tags, ...

Render google map in wordpress, based on address custom field

I have a wordpress site with a large number of pages, each page represent a physical location. Now for each page I would like to display a google map based on the address. I know I can do this by installing for instance the Geo Mashup plugin http://wordpress.org/extend/plugins/geo-mashup/ but that requires (I believe) that I manually, fo...

wordpress permalink post_type

i am looking for a way to get the post_type into a wordpress permalink structure - especially considering custom post_type's defined by my own plugin. is there an easy way to do that, or do you know any decent documents about wordpress url handling / redirection (codex seems to lack a bit on the rewriting side of things). ...

Use post tags for meta keyword content

Seems this should be super simple, but I can't find the right API function to make it work... I'd like to use a posts tags to populate the keywords meta content... <meta name="keywords" content="tags from post go here seperated by commas"> I've tried this but it creates a link list of each post tag... <meta name="keywords" content="<...

Optimizing WordPress SQL query for older posts list

On my WordPress site, when a user pages far back in the list of posts, the queries end up taking a couple seconds. I'd like to bring this down. Here's the query that's being executed: SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish' OR wp_posts.post_s...

Wordpress: show category posts

Hey I have 3 boxes that i have at the bottom of my home page, i want to display in each of them a wordpress post. Each of these posts will be under a category special1, special2, special3, how do i do this? I have tried <div class="special_box"> <?php query_posts('tag=special3');?> </div> But this does not work Any id...

Wordpress [caption] processing

I'm using a wordpress backend on my site and displaying the articles via my own way on the front end. I can't seem to find the file that parses the output of posts. I'm trying to get to the code that process a post so that I can copy it for my site and make some minor changes to how it's displayed on my site. Any ideas on where this f...

Enable my Wordpress Plugin and Theme w Remote Automatic Upgrade?

I see several plugins in my WordPress site that are enabled for "Automatic Upgrade". It allows me to simply click a button and get the latest update installed into my site. I'd like to find out more about how to integrate this automatic upgrade routine into my own plugins. If you know of resources or a tutorial on how to do this please ...