wordpress

wordpress mu 404 without end slash

I've just setup a wordpress MU install and almost everything seems to be in working order. When i hit site.com/subsite i get a 404 on site.com but when i go to site.com/subsite/ (notice the trailing slash) everthing seems to work fine. the generated wordpress mod_rewrite code is # BEGIN WordPress RewriteEngine On RewriteBase / Rewrit...

what the best solution for user driven content on my website

i have created a website for a non profit organization. People on the site want to post stuff . i want to figure out the best way to allow them to do this. Can i host a wordpress site and somehow embed it into my website Do i need to install some whole CMS solution? Other solutions for supporting user driven posts. to clarify, the f...

Website freezes on load for a couple of seconds.

I'm working on a Wordpress-powered website (hasn't gone live yet). Most of the time when I load the home page it's fine. Sometimes, however, it freezes for a second on load, before continuing as normal. How do I debug this issue? ...

Iterate through custom post type by custom taxonomy type? (Ordering wordpress posts by category, or displaying custom post type by taxonomy term)

I want to have a page that shows all posts, separated by category. The idea is to get the categories, and then iterate through all posts for each category. The problem is complicated by the fact that I want to iterate through all posts of a given custom type, using a custom taxonomy as the categories. (Running Wordpress 3) In my functio...

Get latest comment records and the corresponding post slugs in Wordpress

I have the following query for getting the latest comments: global $wpdb; $sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->po...

help with my wordpress

see this post - http://goo.gl/biE5 1)in that you see a image falling over _ how to seperate them 2) in home page http://goo.gl/ldWY you see that post image falls over to right end and gets stick with sidebar. how to seperate them? Please help me with these issues ...

Dissallow robots for a while

I'm will be hosting a wordpress site on a live server. But it will be in test phase for while. How can I tell the robots not to index the site till then? ...

Handling errors in Python scripts

Using pyblog.py, I got the following error, which I then tried to more gracefully handle: Traceback (most recent call last): File "C:\Python26\Lib\SITE-P~1\PYTHON~1\pywin\framework\scriptutils.py", line 325, in RunScript exec codeObject in __main__.__dict__ File "C:\Documents and Settings\mmorisy\Desktop\My Dropbox\python\better...

Display all external in links in a fancy box iframe

I have made the site egrafiiti.net using the wordpress theme Aggregator 1.0 by Templatic.com To keep people on the site i want to be able to make any external link open in an iframe on the current page, instead of a new window. also the iframe will be styled like fancybox, mulitbox etc (dimmed background, border etc) Is there any way t...

Wordpress Post Loop Based On Selecting 10 Post Id's from DB?

I've spent most of today looking for info on how I can get 10 post ID's (which dynamically change every day) from table name wp_recently_popular row post_id and create a loop that uses those id's to call the post info so I can have those 10 posts on my homepage. All day long and everyone is showing the same tutorial over and over again....

Custom Post Type and Taxonomy Permalink Rewrite in WordPress 3.0.1

I have a 'story' Custom Post Type and 'artist', writer' Taxonomies. I need to set rewrite rules in the functions.php for the permalinks to look like this: Artist (Taxonomy/Category): http://www.example.com/isaac-deutscher (/%artist%) Writer (Taxonomy/Category): http://www.example.com/jean-paul-sartre (/%writer%) Story (Custom Po...

Which CMS as the basis for a custom web application

I'm looking at building a custom web application for a client (a specialized auction site, in this case), and we're evaluating using some existing CMS as the "scaffold" for the application. The justification is the fact that for many custom web application projects, some 70% of the code written goes in to adding CMS features, user manag...

Wordpress get_image_tag filter - change image attributes ?

Greetings, We can edit image attributes with this get_image_tag filter when we are adding images,but is there any similar filter or action that can we use to edit these attributes when post is added or edited - updated? Here is the link I found. http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images...

How to show custom page as Wordpress theme home page instead of index.php

Hi, I would like to show a custom page when activate my theme with an Enter link instead of posts in the content area and also need to show same header, sidebar and footer as other pages. When click on the Enter our blog works same as other thems.Please help me. ...

WP – Content code keeps subpage from appearing in sidebar

In one of my wordpress templates, the content code seems to keep the subpage menu from displaying in the sidebar. When ever I remove all code from the content div, the subpage menu appears as expected. Could anyone point out where the code goes wrong? Any help would be greatly appreciated! <div id="content"> <div class="page...

does my free php Web-hosting will support wordpress website.

Hi all. I have create account with free account with web-hosting company which are giving me 1000 MB disk space plus 2 mysql database. Can any body tell me that I can upload my wordpress site to this free hosting plan. I am very new to Web development Thanks. ...

Can I set 2 address at a time in google map. ?

Hi I have to set two address at a time in google map. User provides these two address. after submitting I have to show these two address on map. amy body knows the script. Please help me. ...

Wordpress query in CodeIgniter model

I have the following method in a CI model: function getPostTitle($post_slug) { global $post; $posts = new WP_Query('name=' . $post_slug); while ( $posts->have_posts() ) { $posts->the_post(); return $post->post_name; } } The returned variable is empty. Note that the same code works fine in a view. I need to be able to ...

Adding next and previous buttons to static pages in wordpress?

I'm trying to add next and previous buttons to the static pages on my wordpress site. I've been able to find some content on how to add these buttons to your blog post but haven't been able to find anything like this regarding static pages. I'd like to add next and previous buttons to appear on the child pages within all the parent pag...

Is it possible to run PHP and WCF on the same Azure instance?

I'm investigating the possibility of hosting a CMS (wordpress written in php) on Azure. I'm already running an ASP.NET Web Role which exposes WCF services. WordPress requires PHP. All my research suggests that I should create a new CGI Web Role to handle the PHP functionality. Is it possible to run the CGI Web Role and the ASP.NET We...