wordpress

wordpress : how to put an enter page?

ive created an enter page for wordpress and what im wondering is how do i put it as the index page when the index page has the code to load wordpress? how and where do i place the enter page? thanks ...

Base Location for PHP

I recently decided to incorporate PHP into my website, but I've never worked with it before so I'm not familiar with the functions... My problem is that I am using the include() method for my header and footer on each PHP page like this: <?php include('../php/header.php'); ?> This navigates from /public_html directory to the /php dir...

I want my wp 2.8.6 blog to be seen as written in Spanish by Feedburner.

As best I can see, when the blog xml includes the following line: http://feeds.feedburner.com/~d/styles/rss2spanishfull.xsl then Feedburner automatically interprets it as Spanish and when a potential subscriber makes a request. I do not know how to get that line into my wp xml feed. Can anyone help? Tags: Wordpress, Feedburner, Span...

How Can Wordpress Easily Provide A Voting and Commenting View For 5 Page Layout Possibilities?

Right now, when I create a media item, I can view it as admin by going through the Media then clicking on view, eventually I end up at [mysite]/blog/?attachment_id=31 which is a nice reduced version of the image (which can be clicked to appear large), and which has the nice feature that there is a place to leave comments at the bottom. ...

Calling wordpress API from Zend pages on same box

What is the best way to call the wordpress API from a Zend Powered page outside of the wordpress installation? I currently have this code on a php page outside of wordpress. define('WP_USE_THEMES', false); require('/wordpress/wp-blog-header.php'); I try and run the page and get this error: Fatal error: Call to undefined method stdCl...

How do I get the WordPress sidebar to show up on a post's detail page?

My example is here I am customizing the default template, but something isn't placed right. Can't figure it out. By the way, I am asking this here and not at WordPress because frankly, their forums are horrible as far as response times go. Stackoverflow has always done me good :) ...

How do I combine WordPress permalink code and .htaccess redirect?

I'm trying to combine the following code so that the WordPress permalinks work in the main directory, waringis.com (top code) and a second domain, burrowpress.com, is redirected to the subdirectory 'waringis.com/burrowpress' (bottom code) - <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f Rewri...

Site not looking good in Firefox

Hey guys, A site I constructed on wordpress, www.instant-wine-cellar.co.uk, does seem to be working well on Firefox web browser. I was wondering if any one could help me work out why that is (maybe using firebug). The stylesheet is a file called style.css and the reset stylesheet is reset.css. It looks normal in any other web browser. ...

Wordpress: Customizing the feed for a specific category

In some of my posts (category: music) the only content is a youtube video. Unfortunately, not all rss readers display the video. That's why, in the feed for this category, i would like to replace the content (the video) with some text, for example "Visit our page to watch the video". I believe there are three approaches to my problem: ...

Using Wordpress as more than just a blog?

I have been making plans to create a site that would contain several different sections, such as several blog feeds for reviews and articals, a forum, and also a stock site where people can sell/buy photos. I was planning on doing this in PHP, but have recently started using wordpress and found it to be very powerful. is a site like th...

Wordpress Plugin without any Host

I have a blog hosted in wordpress. I bought a domain from GoDaddy and forwared it to my wordpress blog. Now, if I want to install any plugin to my site, I always get instructions like - download this and place it to that directory. How do I find that directory when I am using Wordpress's free bloggin service. ...

How do I hook into the Wordpress login system to stop some users programmatically?

Hello folks, I am working on a Wordpress based portal which integrates with a custom-made e-commerce. The e-commerce serves also as a 'control panel': all the roles are set up there. Some users are recorded but 'inactive'; they shouldn't be able to log into Wordpress. For this reason I need to hook into the Wordpress login system. If ...

How can I get the WordPress language_attributes function to return valid XHTML 1.1?

I have a WordPress template that contains the following element: <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes('xhtml'); ?>> This returns: <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US"> Unfortunately the "lang" attribute is invalid XHTML 1.1 - and the client would like thi...

Put ASP.NET on wordpress site

I work for a college and our main website has an ASP.NET based course information search which I created. This has become popular and our company facing website (training for companies) has asked for the same system on their website. I'm not involved in the day to day of either website but know theirs was made using Wordpress. Is it goin...

[Wordpress] How do I get the name of the page I am on?

I want to print the name of the page I am on in Wordpress. How do I do this? ...

Making a <cite> tag clickable with jQuery

Ok, so here's the skinny... I've worked out a jQuery function that will first look at the page and search for <cite> tags. Then, it looks at the text contained within it and searches for a hyphen. If it finds one, then everything BEFORE the hyphen is used as the text within the tag. Whereas, everything AFTER the hyphen is used in an onl...

Featured articles list

I'd like to display 10 articles from "featured" category. Only the first should have title and excerpt, the rest 9 only titles. How'd I do that? Many thanks for your help. ...

Wordpress: How to add a caption right-aligned to the edge of the image

So how do I align an image caption under an image tag to it's right hand edge? Tried using div but obviously that's not allowed in wp. What alternative css/tags do I need to use? ...

BOM in a PHP page auto generated by Wordpress

I admin two different blogs. They are both wordpress 2.8.6 (so they have exactly the same source code, plugins apart) but they are located on two different hosting platform (hostmonster.com and aruba.it). To explain my problem I've dumped with SmartSniff a session with each one of the sites. Here is the dump from hostmonster: GET /blog...

Updating your blog from a localhost version

Okay, I trust this is not a ServerFault question, though it has something to do with server settings, the main issue might concern some programming. I use Wordpress as my blogging platform, only problem: Using the online admin is just too slow. Uploading images, waiting for the text editor to load, even the login screen just feels a bit...