The 3.0 tag is for questions that are specific to the 3.0 branch of WordPress.

learn more… | top users | synonyms (3)

1
vote
1answer
961 views

How to get pages id in array in get_pages?

$page1 = get_option('home_page_field'); $page2 = get_option('home_page_field1'); $page3 = get_option('home_page_field2'); $page4 = get_option('home_page_field3'); $arrData = array( $page1, $page2 , ...
2
votes
1answer
2k views

How to add another page in appearance tab of admin panel?

Currently I am working on Wordpress and I want to know can I add 1 more page in admin panel appearance menu so that it looks like this: ? Appearance Themes Widgets Menus Editor I want to ...
3
votes
1answer
291 views

Querying multiple WordPress custom fields with AND qualifier

Array ( [post_parent] => 101 [post_type] => page [posts_per_page] => -1 [orderby] => title [order] => asc [meta_query] => Array ( [0] => Array ...
1
vote
1answer
963 views

Custom Post Type post ordering not working

I'm having a problem with entries for a custom post type not being ordered as expected inside a custom query: <h4>Related projects</h4> <?php $rp_args = ...
1
vote
1answer
530 views

Access post meta in future_to_publish function

Why am I having trouble accessing post meta data in a future_to_publish add action in functions.php? I have tried: function post_to_twitter() { global $post; $url = ...
1
vote
1answer
1k views

How to insert content from another Custom Post type into Post?

Say I have a custom post type called "Performers". This gets populated with different bands/performers. These posts have a featured image as well as custom fields (mp3 file, facebook link, myspace ...
0
votes
1answer
610 views

Get the post attached to a image attachment

Assuming I know the image attachment ID, how can I get the post permalink to which is attached (if any) ?
1
vote
2answers
910 views

Javascript Solution Remove Specific Tag but leave the rest in a specific DIV

I have a div structure that looks like this... <div class="gallery_lightview"> <div id="lg_image"> <a ...
0
votes
1answer
301 views

Post thats in Two Categories, only want to display name for one

In my Wordpress site I've created, I'm having issues hiding or not displaying one of the category titles I set up. I'll try to explain better. Wordpress Admin Side I have a post that is in two ...
0
votes
3answers
2k views

Get wordpress taxonomy slug name(s) to use as div class

I'm trying to mark up my posts using their custom taxonomy slug as the div class so that they can be filtered... So far what I have displays the taxonomy name but what I need is the slug so I have a ...
0
votes
1answer
935 views

How to query details of images in gallery that is attached to a post

I have several images attached to each post. I need to generate a gallery, but because it's heavily customized I don't want to use a gallery plugin, nor the gallery short code. It's also situated in a ...
1
vote
1answer
1k views

plugin for wp_list_categories with posts

Is there a parameter that can be passed to wp_list_categories, to get a certain number of posts from each category? Or a plugin that does something like that? A similar question was in the Wordpress ...
2
votes
1answer
154 views

Sub-Sub-Blogs — creating and importing content into a custom sub-type

Description: The university radio station I volunteer at uses WordPress 3's Network Mode for the entirety of its web content. It uses the format: Top-Level (.com/*) -- Basic station information, ...
0
votes
3answers
261 views

Free paypal cart solution [closed]

Does someone some good & free paypal cart solution for wordpress? I was looking at phpurchase.com, that looks good but I don't want to buy it since it's for a test project.
0
votes
2answers
2k views

WPML Plugin Not displaying multilingual Menus

I'm using WordPress 3.0 Menus, which the WPML (wordpress multilingual) plugin claims to have added support for in a recent release. I am using the most current version of the plugin. My problem is ...
1
vote
1answer
546 views

syntax highlighting for theme-editor.php?

Is there any syntax highlighter for wordpress. This is not to post code snippets on posts but for the backend/theme editor of wordpress. If not do you think it will be implemented in sometime future? ...
1
vote
3answers
746 views

Show posts on a page based on a category and tag(s)

I have been looking all over the internet for this, and have not yet found an answer I could use. Found out that I may can use something called query_posts or get_posts, but I have no idea how to use ...
0
votes
2answers
696 views

Custom Post Type, Custom Columns List

I've basically done a full plugin and now just "prettifying" it sort-of. One thing I'm doing is re-doing the columns for listing the "posts" I made. This part is fine, and all columns are replaced as ...
0
votes
1answer
503 views

Updating post meta for custom post types

I'm writing a plugin for work (still) and having one more issue. I've added my meta boxes as needed. However, the problem I'm having occurs when saving the post. My snippets for saving pretty much ...
0
votes
4answers
3k views

Make wordpress generate a custom XML file(not a sitemap) that is updated only when new content is posted?

I'm not looking for a sitemap, I'm looking to create an xml file that I can have a flash menu access, but I don't want to generate the XML file each time someone visits a page, I want to have a static ...
0
votes
2answers
536 views

Custom post types - remove default post supports through empty array?

I recently asked a question the other day and got what I was looking for. Today I put that knowledge to practice, but I can't seem to figure how to remove the title and editor fields from the "edit" ...
0
votes
1answer
136 views

Is it necessary to use Timthumb in Wordpress 2.9+?

as Wordpress 2.9 comes with built in post thumbnail features, is it necessary to use Timthumb ? if yes specify
1
vote
1answer
705 views

How to get multiple Action Hooks in an Array

Hi I am writing a small plug-in which I get some content from outside of WordPress and I want a small script to trigger whenever a new post, page or comment is added. Also if any Widgets, themes and ...
1
vote
1answer
103 views

How can a single line in a blog post take down my server?

I've been trying to write a post about a simple Windows Powershell script for the last few hours, but when I try to preview the post with the script included, it takes down my server. Unfortunately ...
0
votes
2answers
3k views

WordPress pagination with custom post type?

I have searched all over the web to find some solution, but none of them are working for me, can someone help me with this and explain what is wrong? I've spent 3 hours debugging and didn't find the ...
1
vote
2answers
764 views

WP Super Cache separate cache for mobile

I'm using the WP Super Cache plugin and inside my theme I have code that executes differently if the site is viewed on a mobile device (iOS, Android) than a desktop browser. How do make WP Super ...
2
votes
4answers
740 views

Open external links in a new window

Is it possible to make some sort of change or add a plugin that allows me to make every 'external' link open in a new window? Just an example: if my blog was called http//timmy.com/ and I wanted to ...
0
votes
2answers
1k views

WordPress : using AJAX to get posts & Sidebar Content to an external application

Hello friends I am trying to get my wordpress posts to display in a non- wordpress application. Currently I am getting them by using the following method. My wordPress page is something like this: ...
0
votes
3answers
444 views

How can I create a permalink with two categories, with the order based on the parent category?

Basically, I'd like to create a category permalink like example.com/books/adventure without having to make adventure a child-category because it will apply to other categories as well. So the end ...
1
vote
1answer
1k views

Best and Cleanest way to remove /category/ from category permalinks? [duplicate]

Possible Duplicate: Remove parent category from permalink? Basically only have the child category? We've seen plugins to do this, and a lot of people with different code modifications. We ...
0
votes
1answer
392 views

inserting uploads into subdomain

I have my wordpress blog in the root of my website (example.org) and would like to store uploaded files in a subdomain depending on type of file, for example I currently have ...
0
votes
3answers
151 views

2.9 to 3.0: Pros and cons of upgrading?

I have a wordpress blog running 2.9. I haven't made many mosts yet. I am considering upgrading to Wordpress 3.0. What are the pros and cons of upgrading? Will 3.0 increase security? Is there less ...
2
votes
3answers
893 views

Is there a way to create invisible pages?

I'd like to add a page that does not appear anywhere on the site (especially not in the header or wherever your pages are listed) unless the URL is typed in directly. Additionally, the page/post ...
0
votes
2answers
495 views

What Wordpress Hook Is Used Before Signup Data is Saved?

I need hook which is working before signup data save on new user and blog registration on BP or WP 3.0.3. Any help would be greatly appreciated.
2
votes
2answers
1k views

sanitize attachment filename

I'm looking for a way to sanitize the filename of user uploaded attachments. I thought that wordpress already did it but I faced preblems after an user uploaded an attachment containing a '°' . That ...
2
votes
3answers
2k views

Archive Listings Filtered by Date Values in a Custom Field/Post Meta?

(Moderator's Note: The original title was "using archive by date with a custom date") I'm adding an additional date to posts as a custom field. Now I want the archive to show posts by the custom date ...
1
vote
2answers
2k views

Best way to pass arguments to another page in Wordpress

What is the best way to pass arguments to another page in wordpress. I did it this way : <a href="get_permalinka(id_of_page).'/&i=2&j=3&k=4'">Link/a> I get this arguments with ...
2
votes
1answer
523 views

Does WordPress Allow Blank/Empty Comment Submissions In WordPress?

I've got a great Comment Form and Threaded Comments setup by using the native WordPress functions: comment_form and wp_list_comments. However, I'm trying to also create a custom Contest Comment ...
3
votes
2answers
263 views

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?

What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner? How to disable hosted Wiordpress feed completely and use feedburner?
2
votes
4answers
4k views

using upload image with media_handle_upload .. but !

I'm tring to upload image in wordpress by using some function .. I found the way to upload images but there are one problem .. when the user upload his image , wordpress create more than one image ...
1
vote
1answer
250 views

add JS to multiple plugin admin pages

For a WP Theme with multiple admin screen (got its own main menu and some submenus), I want to add a common Js script to load on (only) all these pages. I know how to acheive this using the pagehooks ...
0
votes
2answers
1k views

More tag - how do I remove preceding <br>?

Can anyone advise on how I can remove the preceding <br> tag when a post's "read more..." tag is generated? Any advice appreciated! This is the code that's generated - <p>blah blah blah ...
2
votes
1answer
318 views

Add filename to attachment page url

I wan to change my premalinks to attachment pages from http://example.com/.../attachemnt/something to http://example.com/.../attachemnt/something/something.jpg It should simply add filename but with ...
9
votes
2answers
2k views

Update widget form after drag-and-drop (WP save bug)

I've posted a bug-report about this a few months ago (on WordPress trac (Widget Instance Form Update Bug)) and I thought I'd try writing about it here too. Maybe someone has a better solution to this ...
0
votes
2answers
249 views

“An automated WordPress update has failed to complete - please attempt the update again now”— But there is no .maintenance file

I am trying to manually upgrade my wordpress to the latest version (3.0.3)-- after autoupgrade fails. After the upgrade everything works fine except for one little nagging message at the top of my ...
0
votes
3answers
131 views

Any Good Analytics Plugins for WordPress? (standalone)

Recommend any good analytics plugins you may have used and found useful. Reports such as site traffic by page, point of entry, top out going links, browser and OS information. The plugin may be paid ...
8
votes
8answers
13k views

What does l10n.js do in WordPress 3.1? And how do I remove it?

I just installed WP 3.1 Beta 2 on my test server. I noticed that it ships with a new l10n.js file that gets automatically inserted into the header. I did a bit of digging and it has something to do ...
0
votes
1answer
258 views

How to replace blog page url with subdomain at all places, even in xml sitemap?

I've a blog page in wordpress site at http://website.com/blog I want this should be accessed with http://blog.website.com and even the any blog article's link should be ...
0
votes
4answers
3k views

How to move the wordpress site from test url to main url? [duplicate]

Possible Duplicate: Easily Move a WordPress Install from Development to Production? I Setuped a Wordpress site on http://domainname.com/test/ now I want to move everything to main domain ...
2
votes
2answers
224 views

Comment filtering (search)

Basically I want to develop the ability to search comments on my site. A form with input field where the visitor can enter a search string, which tells WP to display only comments that contain that ...