All Questions

Filter by
Sorted by
Tagged with
2
votes
3answers
2k views

query recent posts from several categories

i'd like to list my 10 most recent posts but from certain categories only - anyone can tell me how to do this? thanks
2
votes
2answers
7k views

Creating Custom wp_dropdown_categories

I have been working for many days on this. I want to assigned category to author. I have googled, found some tips and plugins but doesn't work with Wordpress 3.1. I just come up with my own idea. I ...
0
votes
2answers
2k views

Custom Fields to Category edit page, then displaying them in a template correctly

Seem to be having a few issues with this project lately so sorry for spamming questions! I needed to give the category edit page in the admin a few additional fields to allow my client to manage them ...
2
votes
1answer
2k views

get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category

Thanks to @MikeSchinkel I have the following code: $term = get_query_var('term'); $brand = get_term_by('slug',$term,'brands'); // This here just to illustrate $categories = ...
2
votes
2answers
2k views

My WordPress site always displays a cached version of its homepage

First of all, sorry if I'm making a mistake. I already asked this on the ServerFault forum, but got no answers at the moment and I thought it would be a good idea to ask the question here, considering ...
2
votes
1answer
35 views

Are there plugins that interfere with the admin part of Rss widget?

I've been using the Rss widget in my site, and suddenly a few days ago, the admin part stopped responding. That is, I'd change the link to the Rss and it wouldn't get saved (and therefore would show ...
2
votes
1answer
223 views

Is it possible to post with Word 2007 via XML-RPC and limit categories by user?

I'm working on a project for a school district I work at where we want to use Word Press to have employees from all of the buildings post announcements and press releases via Word 2007. We will then ...
0
votes
2answers
3k views

Is it possible to customize the layout of Gallery Shortcode?

Is it possible to customize how my gallery shortcode works. eg. have a div for showing the image then a list of thumbnails at the bottom or side? Or perhaps I can create a custom template file to ...
1
vote
1answer
2k views

Problem creating an edit link for a custom post type

In my last question, I asked How to build a post and comment editing form in a page?. But in order to edit the custom post type (called Question) I have to reference the edit page and the ID of the ...
1
vote
1answer
3k views

two tinyMCE editors in the same page

I've used this method to enter the first editor: on functions.php: function add_admin_theme_styles() { wp_enqueue_style('thickbox'); } add_action('admin_print_styles', '...
0
votes
3answers
1k views

Popup form when entering website asking for e-mail address? [closed]

I'm looking for a plugin or some sort of script where a simple pop-up comes up and asks for a visitors e-mail for a newsletter. The client is stressing it be a pop-up of some sort. Any ideas? Thanks!
3
votes
3answers
3k views

How to 301 private posts rather than 404?

How do I 301 redirect private pages, rather than 404 them? If a post is private, WordPress filters it out in the SQL query, so there are no $post variables to work with. I'd like for this code to ...
15
votes
4answers
44k views

How can I get page slug

How can I get the slug of a page or post?
0
votes
2answers
124 views

Disable creation of default content during installation

How can I disable or at least modify the default content inserted on a fresh wordpress install? For example to change the category from Uncategorised to News.
3
votes
1answer
372 views

Custom WordPress Installation

I am wondering whether there is an updated version of the methods described in the post below for customising the WordPress install. http://wpbits.wordpress.com/2007/08/10/automating-wordpress-...
0
votes
3answers
3k views

Exclude a category name using cat name

I'm trying to exclude a category because I have a post that i have in multiple post. How do I like for example I have a post in the categories lastest news and pictures but I want to exclude latest ...
4
votes
3answers
3k 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 ...
4
votes
4answers
2k views

Large Uploads in WordPress

I'm working with a church that uses WordPress to manage their website and podcast. So far, they have a 200-step process every week for publishing the podcast (I exaggerate, but it is a huge step-by-...
1
vote
3answers
6k views

mysql query two database tables, users and usermeta and sort by custom meta int value

I am trying to get an array of site users sorted by a custom meta value (an int). I can query the users just fine and get them back to use in a foreach. I currently have the query results come back ...
2
votes
3answers
108 views

Is there a neater way to do this?

So, on most of my sites I tend to create one admin user for myself, and one or more other users for the client. Inevitably I always want to simplify the interface for the client user/s, and I've found ...
1
vote
1answer
839 views

Uploaded images not displaying in network site

I have a network of sites and have recently added another site. When I upload an image it uploads to the correct directory but is showing a broken image link when viewed within the library or on the ...
6
votes
5answers
9k views

js error on post editing page

I'm getting a Javascript error on the wp-admin/post.php page which prevents me from adding tags/editing the post's link.. pretty much everything with JS... anyway, the error is: > Error: d....
1
vote
1answer
2k views

How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize

problem: Only some blogs did not show the dashboard (but did show all other admin pages). I have left this problem for some time (months) since Googling did not bring up anything relevant and I was ...
9
votes
1answer
21k views

Upload post thumbnail from the front end

We would like users to be able to upload the post thumbnail when editing posts. How would this be done. I would imagine it would make use of the ajax functions of wordpress. Any ideas, Marvellous
0
votes
3answers
1k views

Problems character encoding for pages in multiple languages

I have a site that is in English but has a lot of German and Spanish names in it. Originally I was using UTF8, but that gave me problems with some of the German special characters. So I switched to: ...
1
vote
3answers
209 views

Create a network of sites

I understand that WP3 integrated MU-WP inside the core, so now is "pretty easy" create a network of sites. However, I have some questions about this, because at my work we want to create a network, ...
0
votes
1answer
234 views

How to build a post and comment editing form in a page?

This plugin enables you to submit a custom post type called 'Questions' using a form that can be embeded in a page via shortcode. Is there a way of accomplishing the same, but this time, building a ...
0
votes
2answers
384 views

What is a subpage in WordPress?

Can someone explain what a subpage is in wordpress? Does it look any different from a regular page? What is its purpose and what does it do? Thank you
0
votes
1answer
495 views

Custom Shortcode Broken in Wordpress 3.1

A recent upgrade to wordpress 3.1 broke a custom plugin written to make use of shortcode in order to generate easy embed html for brightcove videos. Can anyone see what is happening in the following ...
0
votes
1answer
2k views

Adding tinymce to Custom Field boxes on Category edit page

I've managed to add the required custom fields to my category edit page (the code is below). All I'd like to do it have the textareas #Category_Extras_Features and #Category_Extras_Applications to ...
0
votes
1answer
3k views

Showing only posts from the current user who is logged in?

I'm using the following code to get ONLY posts with the post_type question and the current user who is logged in. But if no use is logged in all the posts are displayed anyways. Any suggestions? ...
1
vote
3answers
1k views

Shortcode doesn't work if I directly paste its function in a template file?

This is a shortcode to add a question form in the Question and Answer Forum plugin for Wordpress: [question_form width=\'x\' bordercolor=\'x\' style=\'x\']question form title[/question_form] This ...
0
votes
3answers
4k views

Word press replacing unicode characters with “?”s

I've noticed that Wordpress has recently started replacing any unicode characters I enter with question marks. There are a couple of people who've had this issue on the word press forums but no one ...
3
votes
1answer
3k views

custom tabs in media uploader

I've managed to add a custom tab to the media uploader, but for some reason it doesn't come with the same layout - it doesn't load the media-uploader-header that contain all the other tabs: ...
0
votes
3answers
2k views

Automatically added brs and paragraphs?

Here's my very simple shortcode: function box_shortcode( $atts, $content = null ) { extract( shortcode_atts( array( 'width' => 'auto', 'height' => 'auto', ...
6
votes
2answers
752 views

Do we still need to include a “if (have_posts())” in templates?

I include this logic in my template all the time if ( have_posts() ): //show content else: //show content not found endif; But recently I began to doubt its necessity, WordPress will turn to 404....
0
votes
2answers
1k views

Multiple loops with / without sticky posts and different post limits

I am having trouble with multiple loops and sticky posts in wordpress. The first loop I just want all the sticky posts. <?php query_posts(array('post__in'=>get_option('sticky_posts'), 'cat' =&...
2
votes
1answer
948 views

I need to have two 1-5 star rating fields, only editable by admins. Which plugin should I use?

I need the following: two different 1-5 star rating fields, for one of my custom content types. The ratigs will be stablished by the admin, so I dont need a real voting system. The fields are more ...
2
votes
2answers
282 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
236 views

Scripts external to WordPress cause 404 errors

I installed WordPress in the root of my web site. Everything went well. But now, other scripts and files, totally unrelated to WordPress, in other folders, cause WordPress 404 errors. For instance, I ...
5
votes
3answers
5k views

Infinite scroll / lazy loading with NextGen Gallery [closed]

I'm working on a project for a friend that involves a massive page with 3,000+ photos. See: http://www.thepurplepixie.com/projects/purple-pixies-people-project/ Currently, I have pagination set to 50 ...
2
votes
1answer
1k views

Can I apply a WP theme to a specific custom page template?

One section of my website is going to be completely different visually than the rest of the pages, is there a way to apply a WP Theme to specific page templates ?
0
votes
1answer
454 views

Is there a plugin that let you edit Posts and Comments in a front-end page?

Basically, I need a plugin that let you edit posts and comments the same way you do in StackExchange sites (questions and replies)? Because by default Wordpress sends you to the back-end.
2
votes
2answers
3k views

template_redirect not working, apparently for no reason

Well I made a plugin that uses template_redirect for the custom post type squeezepages and it works all fine and dandy, but I copied the exact same code, put it in a new plugin, activated it (with a ...
0
votes
3answers
314 views

Sidebar Stuck To First Post, Not Top Of Page

I am having an odd issue where my sidebar is stuck aligned with the first post on my page chronologically instead of appearing at the top of my page ie. I have two posts and the second post(being the ...
1
vote
2answers
2k views

How to allow visitors to enter custom post type?

I wanted to use a custom post type to create a "share your story" type of feature. People would fill in the text boxes and "share their story". This would then be automatically posted on to a stories ...
1
vote
1answer
593 views

How can I create podcast posts automatically from the contents of a particular directory?

All of the Wordpress Podcasting plugins I have seen allow you to easily insert a podcast into a post. Is there any way to automate the creation of the post (and the podcast feed) by simply uploading ...
0
votes
1answer
108 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
113 views

What is theme-editor.tmp?

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

How to work with Syntax Highlighter Evolved?

I have installed Syntax Highlighter Evolved to simplify code snippets writing and highlighting. I know that it is quite popular and used by many bloggers, so I must be doing something wrong because it ...

15 30 50 per page