wordpress

Conditional URL Rewrites in WordPress

I'm hosting an event and using WordPress to manage the site. We have a separate table (not WP user table) of attendees and I'd like for each of them to have a page on our site: example.com/user1, example.com/user2, etc. I've been reading up about WP_Rewrite but am a bit confused about how to conditionally redirect if the user exists, ...

Why should define('RELOCATE',true) be removed from wordpress config?

It seems that using the define('RELOCATE') command is a convenient tool to perform site development using a local database and webserver, then to upload into production. Otherwise, its necessary to perform SQL REPLACE commands to update all the URLs in the posts, media and other content. The Wordpress codex specifically states that i...

Posts in Custom postype not visible on frontpage wordpress

Hi, I have created a custom post type restaurant. But Its not coming on the main page. But I'm able to see the post in single view when using the permalink. Is it that I have to make any changes in the index.php? If yes what changes? I'm using the default Twenty Ten theme in wordpress 3. And how can I get only the custom post type in a...

Giving different Post page for same type based on category or Custom Taxonomy

Hi, I'm having a site which has option to add hotels and restaurants. Both for them has different custom fields which i have added meta boxes with a plugin. But the custom fields of hotel are not needed for restuarant and vice versa. So what I want to achieve is create extra menu on admin panel saying Add Restaurant & Add Hotel. When c...

I can't log out in website developing with wordpress and facebook connect

I was using facebook connect in my website(CMS-Wordpress). The problem what I'm facing is user can't logout after logged in. It drives me crazy. Anybody got that problem and how fixed it? Let me share your experience. ...

GoogleMail classing newsletter as spam

I have a Wordpress website which uses the Subscribe2 plugin to send out a weekly email newsletter. Each week my newsletter has been sending out fine, but for the past two weeks, the newsletter has been caught by GoogleMail's spam filter. It goes to other addresses fine. I need to fix the Gmail problem if possible. I'm using settings to ...

How To Change Default Image Thumbnail Sizes in Wordpress

Hey.. quite embarrassed to ask this actually - I should be able to find this on Google, but because of all the new WP functionality as well as the older methods of doing this in older versions are riddled all over Google Results that I have resorted to leverage the knowledge of a good samaritan out there somewhere. I already know how t...

Remove "Get smart with the Thesis Wordpress Theme" on wordpress footer.

Hello guys, Been spending a couple of hours trying to remove this texts on the footer "Get smart with the Thesis" on my wordpress site. I used thesis theme. I've tried looking for the footer file containing the texts but no luck. I also tried removing it from the hooks. "custom_functions.php" but still doesn't work. Any help would great...

Inserting custom PHP code into a certain WordPress page

I'm in the process of integrating certain functionality into a WordPress site. I'm looking for a way to get this feature to work within a WordPress environment. (It's basically a page that lets users search certain things in a database.) The site's current CMS allows me to insert custom PHP code into a page, so I wanna know if it's poss...

making png transparent in ie6 with wordpress site

i'm running a wordpress site and when viewing the site in IE6 i would like it to show my png transparent instead of with a grey background, anyone who can help? found solutions but the make me confused since wordpress has different tags to work with ...

Wordpress Permalink hide directory name

Dear readers, my Wordpress installation is placed in the directory named /wordpress. I have activated custom permalinks as /%category%/%postname%/ What is the rewrite code in order to hide directory name "wordpress". I need myblog.com/category/post instead of myblog.com/wordpress/category/post thx... ...

drag and drop the widgets

I want to make something like iGoogle in WordPress, in which I can drag and drop the widgets. How could that be done with HTML 5? ...

WP ecommerce – Flow Player not working on product pages

I've got flow player working within Wordpress WP-ecommerce module. But for some reason the player does not work on the products pages. Any Ideas? ...

Wordpress 3 multisite - Grabbing another blogs menu

I have a wordpress 3 Multisite setup with 2 sites, blog1 is the main site. And blog2 is a subdirectory of blog1. I have created a menu in blog one that I can call using wp_nav_menu, now in blog2 I want to show that same menu linking to blog1. Is there a built in way to do this? ...

Wordpress help show post categories dependent on page

I wanting to show a particular post type dependent on the page, so for example I have a blog post type, and I want to show that when the user is at /blog and I have a link post type and want to show those when the user is at /link. Is that possible currently I have this code in my index.php <?php get_header(); ?> <div id="content"><!-- ...

importing jquery into wordpress

Can you import jquery into wordpress when you're not using <?php wp_head(); ?> i'm just beginning with wordpress and didnt include that in my theme, when i add it now it meses some things up and since i only have to add 1 more thing with jquery i dont want to do the hassle of fixing those things, so i just need to add jquery without the...

FullCalendar wordpress plugin: How to hide inactive days in other months

Hi I am using the Kino Calendar Plugin for wordpress and noticed that it uses the FullCalendar script. I would like to hide the dates from the previous and next months that are inactive. At the moment these days are greyed out but I would like to remove them completely thereby leaving just a blank cell. Is this possible and how would ...

Page Navigation Within a Post with Specific post_type defined not working in Wordpress

http://lakers.sonikastudios.com/gallery/sample-gallery-post-1/ That post has several pages using the quicktag of Wordpress. This post is also is a custom post_type.. using the following code in the functions.php in the theme template. add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_ty...

How can I apply regular expression to filter a string

How can I apply regular expression to filter only [video src="http://duel.evotechaustin.com/wp-content/uploads/2010/09/kramer.m4v" width="480" height="360" id="b-test" class="player" ] from the following string Is simply dummy text of the printing and typesetting industry. [video src="http://duel.evotechaustin.com/wp-content/upload...

Filter only shortcode from a post

Hi, I am using a contact page plugin for my blog.The shortcode using for this is [my-shortcode]. Is there anyways to filter only the shortcode from the content. Eg: Test post [my-shortcode] Demo widget.here i need to filter only the shortcode.Thank you ...