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

learn more… | top users | synonyms (3)

0
votes
1answer
29 views

How to set a cookie for logged in users to md5($user->ID . “my_secret”)?

For all logged in visitors of my WordPress website I would like to set 2 cookies based on their user ID - so that I can use their user IDs in WordPress-unrelated PHP scripts at the same domain. In ...
1
vote
1answer
127 views

TinyMCE style_select - Append Classes

TL;DR Question How do I create a submenu for my classes with style_format? Can I append a submenu to the existing menu? With the new Styleselect in TinyMCE 4.0 there's a bunch of predefined ...
2
votes
1answer
36 views

Listbox return wrong value in WordPress 3.9

I have already created listbox for WordPress 3.8 but it's not working in new version WordPress 3.9. So I write the JavaScript code: (function() { var ICONS; var icon = function(id) { return ...
0
votes
1answer
48 views

Only User Upload image Http Error

I've search all over and tried a bunch of things. Basically, as admin I can use the featured image and upload with no issues. When i switch roles I cannot upload images, i get an HTTP error. I did ...
2
votes
0answers
97 views

Custom Post Type Alerts

I setup a custom post type and everything works right. The user can submit for review and I see it's pending in the admin area. How can I have WordPress send me an Email Notification whenever a user ...
0
votes
0answers
67 views

Page attributes missing

(I searched if anyone has same problem but found nothing. So if this is a duplicate question please let me know) My plan was to create a custome-page-template. So I found some tutorials and recognize ...
1
vote
1answer
91 views

Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1

I am attempting to install the image LazyLoad plugin with use on my Wordpress 3.3.1 blog. I have followed the basic instructions, so it is installed and activated on my development site. The ...
0
votes
1answer
60 views

Can't Auto-Update, but permissions are good?

Normally wordpress will auto-update fine without a fuss, but now throws the old ftp credentials form up in my grill. I haven't changed any permissions in between updates, even running chmod and chown ...
0
votes
2answers
95 views

Theme compression/ minifying or W3 Total Cache - which should I use?

I run a WP3.x Multisite setup. One of the themes I use on a site has options for minifying, using Gzip compression and using data URIs for images (not sure what the latter function is or does). In the ...
0
votes
1answer
567 views

How does one programmatically manage posts from a external php script?

How does one create a post, assign it to a category, add tags to it and set the featured image from a PHP script that exists somewhere on disk (say /usr/local/process.php) and isn't part of the ...
0
votes
2answers
2k views

How to have content scroll over background

I'm attempting to modify the latest version of the mystique theme, and would like to have it so when I select a background, the page will lock that background into page, but have the content scroll ...
2
votes
1answer
4k views

How wp_ajax_nopriv since Wordpress 3.1

I have a question. When I was on Wordpress 3.0, my ajax function worked. It return good things when I'm log in and log out. add_action('wp_ajax_my_action', 'my_action_callback'); ...
1
vote
2answers
598 views

How to disable drafts?

Using Wordpress 3.1 is it possible to completely disable the drafts functionality or at least remove the "Save Draft" button from the post screen?
1
vote
1answer
560 views

Limiting allowed html elements/strip harmful scripts from editor

How can I limit html elements allowed in the tinymce editor in Wordpress 3.1 and ensure harmful scripts have been removed (script/embed tags, etc)
1
vote
1answer
4k views

Nginx WordPress Multisite Rewrite rules

I am having trouble with my rewrite rules with my new nginx install. If I access the image manually like here, ...
2
votes
1answer
954 views

media_handle_upload weird thing

I am using a front end script to upload images , all works fine but recently i noticed the uploaded images are not saved in proper directory. My settings are to Organize my uploads into month- and ...
1
vote
1answer
144 views

Custom query with DECIMAL(5,2)

I want to know if there is a way to DECIMAL (5,2) instead of DECIMAL in meta_query
1
vote
1answer
348 views

Post thumbnails not working in my new install of WP 3.1 with Twenty Ten theme

I am working in a new project, and I just realized that in the page/post edit pages, I don´t have the option to set a featured image/ post thumbnail. I have checked and Twenty Ten has thumbnails ...
1
vote
1answer
3k views

Displaying a checkbox array from advanced custom field

I'm using the advanced custom field plugin for wordpress and wondering if I'm able to do the following: If checkbox ticked = web and it equals the page title echo this. Does anyone know what code to ...
1
vote
1answer
386 views

Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade

I had a theme in 3.0b2 that was registering custom post types and displaying them in the admin menu just fine -- after upgrading to 3.1.2, they no longer appear in the sidebar admin menu (although ...
1
vote
1answer
372 views

How to set a single theme directory on a multisite blog?

Some days ago I've upgraded my single-site WP installation to support a multi-site WP website. So I've created two new sites and set the same theme I was using on my single WP blog before. But ...
4
votes
5answers
2k views

get_pages() not ordering as it should

I'm using get_pages() function to get all subpages from a page like this: $childrens = get_pages(array('child_of' => 7, 'sort_column' => 'post_date', ...
3
votes
4answers
792 views

ensure user can only be logged in on one computer at a time?

how can i make sure a user can only be logged in on one computer at a time? I want to make a wordpress site that could potentially have paid accounts for content in the future. Is there anything built ...
1
vote
2answers
582 views

Creating an Archive using a Custom Taxonomy

I recently adjusted the twentyten theme to display archives in a three column grid. In doing so, it seems that the archive has lost the ability to display posts from the specified taxonomy. For ...
0
votes
1answer
668 views

How to fix this PHP warning in WP-Admin after upgrading to 3.1.2?

I just upgraded from 3.0 to 3.1.2 and in the comments column under Posts in the WP Admin, this error keeps appearing for every row: Warning: number_format() expects parameter 1 to be double, ...
1
vote
1answer
2k views

WP 3.1 meta_query for multiple custom field values

I'm trying to use some conditional logic to compare custom fields in my query, but a bit stuck. How would I get all posts with ReleasedProject AND PermanentArtist set to 'true'? Here's what I have so ...
0
votes
1answer
384 views

How to fix these PHP Warnings with the “Feed JSON” plug-in?

I'm getting the following PHP warnings when using the WordPress plug-in "Feed JSON". Can someone tell me how to fix them? Warning: Invalid argument supplied for foreach() in ...
1
vote
2answers
635 views

Best way to implement a thumbnail-based gallery in Wordpress?

I need to create a gallery like this where clicking on the thumbnails loads a new image and caption in the area above the thumbnails: I always prefer to not use plugins, but in this case I think I ...
0
votes
1answer
694 views

What would causes search to return incorrect results?

Recently our site began no longer returning correct search results. When searching it returns one result that's unrelated to the inquiry. I've turned off all plugins and reverted back to a day when I ...
0
votes
1answer
473 views

Wordpress 3.1's admin bar disappears only leaving its 28 px padding (in ubuntu)!

At the begining, I thought there was an issue with my HTML or CSS files. But then I realized that other people using Wordpress 3.1 had the same problem (check out this link). The admin bar disappears ...
0
votes
1answer
168 views

Customizing Titles on the Fly with Code

I hope this question is easy. I want to customize my theme so that the post titles are created on the fly with code. For example, I might have a post where a price changes on the page 4 times a week, ...
0
votes
1answer
412 views

Cannot upload to S3 using CDN Sync Tool

I'm trying to synchronise my files with the Amazon S3 server for distribution using CloudFront, as the CDN. I am currently having troubles syncing the files though. I've verified that the details ...
0
votes
1answer
509 views

Wordpress 3.1.2 Bug: add_theme_support() and video post format registering twice

Ive been experiencing a problem with the new WordPress 3.1.2 update. When i use add_theme_support(); and register an array of post formats, it registers all of them fine, but when it comes to the ...
0
votes
3answers
125 views

Odd functions.php issue in Wordpress

I'm using More Fields plugin, and when I use my functions.php to embed the custom field, I get an odd issue. The field value is followed by a "1" I use this code: //Address add_action( ...
4
votes
2answers
3k views

Can upload doc and pdf but not ppt - not permitted for security reasons

"Insert search engine here" was pretty useless for this one - I've had a look through wp-includes/functions.php, wp-admin/includes/file.php etc. but not found a reason for the behaviour I'm getting. ...
2
votes
1answer
930 views

wp-admin slow in multisite

Running Wordpress 3.1.2 (newly updated, installed as 3.0 about a year ago) with subdomain multisite & using the Sunrise domain mapping plugin. The frontend is fast, the backend (wp-admin) is very ...
0
votes
4answers
3k views

Displaying multiple post types on home page

I've read several examples of how to do this but I still can't get it to work - each time I use get_posts() it seems to only keep and display the first set of results. loop.php function ...
2
votes
2answers
284 views

user-new.php less detailed after WP3.1; how to revert?

I updated WP to 3.1, and one issue my organization (which uses WP in Network Mode) is having is the Add New User page in wp-admin is now much less detailed -- before it was more like profile.php, with ...
0
votes
1answer
2k views

Use wp_list_categories to list parent categories from actual term

I currently have a taxonomy called wpsc_product_category. Under that taxonomy I have several terms used as sub-categories, and finally each sub-category has a number of products. I'm trying to use ...
3
votes
2answers
3k views

Automatic image renaming based on title

Is there a plugin or a "hack" that can help me do this? I have spent hours try to figure this out so I would greatly appreciate nay help. I have WP 3.1 running php5 Thanks! eg.: ...
0
votes
1answer
376 views

Help on conditional statement to accompany wp_insert_post function please?

I'm trying to programatically insert posts from an external MySQL database as posts on my wordpress blog, I've got something that works, but there is no way of wordpress checking to see if the post ...
2
votes
3answers
2k views

Preview posts returns 404

It's a large Wordpress multisite installation, using subfolders for the individual blogs, not domains. We are running version 3.1, and preview posts doesn't work. When I press preview I get the ...
0
votes
1answer
263 views

wordpress is automatically linking plaintext email addresses

Hey guys, I'm using the latest version of wordpress (3.1.1). Is it just me, or is wordpress now automatically linking plain-text email addresses? I type jdoe@email.com as a comment and it shows up as ...
2
votes
1answer
3k views

Why are images not displaying?

Server: IIS 6 WordPress version 3.1.1 Multisite using SubFolders I'm able to upload images to the server, but thumbnails and full size images do not display. If I try to edit the image, the preview ...
0
votes
1answer
440 views

Why images are disappearing on WordPress web site?

I had this problem on 2 web sites (different versions of WP, different web hosts, different plugins), once in a while some images are disappearing from media library. Is it plugin-related issue, ...
0
votes
1answer
1k views

the_post_thumbnail() returns nothing even though has_post_thumbnail() returns true

has_post_thumbnail seems to be working fine but the_post_thumbnail returns nothing. here is my code: if ($favorite_post_ids): foreach ($favorite_post_ids as $post_id) { $p = ...
1
vote
1answer
199 views

Is there a way to alter the order in which the plugins appear in the page?

I currently have the following plugins activated in my wordpress installation: row 1: Outbrain row 2: Subscribe via feedburner RSS/email row 3: Topsy tweet widget, FB like widget, WP-Email a ...
1
vote
3answers
622 views

Custom Field Template seriously messed up in WP 3.1.1

I'm having a serious problem with the plugin Custom Field Template in which applying a CFT based on the template name is not working (it's as if the Ajax used to load the template is breaking). I've ...
0
votes
2answers
1k views

Redirect to another page using contact form 7?

I'm using CF7 to send some information to my email and everything's working fine, but I need to redirect the users to a different page after the email has been sent, by default the forms are sent to ...
3
votes
3answers
1k views

Integrating plugins in themes

I could not find a thread discussing this, so starting this one. I am currently working on a rather elaborate theme for 3.1+, and by elaborate I mean that in addition to styling and regular front-end ...