The 3.0 tag is for questions that are specific to the 3.0 branch of WordPress.
0
votes
1answer
24 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
1answer
34 views
WordPress templating system for custom plugins
I'm creating a custom plugin which needs to display HTML with dynamically updated values.
To illustrate, here's what I want to achieve:
<h1><?php print $title; ?></h1>
...
1
vote
1answer
451 views
How can I implement faceted search with Wordpress 3.x?
I would like to allow visitors to a site to search for posts based on various attributes (categories, tags, custom fields).
I have tried using Solr, but this doesn't appear to work.
I tried using ...
0
votes
2answers
67 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
0answers
66 views
Define a front end URL in a custom plugin [closed]
I want to avoid the shortcode approach where admin has to create a page and then use my shortcode to turn a page into what my plugin needs.
Is it possible to define a front end URL from a custom ...
0
votes
1answer
295 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
579 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
2k 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
1answer
416 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?
0
votes
1answer
387 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
3k 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
643 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
110 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
275 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
2k 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
322 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
270 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
1k 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
541 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
468 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
487 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
1k 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
296 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
503 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
504 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
419 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
116 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
347 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
451 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
123 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( ...
3
votes
2answers
2k 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
688 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
2k 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
261 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
1k 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
1k 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
353 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
1k 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
212 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
2k 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
194 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
715 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
142 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
565 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
838 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
950 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 ...
2
votes
1answer
818 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
513 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
458 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
294 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:
...