wordpress

Wordpress and my own custom PHP stuff

Often times, when I try to add my own custom PHP source codes to the template files (sidebar.php, index.php, header.php, etc...), it generates errors. However, it works properly on it's own outside of Wordpress. Is there a way for me to use my custom PHP stuff in Wordpress' template files? ...

Adding .html onto the end of a URL

I'm currently using Wordpress as a blogging platform but I want to change to use Jekyll to generate the static pages. On Wordpress my URLs use the following format: /year/month/day/title but I want to redirect that to /year/month/day/title.html and I can't figure out how to do that using mod_rewrite. Anyone got any ideas? ...

Can you configure a single folder in a WordPress install that will allow directory list contents

Hello, I have a WordPress installation. I would like to have one folder in the file structure where the url will show you the files and folders and allow you to browse and download from there. Can it be done? Seth ...

How to tell Wordpress category page to call specific sidebar

I am trying to pull in a styled sidebar specific to the category. I have the following code which works, but it is pulling in BOTH my new sidebar and the default. What am I doing wrong here? From category.php <?php get_sidebar(); if ( in_category('39') ) { include(TEMPLATEPATH . '/sidebar2.php'); } else { include(TEMPLATEPATH . '/side...

is there a wordpress "lightbox" type of plugin that works on the iPhone ??

Hey all Here I go again, Anyone know if there's a Wordpress "lightbox" style plugin that works with mobile devices , specifically the iPhone -- or if theres a way to tweek one to be used ? I've tried Slimbox2 Shadowbox JS and a few others -- but they all seem to break on the iphone -- specifically when the browser is re-sized. It'...

Using jQuery in a Wordpress post

I'm wanting to post live jQuery examples in my Wordpress posts, and so need to be able to include working code in the actual post itself. I've turned off the WYSIWYG editor and any settings which may mess up my code when I publish. I've also, through the exec-php plugin, been able to get php code working in-post, but this (admittedly old...

How does wordpress password hash work?

I need to integrate a Django system with a Wordpress site, as in wordpress users should be able to log in the DJnago part and vice versa, For this I need to understand how the password hashing works in Wordpress. I can see the wp_users table which stores the username and password hashes. Looking through the wordpress code, I can see th...

What columns stores the slug in wordpress

In wordpress, what column stores the slug (either auto generated, or user entered)? I can not find this in either wp_posts or wp_postmeta. The wp_posts GUID stores a direct link, but not the slug. ...

How to use images as nav buttons in Wordpress?

Here is my navbar in header.php <!-- NAV --> <div id="nav"> <ul> <li><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/navbar/home.png" alt="Ad image" /></a></li> <li><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ...

Strip part of URL or with mod_rewrite

I'm helping someone with a Wordpress blog which at one time was at http://example.com/example/ Now they've move the blog to the root of the site and want to redirect any of the old links to the correct site. Wordpress has it's own re-write rules in .htaccess already: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCon...

Wordpress Error - Needs a fix

I am moving a Wordpress blog to a new server and have the database in place and the files in place but I am getting an error: Cannot modify header information - headers already sent by (output started at /home/nasepa/public_html/2009/blog/wp-config.php:1) in /home/nasepa/public_html/2009/blog/wp-includes/pluggable.php on line 850 W...

Moved a Wordpress Blog - now it wants to Reinstall

I moved a Wordpress blog from one server to another. I was able to import the database through PHPmyAdmin and the files are all in place but instead of the expected home page I am getting the following at the end of the URL: wp-admin/install.php Edit: my apologies. I imported the wrong database. Need to close out the posting. ...

can drupal support wordpress themes for blog in php?

is it possible to add wordpress theme in drupal? i'm new to drupal and i want to have a blog of mine, i'm doing it as a free and can't buy wordpress theme, so can i do everything in drupal as wordpress? ...

How to Display Videos inside RSS Feed

Hi, I have a blog and all posts (i.e. this post) have videos in hidden div. I want to display this videos in my [RSS feed.] But not regular blog view.4 By the way i'm using Wordpress. How i can do it? Thanks. ...

firefox: bit.ly links in the sidebar of a customised wordpress blog gives a 404 error

I have twitter status updates showing on the sidebar of the blog which often has the bit.ly or ow.ly links as well. But everytime I click on it in the firefox browser it gives me a 404 error because it tries for the following url: www.domain.com/blog/"http://bit.ly/uniquenumber" instead of bit.ly/uniquenumber. I just checked it and it ...

Simple clean CMS for programming project website

What is the best yet simple CMS for closed-source programming project hosting? I'd like to keep webpage plain and simple, include screenshot, basic features and blog headlines on main page, then have project blog, screenshots gallery, feature list and downloads on separate pages. My goal is somethong between http://www.videolan.org/vlc/...

Wordpress authentication and login manager

Is there a way to create a sort of authentication for wordpress which would block unauthorized users from some particular pages and posts but would allow any user to view some pages. I would also like the users of the blog to be able to register and login through facebook-connect, or google accounts. Is this possible. ...

WordPress Category Hierarchy

I'm using categories to construct my portfolio in this way: Portfolio Web Animation Print Portfolio has an ID of 4, Web is 23, Animation is 27, and Print 31. I have my URL's set /%category%/%postname%/ in the Permalinks, but when I add a post to say both Portfolio and Animation it won't show the /animation/ in the URL because Port...

Worpdress Form Multiple Actions

Working on a wordpress administration form. I need it to go to options.php to update the database options there, but I also need to populate Resource objects within other functions as well. How would I go about doing both actions on the same submit button? <form name=adminForm method="post" action="options.php" onsubmit="UpdateResources...

How can I create (custom) friendly URL in Wordpress?

In Wordpress, I have set the permalink structure like this: /%category%/%postname% After creating a custom search page, I now have the following URL: http://mypage.com/search?foo1=bar&amp;foo2=&amp;foo3=&amp;foo4= I have two questions: 1) How can I transform this url so that I get to e.g. http://mypage.com/search/foo1/bar ? 2) Is the...