All Questions

Filter by
Sorted by
Tagged with
0
votes
3answers
53 views

What would be a proper name for a custom post type created for static content?

I recently divided my posts into 3 types: Posts (blog entries) Pages (individual web pages) Static Content (content that goes to specific sections of a Page. For example, the Tagline). I'm not sure ...
1
vote
1answer
340 views

How to implement three forms(like contact form) in wordpress

I am working on wordpress site.I need here to implement a form that is manageable from admin mean that admin can add field as requirement.Right now I am using fast and secure form plugin by default ...
0
votes
2answers
2k views

Error when trying to logout

This problem was reported on the WP forum a month ago: Error when trying to logout. Whenever you logout, you get (Chrome): This webpage is not available. The webpage at http://my.site.com/...
7
votes
5answers
3k views

How do I delete all comments from a specific old blog post?

I'm cleaning up an old, controversial blog entry and I need to remove all the comments from the post. Surprisingly, I can't find a way to do this within the existing WordPress (3.0.4) UI. I can ...
48
votes
6answers
9k views

framework for plugin/theme options panel? [closed]

I found that the longest part of a plugin or theme development is creating the options panel, at least in my case. So i like to know what's your take on that. Do you use a ready made framework or ...
0
votes
1answer
2k views

Interesting Custom Post Type Slug with Taxonomy and Custom Field

I have created a custom post type called "events" and have also created a custom taxonomy which only shows up on this specific post type through which the admin must select an "event category" (terms)....
0
votes
2answers
445 views

Add Google Map By Address

Is there a plugin that allowed me to add google map embed code by only supplying address?
1
vote
2answers
177 views

Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area

Personally I really dislike how wordpress shows all the "popular terms" in different sizes on the taxonomy add/edit screen in the admin area. Does anyone know of a way to either remove this entire ...
1
vote
2answers
2k views

How to change the admin menu “Pages” to something else

When one creates a custom post type you have the ability to define various elements related to that post type which essentially allow you to define things such as the menu title, "add new post" text ...
0
votes
3answers
338 views

Custom Post Types - Titles as Taxonomies

I am developing a church media center using custom post types. I have a custom post type called 'Series' and a custom post type called 'Sermons'. Each Series must have an Title, Image, and ...
14
votes
2answers
7k views

Altering the appearance of custom taxonomy inputs

I'm working on a site that will make use of a few custom taxonomies (for custom post types). I've chosen to make some of the taxonomies hierarchical because the method of inputting values (checking ...
1
vote
1answer
95 views

Comment entry screen shows even though “Allow Comments” is unchecked

On my single.php and index.php I'm including the comment entry routine with this code... <?php if(get_option('allow_comments_posts')){comments_template();} ?> However, when the specific post ...
3
votes
3answers
8k views

Meta Boxes in Front End Post Submission Form

How can I add meta boxes to the front end post submission form? Similar to front end post submission that creates new posts, the form replies should go directly into the post meta boxes. Meta Boxes ...
2
votes
1answer
3k views

Creating a admin widget for /wp-admin/post.php?

Hello and thank you for helping in advance, I am trying to create a widget that lives inside the post.php page for when editing a post that exists (Not new-post.php, I need an ID). This custom ...
0
votes
2answers
340 views

Return User Meta text as links to post edit inside the user columns

I use this function to get some information to the user columns, function column_company( $defaults ) { $defaults['usercolumn-company'] = __('Company', 'user-column'); $defaults['usercolumn-...
0
votes
2answers
818 views

How to apply next/previous classes to LIs for pagination links?

I am using the WP-Paginate plug-in and need to apply a class to the containing LIs for the next/previous links. Can someone tell me how to do this? If there's a better/easier way to do this other than ...
0
votes
3answers
8k views

Free Wordpress theme for an intranet tutorial site [closed]

I work for a research oriented company and hence a lot of new facts and ways of going about work are found everyday. We want to consolidate all our understandings and categorize them as tutorials on ...
2
votes
3answers
3k views

Download/View Schema (or DTD) for XML Import

Where can I download the schema (or DTD) for the layout of the WordPress import/export file format?
12
votes
4answers
28k views

Change order of Custom Taxonomy List

By default WordPress orders custom taxonomies (as tags in this case) by alphabetical order not by the order they were entered in the tag box. Is anyone aware of a way to show the custom taxonomies in ...
0
votes
2answers
1k views

Rewriting the WP Sub Posts plugin to allow one custom post type to be a child of another custom post type

I'll preface this by saying that I'm ok with CSS and Wordpress, but very new to PHP. You all seem to be an enormously smart bunch, and I was wondering if someone could help me out? I am building a ...
0
votes
2answers
780 views

Exclude from the query posts with meta_key and meta_value

I use this function to exclude from the query posts that are 30 days old, function filter_where($where = '') { //posts in the last 30 days $where .= " AND post_date > '" . date('Y-m-d', ...
2
votes
2answers
2k views

Custom Post Type loops and Disqus

I've created a CPT for a site I'm working on at the moment called "campaigns". I've created a page which displays some content as well a custom loop which displays the most recent Campaign. ...
4
votes
3answers
1k views

Performance tips for a large user base [closed]

I’m preparing a site with many users (100.000+). Since the output depends on the current user’s relation to some custom post types and taxonomies a static cache won’t help much. Besides using a ...
1
vote
1answer
78 views

Various Wordpress Feeds for Same Blog

With http://blog.serverfault.com there are a couple of feed URLs: http://blog.serverfault.com/feed gives a normal feed with the full content of the post. http://blog.serverfault.com/rss gives only a ...
2
votes
2answers
290 views

How do I create multiple page while active a theme

I want create 5 pages when user active my theme. I found a code from wpcanyon which can create one page only. From this code how do I create 5 pages without repeat it 5 times. if (isset($_GET['...
1
vote
1answer
354 views

Move Post to different category if post_meta field is 0 or is 2 days old?

Is it possible to move a post to an another category if post_meta field is 0 ? I'm building a reverse order vote, every post have by default 10 votes and after a user vote, removes one vote by ...
1
vote
1answer
2k views

Display latest comments on page with pagination

Im trying to display latest comments from all the post on a page named comments, now im able to use <?php wp_list_comments('per_page=25', get_comments()) ?> and it gets all the comments but when ...
0
votes
1answer
3k views

Database structure cheatsheet

I am trying to create a custom search page for a site I developed, but I lack the information needed to create the custom sql queries. Are there any useful resources you guys might know of?
0
votes
1answer
230 views

images are broken

I have a piece of code, which is used to display images on every post from RSS FEEDS, the images will be fetched from yahoo images search, I will paste this code into my single.php file, so that it ...
59
votes
8answers
129k views

How to include PHP files in plugins the correct way

My problem is when on the main plugin file I include a PHP file something like this: include(WP_PLUGIN_URL . '/wordpress-group-buying/ipn/paypal-ipn.php'); // or include_once(WP_PLUGIN_URL . '/...
1
vote
1answer
185 views

Why does a variable work on the front page but return NULL on all other pages?

Hey all. For my theme, I have multiple sidebars. Each sidebar file has a variable of $sidebar_id assigned to it. So, for sidebar-1.php, $sidebar_id = 1, for sidebar-2.php, $sidebar_id = 2, and so on. ...
1
vote
1answer
918 views

Pagination Issues using WP_Paginate Plugin

So I have read more posts and articles about this issue than I care to admit and still nothing I can find works. Here is the issue - I can not get the pagination to advance and it shows all the same ...
0
votes
1answer
171 views

How Do I Link My Whole Featured Article Image?

I'm using the Front Slider plugin to display featured articles on my site. I've done some editing to the plugin to make it look the way I want. Somewhere along the way, I must have missed changing a ...
1
vote
2answers
1k views

How to retrieve “sticky” post outside the “loop”?

I need to display the "sticky" post in a section that is outside the "loop". Can someone tell me how to do this?
6
votes
2answers
5k views

How to add a “last” class to the last post in loop.php?

I need to add a "last" class to the last post that appears in loop.php. Can someone tell me how to accomplish this?
1
vote
2answers
980 views

Using custom mod_rewrite without breaking wordpress permalinks

I am using a theme that uses posts for multiple pages, and the blog posts goes in a category called "blog", I am using the permalinks setting "/%postname%", and the blog menu url is "/category/blog", ...
2
votes
2answers
3k views

Custom Post Type Statuses

I'm (still) working on a custom post type plugin for my workplace and came across an easier method of marking Visitors (my custom post type) as either "Here" (aka checked-in) or "Not Here" (not ...
5
votes
3answers
10k views

Custom search: by post data and post metadata?

I'm struggling with a WordPress search function. Maybe it will just help if someone can explain to me how the built in WordPress function works. But here's what I want: Two search fields, by name and ...
0
votes
4answers
374 views

Designing a custom archive.php inspired by the Autofocus theme

I've been trying to use the front page from the Autofocus theme in a different theme by copy pasting the code from index.php in the Autofocus theme to my new archive.php file. I have also copied the ...
1
vote
3answers
5k views

Link to a .po file in a child theme

i'm working in a twenty ten child theme, i want to change the load_theme_textdomain( 'twentyten', TEMPLATEPATH . '/languages' ); $locale = get_locale(); $locale_file = TEMPLATEPATH . "/languages/$...
0
votes
2answers
288 views

Static directories in a WordPress multisite network

I’m planning ahead for a class website, where students will have the choice to either build their pages from scratch, or to use a WordPress multisite install as a CMS. I would like their work to ...
1
vote
1answer
2k views

Create custom fields as image uploads [duplicate]

How can I define a custom field that works as an image upload? Should be fairly basic but I can't seem to find the solution. Let's say you create the post type 'book' and want to create 3 fields: ...
0
votes
3answers
330 views

What PNG Fix script do you recommend for IE6?

I saw this post on SO but the selected solution got a couple of really unflattering comments... I need to add a png fix script to my theme to handle issues with PNG support on IE6 predominantly. I ...
0
votes
1answer
1k views

How to default/force the user's display_name to their nickname?

I'm creating a simple directory from the user accounts and want to simplify it as much as possible for the users. I changed the label on nickname to Lastname, Firstname so that the users can be ...
0
votes
4answers
2k views

How can I run multiple unique WordPress sites off of one VPS

Is it possible to run multiple WordPress sites off of a single VPS? These sites would be completely separate as far as users and content, but I don't know if it's possible to have this for two ...
1
vote
3answers
4k views

Display list of tags as drop down menu or radio buttons in a meta box?

I would like to group posts of a custom post type based on tags, but the default functionality does not do for the project I am working on. I want the user to be able to select only one tag, not ...
12
votes
4answers
596 views

Is it necessary to bump a plug-in's version if you're just updating the “Tested up to” attribute?

I've got a number of plug-in's hosted on the wordpress.org svn server ... with the immenent release of 3.1, I would like to update the "Tested up to" meta data. There will be no functional changes to ...
0
votes
2answers
392 views

Displaying page image in the footer automatically

I've got the following problem: each page of the site has its own image which needs to be placed within the footer div for correct, static placement. However each image is different so I can't just ...
2
votes
1answer
863 views

How can I add a field to make link nofollow to the WordPress Link Inspector Window?

The default WordPress insert/edit link inspector window has options for URL, Target, Title and Class. I would like to add a checkbox labeled "Make link nofollow" that, when checked, adds rel="nofollow"...
2
votes
3answers
2k views

Style RSS Feed for a human?

I have a client who is asking to format the RSS feed so the XML doesn't look so ugly. I was thinking of a plugin or something to detect the user-agent and modify the feed template based on a regular ...

15 30 50 per page