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

learn more… | top users | synonyms (3)

2
votes
1answer
1k views

How to import custom data via XML, CSV, etc

We have about 10 years of custom blog-style, databased content that we want to import into a clean install of Wordpress. There doesn't seem to be an importer plugin that works with custom databsed ...
-1
votes
2answers
523 views

Upgrade to 3.1.1 Fails

When doing an automatic upgrade, I get this: Downloading update from http://wordpress.org/wordpress-3.1.1.zip… Unpacking the update… Could not create directory.: /public_html Installation Failed ...
0
votes
1answer
977 views

How to programmatically bring back “excerpts” field in post editor in WP 3.1+

My theme uses some custom options fields, like post excerpt, that were removed from the editor screen with WP 3.1 I understand and support the intent to clean up the content workspaces. However, as a ...
1
vote
0answers
328 views

Custom taxonomy permalinks and custom post types [closed]

I have set up a custom post type called "Portfolio". I have asigned this custom post type 2 taxonomies, "Clients" & "Service". The portfolio homepage URL is as follows: ...
1
vote
3answers
4k views

wp_get_archives for a specific category?

I've been pulling my hair out on this one - I need to hard code in wp_get_archives() for a specific category into a template. This post was useful: Category Specific Archive but, as with all the ...
1
vote
1answer
587 views

Custom Post Type - List all attachments on Edit Screen

I'm currently building a custom post type in Wordpress and I need to be able to list all attachments inside the edit screen. I know how to do this on the front-end template, but anyone know the code ...
2
votes
4answers
1k views

WordPress 3.1 removing 'category' from the slug

Is there a way to remove 'category' from the slug when viewing posts in a particular category in WordPress 3.1 without it breaking? My client is asking me to remove it, but it seems necessary - I get ...
8
votes
6answers
5k views

How to *remove* a parent theme page template from a child theme?

I'm using the TwentyTen theme to create a child theme, but I can't seem to get rid of the 'One column, no sidebar' page template that is in the TwentyTen parent theme. I thought just copying it over ...
1
vote
1answer
7k views

How to link external javascript files?

I am working on a custom Wordpress theme for my bosses website. I have everything working perfectly so far except for one thing... the external javascript files will not work. I followed the exact ...
0
votes
1answer
154 views

Create new network instance, import old single installs AND keep the urls?

I've two wordpress installs at example.com/blog example.com/otherblog What I want to do is install WP at the root, and have a network, but maintain the URLs. I'm confident I can install WP, and ...
0
votes
2answers
394 views

Site DOES NOT LOAD after 3.1 update

I recently updated my site to 3.1 and now the frontend of the site will not load. The weird thing is the admin section does load and is some what functional (sometimes the pages go blank and I have to ...
1
vote
1answer
1k views

Hide a page in the admin end without a plugin?

I'm creating a series of pages with iFrames embedded in them, but it seems the only way to do this within Wordpress (i.e. using the templating system) is to create pages in the admin end and then ...
0
votes
1answer
2k views

get_terms return errors

Hi when i try to get_terms(); in theme options via this code $catalogs_terms = get_terms( 'catalogs' ); $mycatalogs = array( -1 => 'Select a catalog' ); if ( $catalogs_terms ) { ...
1
vote
1answer
764 views

Automatically exclude categories from metabox based on title

I am designing a website which will be used as a school PA system. Users will be posting entries into categories named for specific dates that correspond to school assemblies. We have two assemblies a ...
1
vote
2answers
2k views

Front End Post Submit Form

I'm working on a site that is going to be community powered. It's going to have the form for registered users to submit draft posts, which will then be approved or deleted by the site's editors. The ...
3
votes
4answers
172 views

How to disable 3.1 “Admin Bar” via script for the admin user?

Every time I create a new site under 3.1, my first trip is to the Users > Admin User profile page to uncheck the "admin bar" checkbox. I'd like to place a script in my theme's functions.php to do ...
1
vote
1answer
394 views

Wordpress 3.1 .htaccess contents keep dissappearing?

I have Wordpress 3.1 installed in a subdirectory of a shared hosting account, it's a linux server and mod_rewrite is enabled and working fine elsewhere. The contents of the .htaccess file disappear ...
1
vote
4answers
2k views

What is causing this error? “Warning: Invalid argument”

I need urgent help figuring this out please - I've been working on a WordPress theme locally without problems, and now that I've uploaded it to the live server I'm getting this error: Warning: ...
1
vote
2answers
978 views

How to load a new template page according to a particular URL?

I want to load some of the pages(not wordpress page, a template file other than wordpress's default template file) according to the url came on the address bar. for instance, I have page in my ...
0
votes
3answers
203 views

Changing permalink of WordPress

I am pretty new to this and hence facing a bit of a problem. Currently I am designing a website on my localhost using WordPress. I noticed that the permalink structure wasn't very appealing in the ...
0
votes
1answer
319 views

Prioritising and Ordering Posts By Category Name Using A Custom Loop

I have a custom loop pulling out videos all assigned to various categories. However there is a category called "new-video" and I need to pull out all videos using my custom loop, but I would like the ...
0
votes
1answer
148 views

How to do multi site setup

A client wants to set up a multi site with tabs looking like this: | Home | About | Broker | Resources On the main site (meaning www.site.com), the links will be www.site.com/home, ...
1
vote
1answer
649 views

wp_nav_menu google analytics event tracking

I've got a WP3 custom menu, with a custom link in the menu, How can I add google analytics event tracking to that custom link. Thanks Alex
1
vote
3answers
967 views

How to add classes in the wp_list_category parent link

How do I add classes in the wp_list_category , I know the wp_list_categories('title_li='); generates classes , but I want to add a class in the parent category link <ul> <li><a ...
0
votes
1answer
370 views

Calling a php file from a javascript file in wordpress

I have a simple pop up form code written in javascript. It is in js/script.js folder inside themes folder. I am using jquery ajax method to communicate with a php file to store data in db. The php ...
4
votes
3answers
7k views

wp_nav_menu remove class and id from li

I'm new to wordpress and trying to learn my way through from making a theme. Right now I am using wp_nav_menu to generate my menu My menu consists of pages and categories However, the default ...
0
votes
2answers
135 views

Instant install of wordpress

I just think about that... maybe it exist...you will tell me... Wordpressis a beautifull software, and the thing i like the most, is the instant install of the theme and plugin... So i though, why ...
0
votes
1answer
192 views

Where is this query?

This query given below appears alot in my slow-query log. Can someone please tell me where can I find this query ? that will help me try to modify it SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM ...
3
votes
1answer
522 views

Post format selector in Thematic child theme post class

I'm having a very hard time implementing post formats in my Thematic child theme. I am able to add post format theme support and add content via the big conditional statement, but the .format-video, ...
0
votes
1answer
441 views

Document.body.scrollTop in Wordpress

I have a script that loads jQuery when an element comes into the viewport, as discovered by Javascript (without a library), and it looks like this: viewport.js: var height = 0; if( typeof( ...
0
votes
1answer
253 views

Making jQuery-based galleries with Wordpress without a plugin?

I've been racking my brains for the best way to create a simple gallery in Wordpress without relying on a plugin like NextGen gallery, and was thinking a shortcode would be a good way combined with ...
0
votes
1answer
272 views

WordPress - using sessions?

http://diovo.com/2009/10/using-sessions-in-wordpress/ This is working on one blog,but not on other,what could be the problem? How to find what is a problem? Tnx in advance
1
vote
1answer
240 views

File available but giving 404 in wordpress

Hey, im not sure why but php files other then wordpress either redirects to homepage or gives a 404. for example i have a timthumb.php in directory /js/ it was working fine and generating ...
0
votes
1answer
206 views

Wordpress FLIR (Facelift Image Replacement) plugin clipping off end of text

I'm using the FLIR for Wordpress plugin (v0.8.9.2) with FancyFonts enabled. I'm running Wordpress 3.1. The problem I'm having is that it appears the plugin is cutting off a couple pixels off of the ...
1
vote
3answers
2k views

How to display post title & excerpt when mouse hovers on an image?

I am bit busy with developing one fashion website, currently (http://test-domain.zakirsajib.co.uk/), where I have images come from posts and when mouse will hover on any image, the corresponding post ...
3
votes
3answers
2k views

Wordpress hook before inserting post into database

I need to do check the inserted post for certain keywords and perform some functions depending on the keywords found. is there a wordpress hook that executes "just before the post is inserted into ...
1
vote
1answer
298 views

Wordpress slugs and 404 handling takes preference over folders in site root?

I have wordpress installed and permalink structure set to /%postname%/ In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some ...
0
votes
2answers
353 views

List top 5 authors with most posts

How are you? I have a blog which have 20 authors. I want to write code to show the 5 author who have more posts. like this: Adam (10 Posts) Khal (8 Posts) Yous (5 Posts) Moha (3 Posts) Yousef (1 ...
0
votes
1answer
149 views

Not Found when using activity stream as front page with BuddyPress

I'm trying to create a Thematic child theme that uses BuddyPress. First, I tried using BuddyMatic -- which currently doesn't work with WP3. Next, I tried the BuddyPress compatibility pack -- which ...
0
votes
1answer
310 views

WP 3.1 custom post type permlinks

I know there is alot of discussion about the CPT and permlinks together with the 404. I did not found a solution though I am close. It would be great if someone could assist me to get it working. Ok ...
0
votes
1answer
1k views

Multisite subdomain-site redirects to primary site

So, here's the deal. I got one WP Multisite installed with 1 subsite. Im running the whole thing in subdomain "mode". I did the whole DNS-pointer (A *.domain.se) to the correct IP. Now the problem, ...
1
vote
4answers
1k views

WordPress multisite installation broke menu links

I am using the Thesis theme with my WordPress multisite installation. I also changed the permalink settings from the Super Admin settings to remove /blog/ from the path. But now my menu links are ...
1
vote
1answer
457 views

WordPress Multisite domain mapping with different IPs

Hey there, I have 5 different sites with 5 different IP's on cyberwurx shared account. How can I install wordpress multisite and use the domain mapping plugin and also keep my sites on different IP's? ...
3
votes
2answers
2k views

can I orderby one custom field and meta_query another in the same query

I have a custom query and I am filtering out events by custom field: event-month. I simple filter our the events that dont have a month_number = to date("n"); Its a pretty great little query, but I ...
2
votes
2answers
265 views

Is it ok to not a have child theme and just create a theme from scratch?

I would like to know if creating a Wordpress theme from scratch is good? because I know the template tags in wordpress and other tags ... ...but Will I get any future problems in here when it comes ...
0
votes
1answer
105 views

Wordpress 3.1 update has reversed my blog posts

anyone know why my blog posts are now all showing up in reverse order since updating to wordpress 3.1? So like my first ever post is showing up first and my latest post is on page 12?! any ideas how ...
0
votes
1answer
108 views

What is theme-editor.tmp?

What is theme-editor.tmp? It is located under wp-content.
2
votes
1answer
2k views

Custom post type permalinks breaking due to 3.1 bug fix

So I just updated a site to 3.1 that uses several custom post types. When I had made the site I had not noticed at the time the $post_type parameter for register_post_type has to be in all lowercase ...
0
votes
1answer
84 views

Wordpress Command Question

Ok would like to learn how to run commands through WP rather than SQL commands So I have created a text file named delete-non-authors.php to delete authors with no posts Do I need to add this to a ...
2
votes
3answers
827 views

Community and User Generated Content Website: Have been thinking about Drupal but leaning on Wordpress heavily

I'm a non-programmer and run a food website (plain - jane Dreamweaver) along with a simple Wordpress powered blog. I envisioned creating a food website that is both user powered (one can submit ...