wordpress

Is It Possible to Alter the Displayed URL from the Actual URL?

I posted a question the other day about how to change the displayed URL on a Wordpress-generated page, specifically from something like "mysite.com/?cat=3" to just "mysite.com". I got a few replies that steered me towards doing some type of redirect with .htacess. After some research and experimentation, I realized that it's not so muc...

How do I integrate ASP.NET Membership in PHP sites?

I am looking to use an open source CMS/blog site like WordPress or Drupal. I need it to work with the ASP.NET Membership I already have running my current website and community site. I am assuming I need to muck with (hand write) some cookies to pass back and forth. So how would/have you done it? I am looking for creative ideas on how ...

Switching from Wordpress to Drupal Search Engine Problems

I have been running a WP site for a little over 6 months now and I'm beginning to run into WP limitations on post styles (yes, I know about WP3's post types). I would like to completely change the site over to Drupal, but I'm worried about the Search Engine effects. For instance: We have finally just put on many pages images on Google ...

Url rewrites for unique site names in Wordpress Multi-site without subdomains or subdirectories?

Is there a way in multi-site WP3.0 to provide unique site names without using subdomains or subdirectories? For example, my multi-site name is sites-d.ourdomain, but I want the urls for each site instance to look like this: [site1].ourdomain (instead of sites-d.ourdomain/[site1] or [site1].sites-d.ourdomain) Our clients expect to have ...

Wordpress: Removing the last comma for tag list

I've created a custom foreach output that helps give me a tag id per post. I'm using commas to separate each tag. However, the last tag outputs a comma too, like this: kittens, dogs, parrots, (<-- last comma) How should I go about revising the foreach output so that the last comma is removed so it displays like this: kittens, dogs, pa...

Will wordpress login functionality do anything?

I'm building a website and I've decided to use wordpress for the totally public parts (e.g. the blog, about us, etc.), but I still want to have a separate area for registered users of the website that would contain user specific info and options (like chat). My PHP knowledge is limited, but I can learn how to code login scripts etc. if ...

WordPress 3.0 getting list of custom pages

Hey everyone, Is there a way to get a list of all the pages of a certain custom page type I've defined into a as you would with wp_list_pages? Thanks a bunch, -scott ...

Best way to layer Custom Posts regarding structure and data

Hello All, I would like to know the best method for layering posts in wordpress 3.0 when you need to swap back and forth between structure and data. For example, custom post type 1 has 6 custom fields, each field contains a value for the tab shortcode; i.e. [tab:data] [tab:credits] [tab:where to buy] etc - this type is standard every ti...

how can replace some of words when I added post from

hi , my friends .. I want to design a small plugin .. it is work is: when the user write a post for example : << WordPress >> widgets are the dynamic objects which eases the customization of the content on << sidebars >> and widgetized << footers >>. << Widgets >> allows drag-n-drop interface in the Dashboard << admin panel >>, for ea...

wordpress plugins using '&' not '&amp;'

Some Wordpress plugins (one is MapPress which uses Google Maps) use ampersands in their links but do not convert them into the correct HTML character entity: &amp; This invalidates the markup and is very frustrating! Is there any way to convert the & to &amp;? I've searched for a long time and found no solution, but have read a lot o...

How to use wp_enqueue_style() in my WordPress theme?

I am building out my first WordPress site for a client. I really want to use LESS for CSS and found a WP plugin named WP-LESS. Now, I am total WordPress newb, but it appears that this plugin requires me to use a function called wp_enqueue_style() to tell WordPress to process the .less file. I can't figure out where I use this function....

Is there a way to exclude domain from link generation in wordpress

I have a website that responds on *.domain.com. Going to x.domain.com or y.domain.com should produce the same web page. What * is I do not know, but it is and important piece of info since we track things based on it. When moving to wordpress we ran into a pretty severe problem. It seems to generate links (using get_page_link) with t...

Wordpress - Contact Form 7 Not Sending to Certain Email

I am using Contact Form 7 with Wordpress, but I am experiencing an email compatibility issue. I have the form setup to email to [email protected], domain.ca being the domain of the website hosting the site. The email address exists and works great, however the Contact Form keeps failing on send. If I change the email address to any of my...

How to Check if Current Post is the First or Last Post in Wordpress

I checked Google and went through the Wordpress template tags but I still can't figure this out - in the single.php template file, which is the one used to display a specific post, how do I check whether this post is the most recent one OR the oldest post? Essentially I need to know whether this is first or last post out of all my posts....

HTML to WordPress 3 Process

Hi, I am in the process of learning WordPress 3 and have a 5 page HTML website with whole header, sidebar, content and footer, that I would like to convert into a WordPress theme. Can people pls provide some assistance on the best way to do this? Any useful online tutorials that people recommend would also be ideal. Thanks. ...

why wordpress using two column to store post date

I see wordpress database on wp_posts table, there are 2 columns to store post date, post_date and post_date_gmt post_date_gmt store the post date in GMT time. And post_date store post date in user time who create the post. Am I right? Is there any benefit to store both version of post date on database? Is it faster to store both versi...

Wordpress - HTML Entities are being Displayed

Hi, I am currently developing a Wordpress site, and everytime a comment, page or article is added/retrieved, the HTML entites in the text are encoded, particulary single quotes/double quotes, like #089A. Is there a setting or something that can be enabled/disabled that does this? I've tried the usual Google searches but alas I can't f...

wordpress query trouble

EDIT: heres my file thats running the query maby its something else acting up - http://pastebin.com/4Cw3xMEM this works as a direct query in SQLyog SELECT * FROM wp_posts WHERE post_status = 'publish' AND post_type = 'post' AND YEAR(post_date)=2010 ORDER BY post_date DESC; it returns the three posts which are from 2010 but when i...

Wordpress, a good search plugin?

Hi, I'm looking for Wordpress plugin that just improved the search results, but doesn't add the the search box. At the moment wordpress isn't even doing plurals. So does anyone know a good plugin that will make the search a whole lot better? ...

How do you authenticate a Wordpress front-end against a RESTful Grails-driven backend?

I'm developing a Software as a Service offering that other developers can use to integrate into their own sites running on Wordpress (and eventually other platforms). The backend will run on a set of REST webservices using Grails. I want to create a set of Wordpress widgets that can automatically hook in to my web services. The wordpres...