wordpress

Wordpress Shortcode in Theme, Trying to use Gallery

We are using SuperSlidShow Plugin to display gallery of images in our post. However when I write shortcode [gallery] in my post/page images appear correctly, but can anyone guide me if I want to fix this [gallery] shortcode in the theme itself like page.php/post.php so that images will appear on all pages. We have images for every page/p...

Wordpress not listening to my configurations!

I setup a wordpress site using the gallery theme by chris wallace. I cannot find an answer to my question on his site or any others that have discussions on this. The detail page after the thumbnail is clicked will not post with the width and height limits I have set it wordpress. An example is at http://artalchemy.biz/?p=231 I can upl...

How can I get Wordpress archives by author username?

I need to get archives of one author and exlude all others, Wordpress wp get archives() doesn't have that kind of filter. How can I fitler all other others except one author from archives? http://codex.wordpress.org/Template%5FTags/wp%5Fget%5Farchives <?php wp_get_archives('type=monthly'); ?> ...

Wordpress - multiple WP Query objects into one?

In Wordpress it's possible to create own WP Querys for the loop. An example is this: $my_query = new WP_Query(array('post_parent' => 3, 'post_type' => 'page')); Another example is this: $my_query = new WP_Query(array('cat' => 1, 'post_type' => 'post')); I want a loop that presents pages AND posts from the same loop. Now to my ques...

htaccess Redirect Scenario, featuring WordPress

I'm no good at anything that requires regular expressions - this includes redirects. I need to redirect all subpages to a particular subpage. Everything I've tried either fails or causes an infinite redirect loop. Example: Say I want everything under the domain to redirect to www.test.com/fubar (but obviously not /fubar) This seems li...

Dropdown menu in IE6 inserting too much width, not dropping-down

I have a CSS dropdown menu which is working great in IE7, FF, Safari, and Opera (on PC, haven't been able to test on Mac yet). Unfortunately in IE6 - which my clients on this project are all using, urgh - the menu stretches too wide and covers the site logo. Also, none of the dropdowns work. To some extent I could live with the dropdo...

jQuery lightbox plugin change apperance of my wordpress site

I just installed the jQuery Lightbox Plugin on my wordpress blog. But that totally changed the apperance of my menubar. Before, it was about 40-50 px high and contained my menu links, but after the installation the menubar - that is, the background of the menubar - is now only ~5-10 px high. The links are still the same height and change...

Wordpress blog date function

Hello, I am using a Wordpress blog theme created by someone named Scott Wallick. Here is his website. FYI, I'm using the "Barthelme" theme. Anyway, this theme prints out the date as follows: August 5, 2009 is displayed as "2009 08 05". I would like to change the display to the following format: 5 Aug 2009. How do I do this? I fo...

Is it legal to remove link to Wordpress' site?

Most Wordpress themes have link to Wordpress' site in the footer. Is it legal to remove link to Wordpress' site? PS: I know that I can enclose the link in nofollow/noindex tags, but I want to completely remove the link. ...

WordPress Menu with Superslide show

We are using the WordPress with Superslide show, the problem is menu is hiding behind the slide show how can we avoid thisand get the menu above the slide show? http://eaglesnestbe.neurospeech.com/site/?page%5Fid=515 ...

Convert the wordpress YouTube tag to an object embed

If a few of you are unfamiliar with Wordpress's YouTub tag, it looks like this [youtube=http://www.youtube.com/watch?v=ooCLnrmIRFo&amp;feature=related] I am not very good with regular expressions, and all I have found out how to do is get from everything in between "[youtube=" and "]" using the following, but i need the value of "v". ...

Help with hooks and taxonomies: Modifying the posts query in wordpress?

in wordpress you can do the following: http://example.com/tag/jazz,blues/ (returns tags page with posts tagged with jazz OR blues) http://example.com/tag/jazz+blues/ (returns tags page with posts tagged with jazz AND blues) I want to be able to do the same thing with other taxonomies other than the "tag" taxonomy. I've created a "mus...

assigning "active" class to navigation--wordpress

I need to assign an "active" class to my main-level navigation rendered by wordpress. Here's my HTML: <li><a href="/">Home</a></li> <?php wp_list_pages('title_li=&exclude=21'); ?> ...

Dynamically change url or WordPress theme if UserAgent is iPhone.

Is there any way to do this? My website is http://kennethreitz.com. Its driven by some moderate PHP on top Wordpress. My options are to detect if the user is using an iphone, and if they are either a) tell wordpress to load a different "theme" that i have written. b) if this isn't possible, have a different wordpress installation on ...

How to auto activate WordPress widgets? (New Widgets_API WP_Widget class)

Hello, I gave up on this finally. I am developing something on WordPress 2.8.4. I am impressed by the ease of new widgets API which allows you to use extends WP_Widget and create widgets that have multiple instances easily. But I am facing a problem. How can I auto-activate the widget on theme activation? I've tried to use: add_actio...

C# XML RPC = Response not valid XML RPC - Using CookComputing XMLRpc.net

I develop an open source project called JoeBlogs - it's a C# wrapper for Wordpress, and other blogs. Here's a post on using JoeBlogs http://www.alexjamesbrown.com/geek/using-joeblogs/ Recently, i've had a lot of comments that people are getting an error on the CookComputing component: “Response XML not valid XML-RPC – missing methodRes...

In WordPress, restrict number of posts a user can post in a day

I run a website where registered users are Authors and can post to the front page. This is a community, but after we left beta and started welcoming users, some wierd people start posting random posts to the front page. We use WordPress and a modified version of P2 (but just the visuals) and I am wondering if there's any way to limit th...

Dynamically loading posts with Wordpress

This helpful idea from Andy Gaskell supports 50% of my next question: I'd like to load posts dynamically with WordPress. Fetching them with Andy's function does work, but How do I bind the load to each and every one of the posts? Can I insert PHP generated content (post permalink, for example) to the JS script? Thank you. ...

WordPress : highlight parent categories while browsing category

Hi, I have a category structure like this in WordPress (that is echoed with wp _ list _ categories): Works Photos 1990-2000 Photo #1 Photo #2 Photo #3 2000-2010 Photo #1 Photo #2 Photo #3 Paintings Watercolor Painting #1 ...

PHP No return from a function in another file...

I have one file with a form, that includes another to process that form. The file with the form calls a function in the included file to write data to the database, and then I return an $insert_id from that post so I can reference it in the output. For example, when you fill out the form on the page, the data is sent to the db from a s...