wordpress

howto Debugging on PHP

how we do basic debugging in PHP ? Can anybody share true horror story on debugging PHP application (or (even better) on PHP framework such Codeigniter and Wordpress) ? i love to hear real experience in case i have to encounter similar situation on my journey to learn PHP. ...

Wordpress login system

Hi I am new to wordpress. I'm creating template in wordpress with php.I would like to know how to integrate my own login page (which contain two boxes i.e, user name & password) with wordpress login system. Please anyone give a solution. Thanks in advance. by vinoth .J ...

Simple wordpress Registration

I am looking for a wordpress plugin which simplifies the registration process by allowing users to sign up on the spot without having to be sent an email? It would be good if you could also pass a redirect_to parameter in the url like you can for the login. ...

VB.Net: How to fill in a form in a website, then click at a button and download the file using webbrowser control?

I am using a WebBrowser-Control to fill in a webform and then click at a button, this currently results in a standard Download File Dialog (you get these if you download a file using internet explorer), but instead, I have to catch this file and save it automatically with a by me defined name to a specific folder. I am trying to code a ...

Video player plugin in wordpress

Hai, I would like to have a post thumbnail in the index page of wordpress site. And when you click on the post thumbnail, it opens the specific post page to play the video attached in that post. basically the post is a video. can u guys help in finding some good plugin to perform this task ...

How Does WordPress Block Search Engines?

Hello, If you go to wordpress admin and then settings->privacy, there are two options asking you whether you want to allow your blog to be searched though by seach engines and this option: I would like to block search engines, but allow normal visitors How does wordpress actually block search bots/crawlers from searching through...

How to check whether your work on WP or WPMU ?

right now, i use global variable $table_prefix to differ whether i work on WP or WPMU. I need this global for my plugin. But is there any better way to check whether your pluggin is working on wp or wpmu ? any suggestion will be great ...

wordpress generating slow mysql queries - is it index problem?

Hello Stack Overflow I've got very slow Mysql queries coming up from my wordpress site. It's making everything slow and I think this is eating up CPU usage. I've pasted the Explain results for the two most frequently problematic queries below. This is a typical result - although very occasionally teh queries do seem to be performed at a...

Wordpress Version 2.9.2 BUG or is it me?

Hi, Has anyone noticed that in Version 2.9.2 of wordpress.org there is no facility to choose a page template? Or has the tag used in the template file changed? I hope someone can help. Thanks. ...

Crop & Resize Images in Wordpress

I have gone through several plugins and I can't find a plugin that simply resizes and crops images to a specific size when they get uploaded. This is different from simply resizing one side of the image, I need it to resize the smallest side and then crop the largest side so that the image fits in a specific space. WP already does this b...

Redirect after plugin activation

How do I redirect users to my plugin settings page after they activate my plugin, I tried register_activation_hook(__FILE__,'activate_myplugin'); function activate_myplugin() { //create and populate DB tables wp_redirect(plugin_setting_url); } but it does not work. ...

Wordpress as CMS, Without Using It As Website Platform

What is the best method, if there is one, of using Wordpress as a CMS for users to input data while not actually building the website on the Wordpress platform? One possible solution I've found is using a PHP class called "WPGet" (http://peter.upfold.org.uk/projects/wpget) which fetches directly from the database. ...

CSS not rendering on MAMP

I'm working on a Wordpress blog. I'm embedding a stylesheet as follows: <link rel=”stylesheet” href="<?php bloginfo("stylesheet_url"); ?>" type=”text/css” media=”screen” /> However, the CSS doesn't render, at all. I've checked that the URL that is being put in the href is correct. The CSS is found. But, it doesn't render, in all brows...

How can use javascript in thesis

I am using thesis theme for my wordpress blog.How can we use a user defined javascript in thesis.Anybody can help me please ...

How do I show the 'blog last updated' time in Wordpress?

I want to show the time of the last blog update at the header of my wordpress blog. It's not the last update time of a post but rather any post or page (i.e. any last update done in the blog) e.g. Format: Now: Tuesday, March 16, 2010 | Last Update: 6:09 PM ET Is there any template tag to accomplish this? ...

wordpress image uploads

I have created my own upload function for forms on my sites frontend. the images upload correctly, but in some cases a blank reference to the image with this as its path: /USR/WWW/USERS//WP-CONTENT/BLOGS.DIR/2/FILES/ occurs in the media library. its seems as though the form uploads images but where there is no image to upload a blank re...

Is there a script that can dynamically list the contents of a folder?

I am redesigning my company's intranet site in Wordpress and one of the things they need is an archive of company memos. There are over 300 memos saved in one location and I'm wondering if there is a jQuery script that I can run that will read the contents of a local (network) folder and auto-generate a list of the contents of that folde...

Wordpress - using 'get_post' to select only those posts that are in two specified cats at once.

I am trying to use 'get_posts' to pick up posts that are in two categories. Currently I am using this: $myposts = get_posts('numberposts=1&category=4&category=7'); This picks up posts that are either in category 4 or 7. The posts I want to pick up must be in both categories at once. Any suggestions? ...

SEO chaos from changing robots.txt file in Wordpress site

Hi there, I recently edited the robots.txt file in my site using a wordpress plugin. However, since i did this, google seems to have removed my site from their search page. I'd appreciate if I could get an expert opinion on why this is so, and a possible solution. I'd initially done it to increase my search ranking by limiting the pages ...

What's causing this permission's error and how can I work around it?

Warning: move_uploaded_file(/home/site/public_html/wp-content/themes/mytheme/upgrader.zip) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/site/public_html/wp-content/themes/mytheme/uploader.php on line 79 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phptempfile' to '...