wordpress

Can I integrate a Zend-Framework powered web application into a wordpress site?

I have a project in which I want to be able to call wp_list_pages() on a page that also uses the Zend Framework to power some complex interfaces manages custom data outside of wordpress. This page should also redirect the user to the wordpress login screen if they're not already logged in with the appropriate level of authorization. Ho...

Is there a way to programatically enable a widget from a plugin in WordPress?

I've got a plugin I wrote for wordpress and I need to have the Pages widget enabled for everything to work properly. It would be nice if I could enable it myself in the plugin rather than requesting the user to do this. Do you know of a way to do that? G-Man ...

Creating relationships between posts in WordPress

Is there a way to create an exlicit relationship between two posts in WordPress regarless of what categories those posts might be in? The idea is that within the post template it would be obtain and list the related posts for the current post. I'm guessing you could achieve this using tags to group posts together, but that seems to be ...

hyperlink on php

I'm working on a wordpress template and need to add a hyperlink to the cartoon bubble at the top of the page. The bubble, as far as I can tell, is php. Where do I insert the href? <h1><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1> The href should point to www.ojaivalleynews.com The blog url is www.ovnblog....

URL Rewrite on IIS7 for Wordpress

I am using shared hosting with IIS7 and support for PHP. I am trying to run a wordpress blog with "pretty urls" (removing index.php). The hosting provider doesn't want to install the URLRewrite module, so that option isn't available to me. I found a plugin for wordpress that will remove the index.php from permalink URLs and changing the ...

URL Rewrite with two distinct blanket redirects (one for WordPress permalinks)

I have a relatively complex .htaccess file to control page requests, this currently redirects all requests of files (with some type exclusions) to an index file, with an exception of one directory that includes a WordPress installation. I now need to enable the WordPress PermaLink support but I'm having some difficulty modifying the .ht...

prototype and jQuery peaceful co-existence?

I know very little about JavaScript but despite this I'm trying to cobble something together on my wordpress blog. It's not working, and I don't know how to resolve it, and hey, that's what StackOverflow is for, right? Firstly, the error message is: Error: element.dispatchEvent is not a function Source File: http://.../wp-includes/js/p...

website creation - for non web programmers?

I thought I would find decent questions and answers for this, but none really caught my eye... I am a C++ developer and I own a few domains. I'd like to start off with simple web sites for each with a minimum of time and fuss and minimum learning. I have too many projects going and don't have the time to learn how to build websites. ...

Username in Wordpress 2.7 Admin not changing based on user

Thanks in advance for any help, guys and gals! I just upgraded to Wordpress 2.7, and have to admin accounts, but regardless of which one I log into, it still says "Howdy, Jesse..." in the top corner. Anyone have any insight to this? ...

Wordpress options

Hello again! today i'm in a asking spree :P Anyhow... Right now i'm developing some free wordpress theme. The problem is that i want to make it as flexible as possible so that's why i will use some themes options to set some CSS colours, some widths and so on. My question is this: If i assume that one of this themes will be used for a...

Filtering Custom Fields in Wordpress Plugin Dev

Hello, I'm wondering if it's possible to add filters and actions on Custom Fields in a post? I have a plugin that extracts all <a> tags and converts them into trackable objects. This works great for the content and excerpt but I can't figure out how to filter the Custom Fields. I've tried calling the below: add_filter('the_meta', 'fu...

Wordpress Category ID vs Eval Issue

Hi Ok this is a little complex. I am creating a plugin, and want to find the category ID from the Post page. That's the easy part. What makes it complex is I am doing it within an ob_start (started in a 'template_redirect' action) as I want to edit the full page before it is returned to the browser. Again that is easy enough from the ...

WordPress: Useful plugins for building a user manual?

What are some recommended WordPress plugins that make building an online user manual more effective? I've been browsing the plugin directory, but was wondering if anyone has already been down this path and could make some recommendations. Edit: Doh! Using a wiki didn't even occur to me until these responses! I started building a site us...

CSS, WordPress and IE

I would like to position three items in CSS using float. In the top left--logo To the right of the logo, the navigation, which is an unordered list, ie floating left. In the top right, a 2 line sign up for newsletter field--copy top row and form field with submit bottom in the second I've given each it's own Div tag but can't see t...

Wordpress Plugin to Generate non-numeric slug / permalink for posts without titles? (1 post)

I've been looking for this all over, and simply cannot find it. I have a blog that has no titles in its blog posts, but I'd like, for various usability reasons, to have the permalinks use the first few words from entries that do not have titles as the permalink slug. ie, if the post on sample.com/blog is Title: (no title) Content...

How to customize wordpress "comment error" page

If you enter incorrect information into the comment forms (missing name, email etc), wordpress returns an empty page with the relevant error message. I googled, but couldn't find a way to customize this response. Does anyone know how to do it? ...

Getting the Wordpress Rss file

I'm running a wordpress blog and would like to access the actual file that creates the feed. Unfortunately when I do that it throws up a lot of errors because it's using a lot of functions. My current best idea is to make a duplicate file that doesn't need those functions or has them hard coded in but I want to get a 2nd opinion on this...

wordpress url resolution of subpages from within plugin

Say I have a Page "foo" in wordpress such that http:/www.blah.com/foo brings it up. Say this page has a trigger within its content such as <!-- foo --!> which is being tracked by my plugin through the add_filter('the_content', ..) filter. So, all calls to http:www.blah.com/foo and http://www.blah.com/foo?var=bar are picked up by the plu...

Wordpress Blog :: 500 Internal Server Error

Hi Everbody, I am getting this error message while trying to access a wordpress blog which is installed in a directory. Is this due to .htaccess or something? Any help is appreciated. 'The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmas...

How to distinguish between user roles in wordpress?

I am trying to limit what content the subscribers can see but nothing I do seems to work. I have spent hours trawling the web and through the wordpress code, all to no avail. Does anyone know how I would be able to go about this? Ideally the code structure would look like: if(get_role() = 'subscriber'){ redirect } Thanks Inciden...